Thursday, December 29, 2005
linux hard disk performance
To squeeze the most performance out of the disk I/O subsystem, make sure
that DMA and 32-bit transfers are enabled. This can be done via the hdparm
utility, as follows (all commands are examples only):
Verify that DMA is enabled:
hdparm d /dev/hda
If DMS is not enabled, enable it by issuing the following command:
hdparm dl /dev/hda
Verify that 32-bit transfers are enabled:
hdparm c /dev/hda
If 32-bit transfers are not enabled, enable them by issuing the following
command:
hdparm cl /dev/hda
Verify the effectiveness of the options by running simple disk read tests
as follows:
hdparm Tt /dev/hda