Hi again,
It will be very intersting for me, if you can do only these tests:
1. (zfs 16 k)fio --filename=/nvme01/test2 --rw=randwrite --ioengine=libaio --bs=4k --iodepth=1 --numjobs=6 --size=10G --runtime=60 --group_reporting --name test2
2. (ext4) fio --filename=/mnt/nvme01/test2 --rw=randwrite --ioengine=libaio --bs=4k --iodepth=1 --numjobs=6 --size=10G --runtime=60 --group_reporting --name test2
During this tests:
- enable writes info with : echo 1 > /proc/sys/vm/block_dump
- then you can see how many blocks are affected, like this:
It would be intersting to see 1 sample log after each test(1 and 2). And see if are some WTITE blocks IO in the log after fio will finish the test!
Thx a lot!
I guess you have zfs set atime=off on your zfs test dataset
Good luck / Bafta!
It will be very intersting for me, if you can do only these tests:
1. (zfs 16 k)fio --filename=/nvme01/test2 --rw=randwrite --ioengine=libaio --bs=4k --iodepth=1 --numjobs=6 --size=10G --runtime=60 --group_reporting --name test2
2. (ext4) fio --filename=/mnt/nvme01/test2 --rw=randwrite --ioengine=libaio --bs=4k --iodepth=1 --numjobs=6 --size=10G --runtime=60 --group_reporting --name test2
During this tests:
- enable writes info with : echo 1 > /proc/sys/vm/block_dump
- then you can see how many blocks are affected, like this:
Code:
Feb 16 16:23:47 pv2 kernel: [16430.235270] z_wr_int(1576): WRITE block 1694519248 on sdc1 (24 sectors)
Feb 16 16:23:47 pv2 kernel: [16430.235490] z_wr_iss(1556): WRITE block 1577084816 on sdc1 (8 sectors)
Feb 16 16:23:47 pv2 kernel: [16430.235500] z_wr_iss(1566): WRITE block 1510030224 on sdc1 (8 sectors)
Feb 16 16:23:47 pv2 kernel: [16430.235579] z_wr_iss(1570): WRITE block 1560817504 on sdc1 (8 sectors)
Feb 16 16:23:47 pv2 kernel: [16430.235588] z_wr_int(1574): WRITE block 1510030232 on sdc1 (24 sectors)
Feb 16 16:23:47 pv2 kernel: [16430.235589] z_wr_int(1576): WRITE block 1560817512 on sdc1 (8 sectors)
Feb 16 16:23:47 pv2 kernel: [16430.235592] z_wr_iss(1568): WRITE block 1526807432 on sdc1 (32 sectors)
Feb 16 16:23:47 pv2 kernel: [16430.235679] z_wr_int(1577): WRITE block 1526807464 on sdc1 (16 sectors)
Feb 16 16:23:47 pv2 kernel: [16430.235718] z_wr_int(1577): WRITE block 1560817496 on sdc1 (8 sectors)
Feb 16 16:23:47 pv2 kernel: [16430.235741] z_wr_int(1574): WRITE block 1560817520 on sdc1 (8 sectors)
Feb 16 16:23:47 pv2 kernel: [16430.235759] z_wr_int(1578): WRITE block 1577084808 on sdc1 (8 sectors)
Feb 16 16:23:47 pv2 kernel: [16430.235783] z_wr_int(1574): WRITE block 1577084824 on sdc1 (24 sectors)
Feb 16 16:23:47 pv2 kernel: [16430.235810] z_wr_int(1577): WRITE block 1593862080 on sdc1 (40 sectors)
Feb 16 16:23:47 pv2 kernel: [16430.235850] z_wr_int(1579): WRITE block 1680651808 on sdc1 (32 sectors)
Feb 16 16:23:47 pv2 kernel: [16430.235924] z_wr_int(1577): WRITE block 1694519248 on sdc1 (136 sectors)
It would be intersting to see 1 sample log after each test(1 and 2). And see if are some WTITE blocks IO in the log after fio will finish the test!
Thx a lot!
I guess you have zfs set atime=off on your zfs test dataset
Good luck / Bafta!
Last edited: