I may have fixed the problem. For my on board SATA controller, I changed the mode from IDE to AHCI. It seems the hard drive light is still locking on *something*, but it does not seem to be causing the responsiveness problem I initially reported. Also, my system latency seems to have been DRASTICALLY reduced. hdparm is reporting significantly better cached reads, but buffered reads are about the same. I also used cyclictest to monitor my system latency, and it looks extremely good. Here are the commands I ran:
Code:
aptitude -y install rt-tests
chrt -f 99 cyclictest -t1 -p 80 -i 10000 -n -l 10000
hdparm -Tt /dev/sda
And here's the relevant output:
Code:
meth:~ # chrt -f 99 cyclictest -t1 -p 80 -i 10000 -n -l 100000
policy: fifo: loadavg: 0.82 1.03 0.99 1/424 3523
T: 0 ( 3523) P:80 I:10000 C: 33116 Min: -212 Act: -109 Avg: -32 Max: 2005
^Cmeth:~ # hdparm -Tt /dev/sda
/dev/sda:
Timing cached reads: 14096 MB in 2.00 seconds = 7056.13 MB/sec
Timing buffered disk reads: 332 MB in 3.02 seconds = 110.10 MB/sec
I will continue to monitor, make a few more reboots, and report this as solved when confirmed.
Bookmarks