My email to Western Digital:
I have a Linux box which I use for MythTV, SqueezeCenter, as a file server etc. The primary drive is a WD5000AAKS and performs quite well, so I use a large partition on it for the MythTV recordings. Later I added this WD1000FYPS for longer-term file storage, and I've always been dissatisfied with the performance. It's strange, because hdparm reports good results:
[neutron][01:34:48 PM] hdparm -tT /dev/sda
/dev/sda: Timing cached reads: 1974 MB in 2.00 seconds = 986.64 MB/sec Timing buffered disk reads: 198 MB in 3.01 seconds = 65.70 MB/sec
[neutron][01:49:00 PM] hdparm -tT /dev/sdb
/dev/sdb: Timing cached reads: 2160 MB in 2.00 seconds = 1080.53 MB/sec Timing buffered disk reads: 224 MB in 3.02 seconds = 74.22 MB/sec
(it should be even faster than the 500 gig drive) but it seems like in normal usage, the seek time is really bad or something. The drive can go for several minutes at a time making rhythmic seek noises, much louder than the other one. While it is doing this, any files stored on that drive are not very accessible - even doing "ls" can take a very long time, as much as half a minute or so. I have not had any data loss though. I don't know what to blame the performance on, but I would bet that if I get a different model of terabyte drive and transfer everything to it, I will see a huge difference in performance. I just wondered if there are some known problems along these lines - something caused by the RAID optimization, or the "green" aspects or something that can be corrected with a firmware update, or maybe it's an actual defect (since I'm reading a lot of reviews about problems with this one, people losing all their data after a day, or a month). If I can still trust this drive not to lose data, maybe I just have to put it in a box and use it for an external backup drive, because it can transfer data reasonably fast as long as there's not too much seeking involved.
Then I tried Bonnie++... now it's very obvious there is a performance difference! On sdb it was crunching for several minutes, on sda for mere seconds.
Version 1.93c | Sequential Output | Sequential Input | Random Seeks | Sequential Create | Random Create | |||||||||||||||||||||||
Concurrency | Size | Per Char | Block | Rewrite | Per Char | Block | Num Files | Create | Read | Delete | Create | Read | Delete | |||||||||||||||
K/sec | % CPU | K/sec | % CPU | K/sec | % CPU | K/sec | % CPU | K/sec | % CPU | /sec | % CPU | /sec | % CPU | /sec | % CPU | /sec | % CPU | /sec | % CPU | /sec | % CPU | /sec | % CPU | |||||
neutron</TD> | 1</TD> | 6G</TD> | 274</TD> | 98</TD> | 51301</TD> | 18</TD> | 26301</TD> | 7</TD> | 1463</TD> | 96</TD> | 59167</TD> | 9</TD> | 231.7</TD> | 3</TD> | 16</TD> | 15594</TD> | 74</TD> | +++++</TD> | +++</TD> | 18589</TD> | 98</TD> | 18627</TD> | 87</TD> | +++++</TD> | +++</TD> | 16965</TD> | 95</TD></TR> | |
neutron</TD> | Latency</TD> | 57729us</TD> | 4414ms</TD> | 1220ms</TD> | 51215us</TD> | 214ms</TD> | 282ms</TD> | Latency</TD> | 17607us</TD> | 10673us</TD> | 3077us</TD> | 38672us</TD> | 755us</TD> | 14265us</TD></TR> | ||||||||||||||
neutron</TD> | 1</TD> | 6G</TD> | 237</TD> | 98</TD> | 36724</TD> | 17</TD> | 20134</TD> | 5</TD> | 1391</TD> | 98</TD> | 63035</TD> | 10</TD> | 30.4</TD> | 1</TD> | 16</TD> | 45</TD> | 1</TD> | +++++</TD> | +++</TD> | 13180</TD> | 72</TD> | 5579</TD> | 77</TD> | +++++</TD> | +++</TD> | 12702</TD> | 73</TD></TR> | |
neutron</TD> | Latency</TD> | 51377us</TD> | 5875ms</TD> | 3985ms</TD> | 27709us</TD> | 1970ms</TD> | 3581ms</TD> | Latency</TD> | 293s</TD> | 313us</TD> | 212ms</TD> | 12460us</TD> | 12142us</TD> | 11643us</TD></TR>
</TABLE>
/tmp [neutron][02:33:27 PM] fdisk -l /dev/sda Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x8e9c8e9c Device Boot Start End Blocks Id System /dev/sda1 * 1 7296 58605088+ 7 HPFS/NTFS /dev/sda2 7297 7298 16065 83 Linux /dev/sda3 7299 7664 2939895 82 Linux swap / Solaris /dev/sda4 7665 60801 426822952+ 5 Extended /dev/sda5 7665 10097 19543041 83 Linux /dev/sda6 10098 60801 407279848+ 83 Linux /tmp [neutron][02:34:12 PM] fdisk -l /dev/sdb Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdb1 1 121601 976760001 83 Linux
|