Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Aug 2010 22:14:58 +0800
From:      "Alex V. Petrov" <alexvpetrov@gmail.com>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: zpool - low speed write
Message-ID:  <201008042214.59264.alexvpetrov@gmail.com>
In-Reply-To: <4C5960E6.7060702@icyb.net.ua>
References:  <201008042008.25679.alexvpetrov@gmail.com> <4C5960E6.7060702@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

В сообщении от 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008042214.59264.alexvpetrov>