Привет.
С неприятным удивлением для себя обнаружил такую картину на своем сервере:
smd@jupiter:/tank/work/smd/riscv/images$ sudo dd if=new_fedora_image.img of=/dev/zvol/tank/vm/riscv_vm_3
15622144+0 records in
15622144+0 records out
7998537728 bytes (8.0 GB, 7.4 GiB) copied, 693.554 s, 11.5 MB/s
Казалось бы, последовательный доступ, скорость должна быть +- нормальная, но нет. Увы, не имею представления, куда копать.
Во время копирования по iostat картинка какая-то такая:
avg-cpu: %user %nice %system %iowait %steal %idle
8.18 0.00 21.70 2.39 0.00 67.73
Device r/s w/s rkB/s wkB/s rrqm/s wrqm/s %rrqm %wrqm r_await w_await aqu-sz rareq-sz wareq-sz svctm %util
sda 0.00 1.00 0.00 9.00 0.00 1.80 0.00 64.29 0.00 6.60 0.00 0.00 9.00 0.00 0.00
sdb 0.00 1.00 0.00 9.00 0.00 1.80 0.00 64.29 0.00 16.40 0.00 0.00 9.00 0.00 0.00
md0 0.00 2.20 0.00 8.80 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 4.00 0.00 0.00
md1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
md2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
sdc 437.00 83.60 2311.20 556.00 0.00 0.00 0.00 0.00 1.57 0.42 0.54 5.29 6.65 0.46 23.76
sdd 436.40 89.00 2374.40 573.60 0.00 0.00 0.00 0.00 1.65 0.33 0.52 5.44 6.44 0.45 23.44
sde 441.80 97.20 2306.40 577.60 0.20 0.00 0.05 0.00 1.31 0.24 0.50 5.22 5.94 0.40 21.76
zd0 1988.80 10326.60 7955.20 41306.40 0.00 0.00 0.00 0.00 0.04 0.71 7.39 4.00 4.00 0.03 31.44
zd16 2008.60 0.00 8034.40 0.00 0.00 0.00 0.00 0.00 0.04 0.00 0.08 4.00 0.00 0.04 8.08
zd32 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
zd48 0.00 705.40 0.00 2821.60 0.00 0.00 0.00 0.00 0.00 0.23 0.16 0.00 4.00 0.01 0.80
zd64 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
zd80 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
avg-cpu: %user %nice %system %iowait %steal %idle
12.64 0.00 14.46 0.89 0.00 72.02
Device r/s w/s rkB/s wkB/s rrqm/s wrqm/s %rrqm %wrqm r_await w_await aqu-sz rareq-sz wareq-sz svctm %util
sda 0.00 4.80 0.00 17.20 0.00 0.40 0.00 7.69 0.00 2.71 0.00 0.00 3.58 0.17 0.08
sdb 0.00 4.80 0.00 17.20 0.00 0.40 0.00 7.69 0.00 4.92 0.00 0.00 3.58 0.17 0.08
md0 0.00 4.20 0.00 16.80 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 4.00 0.00 0.00
md1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
md2 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
sdc 664.60 28.40 3924.00 1828.00 0.00 0.00 0.00 0.00 0.91 1.22 0.51 5.90 64.37 0.34 23.76
sdd 680.20 33.40 3883.20 1836.80 0.00 0.20 0.00 0.60 0.99 1.05 0.52 5.71 54.99 0.35 25.04
sde 708.60 52.60 3795.20 1818.40 0.00 0.00 0.00 0.00 0.67 0.42 0.38 5.36 34.57 0.24 18.48
zd0 2514.20 0.00 10056.80 0.00 0.00 0.00 0.00 0.00 0.04 0.00 0.11 4.00 0.00 0.04 10.72
zd16 2581.60 0.00 10326.40 0.00 0.00 0.00 0.00 0.00 0.04 0.00 0.09 4.00 0.00 0.04 9.44
zd32 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
zd48 28.40 0.00 113.60 0.00 0.00 0.00 0.00 0.00 2.03 0.00 0.06 4.00 0.00 2.03 5.76
zd64 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
zd80 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
smd@jupiter:/tank/work/dev/images/riscv$ sudo zpool status tank
pool: tank
state: ONLINE
scan: scrub repaired 0B in 7h6m with 0 errors on Sun Mar 10 07:30:58 2019
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
ata-WDC_WD40EZRZ-00GXCB0_WD-WCC7K0FU2HCS ONLINE 0 0 0
ata-ST2000NM0033-9ZM175_Z1X02J9D ONLINE 0 0 0
ata-ST2000NM0033-9ZM175_Z1Y01BZC ONLINE 0 0 0
errors: No known data errors
smd@jupiter:/tank/work/dev/images/riscv$ sudo zpool list
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
tank 5.44T 3.34T 2.10T - 25% 61% 1.00x ONLINE -
smd@jupiter:/tank/work/dev/images/riscv$ sudo zfs get all tank | grep -v default
NAME PROPERTY VALUE SOURCE
tank type filesystem -
tank creation Wed Feb 5 21:06 2014 -
tank used 2.22T -
tank available 1.28T -
tank referenced 2.21T -
tank compressratio 1.01x -
tank mounted yes -
tank recordsize 16K local
tank mountpoint /tank local
tank compression lz4 local
tank atime off local
tank createtxg 1 -
tank xattr sa local
tank version 5 -
tank utf8only off -
tank normalization none -
tank casesensitivity sensitive -
tank guid 8135613722416036316 -
tank usedbysnapshots 0B -
tank usedbydataset 2.21T -
tank usedbychildren 18.3G -
tank usedbyrefreservation 0B -
tank refcompressratio 1.01x -
tank written 2.21T -
tank logicalused 2.22T -
tank logicalreferenced 2.20T -
tank acltype posixacl local
md@jupiter:/tank/work/dev/images/riscv$ sudo zfs get all tank/vm/riscv_vm_3 | grep -v default
[sudo] password for smd:
NAME PROPERTY VALUE SOURCE
tank/vm/riscv_vm_3 type volume -
tank/vm/riscv_vm_3 creation Sat Mar 30 17:24 2019 -
tank/vm/riscv_vm_3 used 2.48G -
tank/vm/riscv_vm_3 available 1.28T -
tank/vm/riscv_vm_3 referenced 2.48G -
tank/vm/riscv_vm_3 compressratio 1.36x -
tank/vm/riscv_vm_3 volsize 10G local
tank/vm/riscv_vm_3 compression on inherited from tank/vm
tank/vm/riscv_vm_3 createtxg 29871336 -
tank/vm/riscv_vm_3 guid 1236530763382609933 -
tank/vm/riscv_vm_3 usedbysnapshots 0B -
tank/vm/riscv_vm_3 usedbydataset 2.48G -
tank/vm/riscv_vm_3 usedbychildren 0B -
tank/vm/riscv_vm_3 usedbyrefreservation 0B -
tank/vm/riscv_vm_3 dedup off inherited from tank/vm
tank/vm/riscv_vm_3 refcompressratio 1.36x -
tank/vm/riscv_vm_3 written 2.48G -
tank/vm/riscv_vm_3 logicalused 2.53G -
tank/vm/riscv_vm_3 logicalreferenced 2.53G -
Прошу помощи у экспертного сообщества, тк не понимаю, во что оно упирается и куда/как копать: Dimez,