Enable DMA on disk - against slow disk speed

We had a server performing pretty poorly and we went to investigate.
It seemed the disk speed was ~ 2.15 MB / sec, which isn't good.

First check if DMA is enabled on the disk with following command:

# hdparm -d /dev/hda
You should get the following output:

/dev/hda:
using_dma    =  0 (off)
Now let's enable DMA for the disk:

# hdparm -d 1 /dev/hda

You will see that DMA is enabled now and the disk speeds are much faster!

 

Remark: this has been tested with older ATA disks and is no longer relevant for newer harddisks.
  • 54 Users Found This Useful
Was this answer helpful?

Related Articles

Block IP from your server via iptables

You can block an IP (12.12.12.12) from your server with the following command: # iptables -I...

Check port used in linux

If you want to see which process is using which port (in this case, port 53), you can do it with...

Mass change in file

If you have switched to a new service provider and all DNS records need to be adjusted to the new...

How to import and export a mysql database via ssh

A mysql database can be easily imported and exported via SSH:1) You can export a MYSQL database...

How do I rename a database in phpMyAdmin?

You can rename a database easily via phpMyAdmin.We'll show you how it's done:Step 1. Login to...