zpool - low speed write

Alex V. Petrov alexvpetrov at gmail.com
Thu Aug 5 06:10:09 UTC 2010


В сообщении от 5 августа 2010 13:35:04 вы написали:
> Write performance here is abysmal, agreed.  This is very odd.
> 
> I hate to say this, but can you remove ahci.ko (ahci_load="yes") from
> your loader.conf and reboot?  You may need to change filesystem names
> around in /etc/fstab for your OS disk (assuming it's on ada0), but for
> ZFS it should just magically find the disks on adXX.
> 
> If you could also provide pciconf -lvc output that would be helpful.
> Thanks.

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

zpool iostat -v 10 10
               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
tank        1,91T   829G      0     64  49,7K  4,73M
  ad12       598G   333G      0     22  19,9K  1,71M
  ad8        633G   295G      0     21  13,8K  1,65M
  ad10       727G   201G      0     19  15,9K  1,36M
----------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
tank        1,91T   829G      0    116      0  5,91M
  ad12       598G   333G      0     39      0  2,20M
  ad8        633G   295G      0     39      0  2,02M
  ad10       727G   201G      0     37      0  1,68M
----------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
tank        1,91T   829G      0    140      0  9,09M
  ad12       598G   333G      0     51      0  3,69M
  ad8        633G   295G      0     45      0  2,94M
  ad10       727G   201G      0     43      0  2,46M
----------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
tank        1,91T   829G      0    133      0  7,66M
  ad12       598G   333G      0     46      0  2,84M
  ad8        633G   295G      0     44      0  2,59M
  ad10       727G   201G      0     43      0  2,23M
----------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
tank        1,91T   829G      0    133  6,39K  5,84M
  ad12       598G   333G      0     47  6,39K  2,34M
  ad8        633G   295G      0     43      0  1,83M
  ad10       727G   201G      0     42      0  1,67M
----------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
tank        1,91T   829G      0    113      0  5,54M
  ad12       598G   333G      0     39      0  1,97M
  ad8        633G   295G      0     37      0  1,98M
  ad10       727G   201G      0     35      0  1,59M
----------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
tank        1,91T   829G      0    152      0  10,1M
  ad12       598G   333G      0     52      0  3,41M
  ad8        633G   295G      0     52      0  3,65M
  ad10       727G   201G      0     47      0  3,06M
----------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
tank        1,91T   828G      0    116      0  5,61M
  ad12       598G   333G      0     41      0  2,16M
  ad8        633G   295G      0     40      0  1,95M
  ad10       727G   201G      0     34      0  1,50M
----------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
tank        1,91T   828G      0    176      0  11,1M
  ad12       598G   333G      0     60      0  3,78M
  ad8        634G   294G      0     60      0  3,95M
  ad10       727G   201G      0     55      0  3,35M
----------  -----  -----  -----  -----  -----  -----

               capacity     operations    bandwidth
pool         used  avail   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
tank        1,91T   828G      0    112      0  7,55M
  ad12       598G   333G      0     39      0  2,73M
  ad8        634G   294G      0     39      0  2,66M
  ad10       727G   201G      0     33      0  2,15M
----------  -----  -----  -----  -----  -----  -----

pciconf -lvc
hostb0 at pci0:0:0:0:      class=0x060000 card=0x50001458 chip=0x2e208086 
rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = HOST-PCI
    cap 09[e0] = vendor (length 12) Intel cap 9 version 1
pcib1 at pci0:0:1:0:       class=0x060400 card=0x50001458 chip=0x2e218086 
rev=0x02 hdr=0x01
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = PCI-PCI
    cap 0d[88] = PCI Bridge card=0x50001458
    cap 01[80] = powerspec 3  supports D0 D3  current D0
    cap 05[90] = MSI supports 1 message 
    cap 10[a0] = PCI-Express 2 root port max data 128(128) link x16(x16)
uhci0 at pci0:0:26:0:      class=0x0c0300 card=0x50041458 chip=0x3a378086 
rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'USB UHCI Controller *4'
    class      = serial bus
    subclass   = USB
    cap 13[50] = PCI Advanced Features: FLR TP
uhci1 at pci0:0:26:1:      class=0x0c0300 card=0x50041458 chip=0x3a388086 
rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'USB UHCI Controller *5'
    class      = serial bus
    subclass   = USB
    cap 13[50] = PCI Advanced Features: FLR TP
uhci2 at pci0:0:26:2:      class=0x0c0300 card=0x50041458 chip=0x3a398086 
rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'USB UHCI Controller *6'
    class      = serial bus
    subclass   = USB
    cap 13[50] = PCI Advanced Features: FLR TP
ehci0 at pci0:0:26:7:      class=0x0c0320 card=0x50061458 chip=0x3a3c8086 
rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'USB EHCI Controller *2'
    class      = serial bus
    subclass   = USB
    cap 01[50] = powerspec 2  supports D0 D3  current D0
hdac0 at pci0:0:27:0:      class=0x040300 card=0xa0021458 chip=0x3a3e8086 
rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Microsoft UAA Bus Driver for High Definition Audio 
(Microsoft UAA Bus Driver for High Definition Audio)'
    class      = multimedia
    subclass   = HDA
    cap 01[50] = powerspec 2  supports D0 D3  current D0
    cap 05[60] = MSI supports 1 message, 64 bit enabled with 1 message
    cap 10[70] = PCI-Express 1 root endpoint max data 128(128) link x0(x0)
pcib2 at pci0:0:28:0:      class=0x060400 card=0x50011458 chip=0x3a408086 
rev=0x00 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'PCI Express Port 1'
    class      = bridge
    subclass   = PCI-PCI
    cap 10[40] = PCI-Express 1 root port max data 128(128) link x0(x4)
    cap 05[80] = MSI supports 1 message 
    cap 0d[90] = PCI Bridge card=0x50011458
    cap 01[a0] = powerspec 2  supports D0 D3  current D0
pcib3 at pci0:0:28:5:      class=0x060400 card=0x50011458 chip=0x3a4a8086 
rev=0x00 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = 'PCI Express Port 6'
    class      = bridge
    subclass   = PCI-PCI
    cap 10[40] = PCI-Express 1 root port max data 128(128) link x1(x1)
    cap 05[80] = MSI supports 1 message 
    cap 0d[90] = PCI Bridge card=0x50011458
    cap 01[a0] = powerspec 2  supports D0 D3  current D0
uhci3 at pci0:0:29:0:      class=0x0c0300 card=0x50041458 chip=0x3a348086 
rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'USB UHCI Controller *1'
    class      = serial bus
    subclass   = USB
    cap 13[50] = PCI Advanced Features: FLR TP
uhci4 at pci0:0:29:1:      class=0x0c0300 card=0x50041458 chip=0x3a358086 
rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'USB UHCI Controller *2'
    class      = serial bus
    subclass   = USB
    cap 13[50] = PCI Advanced Features: FLR TP
uhci5 at pci0:0:29:2:      class=0x0c0300 card=0x50041458 chip=0x3a368086 
rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'USB UHCI Controller *3'
    class      = serial bus
    subclass   = USB
    cap 13[50] = PCI Advanced Features: FLR TP
ehci1 at pci0:0:29:7:      class=0x0c0320 card=0x50061458 chip=0x3a3a8086 
rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'USB EHCI Controller *1'
    class      = serial bus
    subclass   = USB
    cap 01[50] = powerspec 2  supports D0 D3  current D0
pcib4 at pci0:0:30:0:      class=0x060401 card=0x50001458 chip=0x244e8086 
rev=0x90 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801 Family (ICH2/3/4/5/6/7/8/9,63xxESB) Hub Interface to 
PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
    cap 0d[50] = PCI Bridge card=0x50001458
isab0 at pci0:0:31:0:      class=0x060100 card=0x50011458 chip=0x3a188086 
rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'LPC Interface Controller'
    class      = bridge
    subclass   = PCI-ISA
    cap 09[e0] = vendor (length 12) Intel cap 1 version 0
                 features: Quick Resume, SATA RAID-5, 4 PCI-e x1 slots, SATA 
RAID-0/1/10
atapci0 at pci0:0:31:2:    class=0x010601 card=0xb0051458 chip=0x3a228086 
rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '6 port SATA AHCI Controller'
    class      = mass storage
    subclass   = SATA
    cap 05[80] = MSI supports 16 messages 
    cap 01[70] = powerspec 3  supports D0 D3  current D0
    cap 12[a8] = SATA Index-Data Pair
    cap 13[b0] = PCI Advanced Features: FLR TP
none0 at pci0:0:31:3:      class=0x0c0500 card=0x50011458 chip=0x3a308086 
rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'SMB controller  (50011458)'
    class      = serial bus
    subclass   = SMBus
vgapci0 at pci0:1:0:0:     class=0x030000 card=0x34a11458 chip=0x062210de 
rev=0xa1 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'NVIDIA GeForce 9600 GT (G94)'
    class      = display
    subclass   = VGA
    cap 01[60] = powerspec 3  supports D0 D3  current D0
    cap 05[68] = MSI supports 1 message, 64 bit 
    cap 10[78] = PCI-Express 2 endpoint max data 128(128) link x16(x16)
    cap 09[b4] = vendor (length 20)
re0 at pci0:3:0:0: class=0x020000 card=0xe0001458 chip=0x816810ec rev=0x02 
hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'Gigabit Ethernet NIC(NDIS 6.0) (RTL8168/8111/8111c)'
    class      = network
    subclass   = ethernet
    cap 01[40] = powerspec 3  supports D0 D1 D2 D3  current D0
    cap 05[50] = MSI supports 2 messages, 64 bit enabled with 1 message
    cap 10[70] = PCI-Express 1 endpoint IRQ 2 max data 128(256) link x1(x1)
    cap 11[b0] = MSI-X supports 2 messages in map 0x20
    cap 03[d0] = VPD
bktr0 at pci0:4:2:0:       class=0x040000 card=0x00031461 chip=0x036e109e 
rev=0x11 hdr=0x00
    vendor     = 'Conexant (Was: Brooktree Corp)'
    device     = 'Bt878/Fusion 878A Mediastream Controller'
    class      = multimedia
    subclass   = video
    cap 03[44] = VPD
    cap 01[4c] = powerspec 2  supports D0 D3  current D0
none1 at pci0:4:2:1:       class=0x048000 card=0x00031461 chip=0x0878109e 
rev=0x11 hdr=0x00
    vendor     = 'Conexant (Was: Brooktree Corp)'
    device     = 'TV Video Capture: Hauppauge WinTV GO 
(SUBSYS_13EB0070&REV_11)'
    class      = multimedia
    cap 03[44] = VPD
    cap 01[4c] = powerspec 2  supports D0 D3  current D0
ath0 at pci0:4:3:0:        class=0x020000 card=0x3a131186 chip=0x0013168c 
rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = '802.11a/b/g Wireless Adapter (AR2312)'
    class      = network
    subclass   = ethernet
    cap 01[44] = powerspec 2  supports D0 D3  current D0



-----
Alex V. Petrov


More information about the freebsd-stable mailing list