== sanity test 123ad: Verify batching statahead works correctly ========================================================== 20:42:53 (1746146573) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff88012d7f6800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012d7f6800.batch_stats=0 llite.lustre-ffff88012d7f6800.statahead_max=32 llite.lustre-ffff88012d7f6800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88012d7f6800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012d7f6800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 1.64 seconds: 61.10 ops/second llite.lustre-ffff88012d7f6800.statahead_max=0 101 real 0m1.883s user 0m0.008s sys 0m0.409s ls -l 100 files without statahead: 2 sec llite.lustre-ffff88012d7f6800.statahead_max=32 32 101 real 0m0.829s user 0m0.005s sys 0m0.190s ls -l 100 files with statahead: 1 sec statahead total: 122 statahead wrong: 2 agl total: 122 list_total: 28 fname_total: 94 hit_total: 3846 miss_total: 1414 total: 900 open/close in 7.71 seconds: 116.68 ops/second llite.lustre-ffff88012d7f6800.statahead_max=0 1001 real 0m18.340s user 0m0.040s sys 0m3.788s ls -l 1000 files without statahead: 18 sec llite.lustre-ffff88012d7f6800.statahead_max=32 32 1001 real 0m5.215s user 0m0.023s sys 0m1.498s ls -l 1000 files with statahead: 6 sec statahead total: 123 statahead wrong: 2 agl total: 123 list_total: 29 fname_total: 94 hit_total: 4845 miss_total: 1418 total: 1000 open/close in 8.59 seconds: 116.37 ops/second llite.lustre-ffff88012d7f6800.statahead_max=0 2001 real 0m29.352s user 0m0.150s sys 0m6.861s ls -l 2000 files without statahead: 29 sec llite.lustre-ffff88012d7f6800.statahead_max=32 32 2001 real 0m8.553s user 0m0.068s sys 0m2.776s ls -l 2000 files with statahead: 8 sec statahead total: 124 statahead wrong: 2 agl total: 124 list_total: 30 fname_total: 94 hit_total: 6844 miss_total: 1436 ls -l done rm -r /mnt/lustre/d123ad.sanity: 27 seconds llite.lustre-ffff88012d7f6800.statahead_stats= statahead total: 124 statahead wrong: 2 agl total: 124 list_total: 30 fname_total: 94 hit_total: 6844 miss_total: 1436 mdc.lustre-MDT0000-mdc-ffff88012d7f6800.batch_stats= snapshot_time: 1746146699.310578683 secs.nsecs start_time: 1746146575.642639319 secs.nsecs elapsed_time: 123.667939364 secs.nsecs subreqs per batch batches % cum % 1: 4 3 3 2: 2 1 5 4: 2 1 7 8: 7 6 14 16: 62 60 74 32: 26 25 100 mdc.lustre-MDT0001-mdc-ffff88012d7f6800.batch_stats= snapshot_time: 1746146699.310737807 secs.nsecs start_time: 1746146575.643345416 secs.nsecs elapsed_time: 123.667392391 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 2 1 2 4: 2 1 4 8: 5 4 9 16: 38 35 45 32: 58 54 100 - open/close 964 (time 1746146711.11 total 10.00 last 96.39) - open/close 2053 (time 1746146721.11 total 20.00 last 108.88) - open/close 3171 (time 1746146731.12 total 30.01 last 111.74) - open/close 4225 (time 1746146741.13 total 40.02 last 105.31) - open/close 5274 (time 1746146751.13 total 50.02 last 104.90) - open/close 6337 (time 1746146761.14 total 60.03 last 106.21) - open/close 7351 (time 1746146771.14 total 70.03 last 101.35) - open/close 8480 (time 1746146781.15 total 80.04 last 112.84) - open/close 9592 (time 1746146791.15 total 90.04 last 111.16) total: 10000 open/close in 93.73 seconds: 106.68 ops/second llite.lustre-ffff88012d7f6800.statahead_batch_max=0 llite.lustre-ffff88012d7f6800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012d7f6800.stats=clear mdc.lustre-MDT0001-mdc-ffff88012d7f6800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.527s user 0m0.358s sys 0m13.278s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88012d7f6800.statahead_batch_max=32 llite.lustre-ffff88012d7f6800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012d7f6800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff88012d7f6800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88012d7f6800.stats=clear mdc.lustre-MDT0001-mdc-ffff88012d7f6800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.326s user 0m0.405s sys 0m15.094s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88012d7f6800.batch_stats= snapshot_time: 1746146903.981183538 secs.nsecs start_time: 1746146833.144972189 secs.nsecs elapsed_time: 70.836211349 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 2 0 0 32: 312 99 100 mdc.lustre-MDT0001-mdc-ffff88012d7f6800.batch_stats= snapshot_time: 1746146903.981457434 secs.nsecs start_time: 1746146833.145027982 secs.nsecs elapsed_time: 70.836429452 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff88012d7f6800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012d7f6800.batch_stats=0 llite.lustre-ffff88012d7f6800.statahead_max=2048 llite.lustre-ffff88012d7f6800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff88012d7f6800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff88012d7f6800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.06 seconds: 48.62 ops/second llite.lustre-ffff88012d7f6800.statahead_max=0 101 real 0m2.240s user 0m0.015s sys 0m0.411s ls -l 100 files without statahead: 3 sec llite.lustre-ffff88012d7f6800.statahead_max=2048 2048 101 real 0m0.690s user 0m0.006s sys 0m0.208s ls -l 100 files with statahead: 1 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10098 miss_total: 67 total: 900 open/close in 8.38 seconds: 107.43 ops/second llite.lustre-ffff88012d7f6800.statahead_max=0 1001 real 0m20.443s user 0m0.066s sys 0m3.883s ls -l 1000 files without statahead: 20 sec llite.lustre-ffff88012d7f6800.statahead_max=2048 2048 1001 real 0m4.759s user 0m0.040s sys 0m1.604s ls -l 1000 files with statahead: 5 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 68 - open/close 803 (time 1746147197.21 total 10.01 last 80.25) total: 1000 open/close in 12.15 seconds: 82.32 ops/second llite.lustre-ffff88012d7f6800.statahead_max=0 2001 real 0m40.430s user 0m0.179s sys 0m7.805s ls -l 2000 files without statahead: 40 sec llite.lustre-ffff88012d7f6800.statahead_max=2048 2048 2001 real 0m7.920s user 0m0.092s sys 0m3.012s ls -l 2000 files with statahead: 8 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 13096 miss_total: 69 ls -l done rm -r /mnt/lustre/d123ad.sanity: 35 seconds llite.lustre-ffff88012d7f6800.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 13096 miss_total: 69 mdc.lustre-MDT0000-mdc-ffff88012d7f6800.batch_stats= snapshot_time: 1746147291.537518831 secs.nsecs start_time: 1746146905.011870579 secs.nsecs elapsed_time: 386.525648252 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 2 13 13 4: 2 13 26 8: 3 20 46 16: 0 0 46 32: 1 6 53 64: 1 6 60 128: 0 0 60 256: 6 40 100 mdc.lustre-MDT0001-mdc-ffff88012d7f6800.batch_stats= snapshot_time: 1746147291.541274317 secs.nsecs start_time: 1746146905.011973327 secs.nsecs elapsed_time: 386.529300990 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 1 6 6 4: 1 6 13 8: 4 26 40 16: 2 13 53 32: 0 0 53 64: 1 6 60 128: 0 0 60 256: 6 40 100 - open/close 857 (time 1746147303.98 total 10.00 last 85.67) - open/close 1655 (time 1746147313.98 total 20.00 last 79.79) - open/close 2547 (time 1746147323.99 total 30.01 last 89.12) - open/close 3403 (time 1746147334.00 total 40.02 last 85.52) - open/close 4240 (time 1746147344.01 total 50.03 last 83.65) - open/close 5095 (time 1746147354.02 total 60.03 last 85.45) - open/close 5996 (time 1746147364.02 total 70.04 last 90.09) - open/close 6842 (time 1746147374.03 total 80.05 last 84.49) - open/close 7746 (time 1746147384.03 total 90.05 last 90.37) - open/close 8638 (time 1746147394.05 total 100.07 last 89.04) - open/close 9614 (time 1746147404.05 total 110.07 last 97.59) total: 10000 open/close in 114.38 seconds: 87.43 ops/second llite.lustre-ffff88012d7f6800.statahead_batch_max=0 llite.lustre-ffff88012d7f6800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012d7f6800.stats=clear mdc.lustre-MDT0001-mdc-ffff88012d7f6800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m41.434s user 0m0.435s sys 0m13.905s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88012d7f6800.statahead_batch_max=256 llite.lustre-ffff88012d7f6800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012d7f6800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff88012d7f6800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88012d7f6800.stats=clear mdc.lustre-MDT0001-mdc-ffff88012d7f6800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.477s user 0m0.418s sys 0m14.809s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88012d7f6800.batch_stats= snapshot_time: 1746147494.136380489 secs.nsecs start_time: 1746147455.242416076 secs.nsecs elapsed_time: 38.893964413 secs.nsecs subreqs per batch batches % cum % 1: 139 45 45 2: 28 9 55 4: 33 10 66 8: 26 8 74 16: 20 6 81 32: 20 6 87 64: 3 0 88 128: 0 0 88 256: 34 11 100 mdc.lustre-MDT0001-mdc-ffff88012d7f6800.batch_stats= snapshot_time: 1746147494.139506372 secs.nsecs start_time: 1746147455.242500435 secs.nsecs elapsed_time: 38.897005937 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff88012d7f6800.statahead_batch_max=64 llite.lustre-ffff88012d7f6800.statahead_max=128