I am testing out FreeBSD 9.1 ZFS as a replacement for a fileserver. My initial tests show around a 30-50% drop in performance over OmniOS. What is strange is I'm seeing 100% utilization on one disk and 50% on the other. I have tried creating the zpool with raw drives and 2048 aligned partitions. The output below is from the 2048 aligned setup. I have sync disabled on the zpool for testing and no overrides in /boot/loader.conf.
Code:
dmesg
CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (2394.05-MHz K8-class CPU)
Origin = "GenuineIntel" Id = 0x6fb Family = 6 Model = f Stepping = 11
ahci0: <Intel ICH9 AHCI SATA controller> port 0x2408-0x240f,0x2414-0x2417,0x2400-0x2407,0x2410-0x2413,0x2020-0x203f mem 0xe1a21000-0xe1a217ff irq 21 at device 31.2 on pci0
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: <ST2000DL003-9VT166 CC45> ATA-8 SATA 3.x device
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C)
ada2 at ahcich2 bus 0 scbus2 target 0 lun 0
ada2: <ST2000DL003-9VT166 CC45> ATA-8 SATA 3.x device
ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 1907729MB (3907029168 512 byte sectors: 16H 63S/T 16383C)
Code:
zpool iostat 5
capacity operations bandwidth
pool alloc free read write read write
---------- ----- ----- ----- ----- ----- -----
tank 113G 1.70T 0 291 0 32.6M
tank 113G 1.70T 0 441 0 45.9M
tank 113G 1.70T 0 495 0 50.7M
tank 113G 1.70T 0 543 0 58.6M
tank 114G 1.70T 0 432 0 46.3M
tank 114G 1.70T 0 376 0 39.5M
tank 114G 1.70T 0 330 0 33.9M
tank 114G 1.70T 0 436 0 41.7M
tank 115G 1.70T 0 468 0 47.4M
Code:
gstat
L(q) ops/s r/s kBps ms/r w/s kBps ms/w %busy Name
1 487 0 0 0.0 485 56743 17.7 95.0| ada1p1
0 487 0 0 0.0 484 56719 12.2 67.2| ada2p1
1 392 0 0 0.0 391 44963 20.1 94.7| ada1p1
0 294 0 0 0.0 292 32423 11.4 41.7| ada2p1
10 399 0 0 0.0 399 50651 24.6 100.6| ada1p1
0 467 0 0 0.0 467 59191 10.9 51.7| ada2p1
Code:
gpart show
=> 34 3907029101 ada1 GPT (1.8T)
34 2014 - free - (1M)
2048 3907027080 1 freebsd-zfs (1.8T)
3907029128 7 - free - (3.5k)
=> 34 3907029101 ada2 GPT (1.8T)
34 2014 - free - (1M)
2048 3907027080 1 freebsd-zfs (1.8T)
3907029128 7 - free - (3.5k)
Code:
zpool status
pool: tank
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gpt/disk1 ONLINE 0 0 0
gpt/disk2 ONLINE 0 0 0
Code:
zfs get sync
NAME PROPERTY VALUE SOURCE
tank sync disabled local