Tag Archives: performance

query cache tuning

For anyone, who has questions about MySQL query cache tuning, try this tuning assistant: http://dom.as/tech/query-cache-tuner/

Posted in mysql | Tagged , , , | 13 Comments

On file system benchmarks

I see this benchmark being quoted in multiple places, and there I see stuff like: When carrying out more database benchmarking, but this time with PostgreSQL, XFS and Btrfs were too slow to even complete this test, even when it … Continue reading

Posted in mysql | Tagged , , , ,

Linux 2.6.29

2.6.29 was released. I don’t usually write about linux kernel releases, thats what Slashdot is for :), but this one introduces write barriers in LVM, as well as ext4 with write barriers enabled by default. If you run this kernel … Continue reading

Posted in mysql | Tagged , , | 2 Comments

stupid innodb tricks

When it comes to extreme tuning, this is how I got +5% performance in one of my tests on 8-cpu machine (contended at mtr_commit()): gdb -p $(pidof mysqld) -ex “set srv_spin_wait_delay=50″ -batch P.S. was probably worth posting this just to … Continue reading

Posted in mysql | Tagged , , , | 4 Comments

Eyecandy mutexes!

In my quest of making MySQL usable, I managed to hit contention that wasn’t spotted by performance masters before. Meet most useless mutex ever (this is actual contention event, not just a hold): Count nsec Lock 1451 511364 mysqld`ut_list_mutex nsec … Continue reading

Posted in mysql | Tagged , , | 3 Comments

plockstat fail!

Solaris has this beautiful tool ‘plockstat’ that can report application lock contention and hold events (hold events turn into contention events at parallelism.. ;-) It is just a frontend to a set of dtrace rules, that monitor mutexes and rwlocks. … Continue reading

Posted in mysql | Tagged , , , | 3 Comments

ZFS and MySQL … not yet

Today I attended kick-ass ZFS talk (3 hours of incredibly detailed material presented by someone who knows the stuff and knows how to talk) at CEC (Sun internal training event/conference), so now I know way more about ZFS than I … Continue reading

Posted in mysql | Tagged , , , , , | 8 Comments

On SSDs, rotations and I/O

Every time anyone mentions SSDs, I have a feeling of futility and being useless in near future. I have spent way too much time to work around limitations of rotational media, and understand the implications of whole vertical data stack … Continue reading

Posted in mysql | Tagged , , , , | 10 Comments

On XFS write barriers

I’m very naive, when I have to trust software. I just can’t believe a filesystem may have a tunable that makes it 20x faster (or rather, doesn’t make it 20x slower). I expect it to work out of the box. … Continue reading

Posted in mysql | Tagged , ,

Progress in percents: 0 1 2 3 …

Well, servers usually don’t crash ( our English Wikipedia master is running for 800 days, on white-box hardware, RAID0, 4.0 ;-), but when they do (like some kernel bugs on our big big boxes), one of most painful experiences is … Continue reading

Posted in mysql | Tagged , , , | 3 Comments