Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Aug 2010 13:57:09 +0800
From:      "Alex V. Petrov" <alexvpetrov@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: zpool - low speed write
Message-ID:  <201008081357.09659.alexvpetrov@gmail.com>
In-Reply-To: <4C5E2EE9.6020008@ukr.net>
References:  <201008042008.25679.alexvpetrov@gmail.com> <201008081108.00175.alexvpetrov@gmail.com> <4C5E2EE9.6020008@ukr.net>

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 =
8 =D0=B0=D0=B2=D0=B3=D1=83=D1=81=D1=82=D0=B0 2010 12:13:29 =D0=B0=D0=B2=D1=
=82=D0=BE=D1=80 Vladislav V. Prodan =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=
=BB:
> 08.08.2010 6:07, Alex V. Petrov wrote:
> > sysctl -a | grep vm.kmem
> > vm.kmem_size_max: 329853485875
> >=20
> > sysctl -a | grep vfs.zfs.arc
> > vfs.zfs.arc_meta_used: 13797096
> > vfs.zfs.arc_max: 858721280
> >=20
> >=20
> > sysctl -a | grep vm.kvm
> > vm.kvm_free: 547673337856
> > vm.kvm_size: 549755809792
>=20
> Please, insert into /boot/loader.conf only this options:
>=20
> vm.kmem_size=3D"999M"
> vm.kmem_size_max=3D"999M"
> vfs.zfs.arc_max=3D"160M"
>=20
> And after reboot, please run dd...

I think these settings are relevant only for i386, but not for amd64


dd if=3D/dev/zero of=3D/tank/test.zero bs=3D3M count=3D1000
1000+0 records in
1000+0 records out
3145728000 bytes transferred in 425.627495 secs (7390801 bytes/sec)

zpool iostat -v 10 10
               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
=2D---------  -----  -----  -----  -----  -----  -----
tank         759G  1,98T      0     43  31,7K  4,37M
  ad12       230G   701G      0     15  10,8K  1,55M
  ad8        244G   684G      0     15  11,6K  1,55M
  ad10       286G   642G      0     13  9,33K  1,27M
=2D---------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
=2D---------  -----  -----  -----  -----  -----  -----
tank         759G  1,98T      0     80      0  3,26M
  ad12       230G   701G      0     27      0  1,24M
  ad8        244G   684G      0     27      0  1,08M
  ad10       286G   642G      0     25      0   962K
=2D---------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
=2D---------  -----  -----  -----  -----  -----  -----
tank         759G  1,98T      0    100  6,39K  3,31M
  ad12       230G   701G      0     34      0  1,23M
  ad8        244G   684G      0     33      0  1,13M
  ad10       286G   642G      0     33  6,39K   970K
=2D---------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
=2D---------  -----  -----  -----  -----  -----  -----
tank         760G  1,98T      0    132      0  7,21M
  ad12       230G   701G      0     41      0  2,23M
  ad8        244G   684G      0     47      0  2,79M
  ad10       286G   642G      0     43      0  2,20M
=2D---------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
=2D---------  -----  -----  -----  -----  -----  -----
tank         760G  1,98T      0    110  6,39K  5,19M
  ad12       230G   701G      0     39      0  2,12M
  ad8        244G   684G      0     36  6,39K  1,67M
  ad10       286G   642G      0     33      0  1,40M
=2D---------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
=2D---------  -----  -----  -----  -----  -----  -----
tank         760G  1,98T      0    100  6,39K  4,81M
  ad12       230G   701G      0     33      0  1,79M
  ad8        244G   684G      0     34      0  1,65M
  ad10       286G   642G      0     32  6,39K  1,37M
=2D---------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
=2D---------  -----  -----  -----  -----  -----  -----
tank         760G  1,98T      0    117      0  6,21M
  ad12       230G   701G      0     41      0  2,23M
  ad8        244G   684G      0     39      0  2,14M
  ad10       286G   642G      0     37      0  1,84M
=2D---------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
=2D---------  -----  -----  -----  -----  -----  -----
tank         760G  1,98T      0    113      0  5,87M
  ad12       230G   701G      0     36      0  1,77M
  ad8        244G   684G      0     40      0  2,19M
  ad10       286G   642G      0     37      0  1,90M
=2D---------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
=2D---------  -----  -----  -----  -----  -----  -----
tank         760G  1,98T      0    102  12,8K  5,19M
  ad12       230G   701G      0     37  6,39K  2,02M
  ad8        244G   684G      0     34      0  1,84M
  ad10       286G   642G      0     30  6,39K  1,32M
=2D---------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
=2D---------  -----  -----  -----  -----  -----  -----
tank         760G  1,98T      0    124      0  6,32M
  ad12       230G   701G      0     43      0  2,31M
  ad8        244G   684G      0     41      0  2,16M
  ad10       286G   642G      0     39      0  1,85M
=2D---------  -----  -----  -----  -----  -----  -----

=2D----
Alex V. Petrov



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