zpool - low speed write

Alex V. Petrov alexvpetrov at gmail.com
Sun Aug 8 05:57:15 UTC 2010


В сообщении от 8 августа 2010 12:13:29 автор Vladislav V. Prodan написал:
> 08.08.2010 6:07, Alex V. Petrov wrote:
> > sysctl -a | grep vm.kmem
> > vm.kmem_size_max: 329853485875
> > 
> > sysctl -a | grep vfs.zfs.arc
> > vfs.zfs.arc_meta_used: 13797096
> > vfs.zfs.arc_max: 858721280
> > 
> > 
> > sysctl -a | grep vm.kvm
> > vm.kvm_free: 547673337856
> > vm.kvm_size: 549755809792
> 
> Please, insert into /boot/loader.conf only this options:
> 
> vm.kmem_size="999M"
> vm.kmem_size_max="999M"
> vfs.zfs.arc_max="160M"
> 
> And after reboot, please run dd...

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


dd if=/dev/zero of=/tank/test.zero bs=3M count=1000
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
----------  -----  -----  -----  -----  -----  -----
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
----------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
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
----------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
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
----------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
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
----------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
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
----------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
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
----------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
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
----------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
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
----------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
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
----------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
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
----------  -----  -----  -----  -----  -----  -----

-----
Alex V. Petrov


More information about the freebsd-stable mailing list