I've found MySQL fairly slow on EC2 and I am sure it is disk speed. My EC2 install is a test environment so I don't need to keep the data if a block should fail which I think allows me to use XFS.
So....What is the fastest filesystem to use under Linux on EC2 for MySQL?
EDIT: I am using EBS, also I am looking to see if anyone has experience outside of EXT3 as that is what I already find slow
ext2 will be the fastest (and cheapest) filesystem. No need for the journaling of ext3, since the database already takes care of that on its own.
Also, what the user "someone" said is correct. The drive will be faster if you initialize it first. However, if you plan to take snapshots, keep in mind that initializing, even with 0s, will make the snapshots bigger (and therefore more expensive), because now all the blocks have changed.
EXT3 will work just fine, but you may want to use EBS volumes instead of the space that comes with your EC2 instance, as that may be faster.
Edit: You can create a software RAID on EBS to boost performance (I'd recommend RAID-10) by using
mdadm
.I read somewhere in a powerpoint slide evaluating Amazon EC2 for enterprise, that database EBS was slow and writing all 1's first before using sped it up. Hope that helps.
EDIT: It may not have been EBS. Here's the slide: http://www.slideshare.net/cmercier/exploring-amazon-ec2-for-scaleout-applications-366335