Re: [SOLVED] Is squeeze compatible with WD20EARS and other 2TB drives?
Klistvud put forth on 12/18/2010 3:32 PM:
> Before partitioning and formatting:
>
> obelix# hdparm -tT /dev/sda
>
> /dev/sda:
> Timing cached reads: 1726 MB in 2.00 seconds = 713.98 - 862.86
> MB/sec (several iterations performed)
> Timing buffered disk reads: 336 MB in 3.01 seconds = 100.01 - 111.72
> MB/sec (several iterations performed)
>
> After partitioning the drive, aligned on modulo 8 sector boundaries:
>
> obelix:# hdparm -tT /dev/sda
>
> /dev/sda:
> Timing cached reads: 1264 MB in 2.00 seconds = 631.97 MB/sec
> Timing buffered disk reads: 252 MB in 3.08 seconds = 81.80 MB/sec
> expected, the rsync results for the last partition became consistent
> with the other partitions (i.e. around 60 MB/s).
> All testing was done with a ~700-MB ISO file
What is the result of?
dd if=/dev/zero of=/some/filesystem/test count=100000 bs=8192
That will write an 810MB file of all zeros, and will give you a much
better idea of the raw streaming write performance vs copying files from
the old 160GB drive to the new one. I would think the result should be
a bit higher than 60MB/s.
Also, make sure you're using the deadline elevator instead of CFQ as it
yields better performance, especially on SATA systems that don't support
NCQ:
$ echo deadline > /sys/block/sda/queue/scheduler
You may want to add this to your boot scripts to make it permanent. I
roll this option as the default in my custom kernels.
--
Stan
Reply to: