Performance tune the LinkStation hard drive with Hdparm
From NAS-Central Buffalo - The Linkstation Wiki
(Difference between revisions)
| Line 1: | Line 1: | ||
| - | <center><font color=red>''Originally by frontalot from linkstationwiki.org''</font></center> | + | {{Template:Articles}}<center><font color=red>''Originally by frontalot from linkstationwiki.org''</font></center> |
1. Install hdparm if you haven't already: | 1. Install hdparm if you haven't already: | ||
Revision as of 21:58, 20 July 2006
1. Install hdparm if you haven't already:
apt-get install hdparm
2. Open up the hdparm configuration file and modify the performance settings:
pico /etc/hdparm.conf
3. Change the default ROOTFS settings to:
ROOTFS = /dev/hda
4. Add the following information at the end of hdparm.conf:
command_line {
hdparm -q[1] -m16[2] -c1[3] -u1[4] -S250[5] /dev/hda
}
5. Test your old performance settings:
hdparm -tT /dev/hda
6. Reboot your LinkStation and retest your performance settings. Tada!
7. These particular settings may not always improve performance - try testing different settings.
Notes
- ↑ q tells hdparm to change the settings quietly.
- ↑ m16 sets the number of sectors to use for IDE block mode (multicount).
- ↑ c1 sets I/O support to 32-bit (from 16-bit).
- ↑ u1 enables unmasking of interrupts.
- ↑ S250 sets a spindown time of 5 hours.

