zpool - low speed write

Alex V. Petrov alexvpetrov at gmail.com
Wed Aug 4 14:15:09 UTC 2010


В сообщении от 4 августа 2010 20:45:26 вы написали:
> on 04/08/2010 15:08 Alex V. Petrov said the following:
> > Hi All!
> > 
> > $ dd if=/dev/random of=/tank/test bs=3M count=1000
> 
> /dev/random is slow.

On single disk (UFS) speed of write faster:

$ dd if=/dev/random of=/home/alex/temp/test bs=3M count=1000
1000+0 records in
1000+0 records out
3145728000 bytes transferred in 75.778427 secs (41512184 bytes/sec)

Result for /dev/zero:

$ dd if=/dev/zero of=/tank/test bs=3M count=1000
1000+0 records in
1000+0 records out
3145728000 bytes transferred in 113.110421 secs (27811124 bytes/sec)

In Krusader speed copying files from a single disk to an pool of about 8 MB/s

Fragment of `systat -v 1` in proces copying:

Disks  ada0  ada1  ada2  ada3  ada4
KB/t   0,00   122 44,35 32,89 48,50
tps       0    54    56    53    54
MB/s   0,00  6,42  2,42  1,70  2,55
%busy     0    11     7     4    82

-----
Alex V. Petrov


More information about the freebsd-stable mailing list