December 10, 2009
RHEL5 vs. MySQL
To date we are keeping the entire (d)oodle infrastructure in VM space. I plan on running this way for its entirety if I can. This includes app-servers, database servers, and TrafficManagers.
Running dedicated MySQL in the 'cloud' environment has its own interesting bumps and one of them is finding out what the memory is actually doing. When running MySQL with the options that we have selected the OS needs to give mysql what it wants when it wants it. There is a smallish print line in the MySQL manual which goes something like this..
Wrestle OS to keep MySQL out of swap space..This is very true of RHEL5.
I'm finally getting somewhere with giving MySQL actual large chunks of dedicated memory. RHEL5 has a very low setting for dealing with hugepages and the likes (regardless of i686 vs x86_64). Adjusting these settings has opened up more memory for MySQL to grab and hold onto.
I'm not finished polishing off the db servers themselves in this regard but this next week will be a telling week for the current setup.
Posted by Kevin Foote in work on December 10, 2009

