NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Re: MySQL on a ramdisk (Score:1)
tl;dr desktop usage was faster, compile time was same
SSD (Score:1)
A lot of SSDs don't perform as well as people think they should because file systems haven't caught up with them yet. They are still trying to minimize seeks so they'll do extra processing that's unnecessary on SSDs.
How big is your working copy (the majority of your database that you use at a time, with indexes, etc)? It might make more sense just to buy a ton of RAM if you can fit most of your working copy in memory.
Re: (Score:1)
A good current gen SSD should provide a pretty reasonable boost in performance for a database. The most interesting, and my favorite, number I got out of benchmarking my Intel X25-M is that it can pull over 4000 seeks per second on my laptop. The cheap 4 disk RAID 10 in my web server only pulls a bit over 300.
The thing slowing the DB tests down isn't just the disks. Its the ACID properties of the database. I'm sure MySQL is calling sync quite a bit. If it didn't, the OS disk caching would work nearly
SSD != RAM (Score:2)
MEMORY storage engine (Score:1)
Re: (Score:2)
The MEMORY storage engine does not support transactions [mysql.com], thus making it unsuitable for our tests. And I doubt tweaking our query cache on the test databases will do much good as, at the start of every test, we're flushing the data and loading a new set of fixtures.
TMPFS on Linux (Score:1)
Steal from the otaku (Score:2)
http://www.ramsan.com/success/ccpgames.htm [ramsan.com]
The thing you want is called a RAMSAN, and I know this because I've read a ton of developer reports from EVE Online.
Those guys have a MASSIVE performance sensitivity on their database, so they run this gigantic RAMSAN-backed database.
If you can reach serious performance savings or developer time savings (and so can justify the cost) you probably want something like that.
Of course, you may not need the size of the gear they use, but in principle you want the same thi