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
=D0=92 =D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B8 =D0=BE=D1=82 =
4 =D0=B0=D0=B2=D0=B3=D1=83=D1=81=D1=82=D0=B0 2010 20:45:26 =D0=B2=D1=8B =D0=
=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB=D0=B8:
> on 04/08/2010 15:08 Alex V. Petrov said the following:
> > Hi All!
> >=20
> > $ dd if=3D/dev/random of=3D/tank/test bs=3D3M count=3D1000
>=20
> /dev/random is slow.

On single disk (UFS) speed of write faster:

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

Result for /dev/zero:

$ dd if=3D/dev/zero of=3D/tank/test bs=3D3M count=3D1000
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

=46ragment 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

=2D----
Alex V. Petrov



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