hdparm
to configure your disk's interface! The
following should be quite good hdparm
options for MySQL (and
probably many other applications):
hdparm -m 16 -d 1Note that the performance/reliability when using the above depends on your hardware, so we strongly suggest that you test your system thoroughly after using
hdparm
! Please consult the hdparm
man page for more information! If hdparm
is not used wisely,
filesystem corruption may result. Backup everything before experimenting!
-o async
option to set the filesystem to be updated asynchronously. If your computer is
reasonably stable, this should give you more performance without sacrificing
too much reliability. (This flag is on by default on Linux.)
-o noatime
option.
Posted by Adam Nelson on Wednesday March 26 2003, @2:34pm | [Delete] [Edit] |
hdparm may not be sensible for scsi/raid configurations.