== sanity test 123ad: Verify batching statahead works correctly ========================================================== 13:51:42 (1747849902) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8800aa98c000.batch_stats=0 llite.lustre-ffff8800aa98c000.statahead_max=32 llite.lustre-ffff8800aa98c000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8800aa98c000.batch_stats=0 total: 100 open/close in 0.53 seconds: 187.59 ops/second llite.lustre-ffff8800aa98c000.statahead_max=0 101 real 0m0.485s user 0m0.002s sys 0m0.189s ls -l 100 files without statahead: 0 sec llite.lustre-ffff8800aa98c000.statahead_max=32 32 101 real 0m0.314s user 0m0.002s sys 0m0.106s ls -l 100 files with statahead: 0 sec statahead total: 45 statahead wrong: 1 agl total: 45 list_total: 19 fname_total: 26 hit_total: 11357 miss_total: 215 total: 900 open/close in 1.68 seconds: 534.52 ops/second llite.lustre-ffff8800aa98c000.statahead_max=0 1001 real 0m5.145s user 0m0.030s sys 0m1.994s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff8800aa98c000.statahead_max=32 32 1001 real 0m2.074s user 0m0.018s sys 0m0.887s ls -l 1000 files with statahead: 2 sec statahead total: 46 statahead wrong: 1 agl total: 46 list_total: 20 fname_total: 26 hit_total: 12356 miss_total: 216 - open/close 5781 (time 1747849927.23 total 10.00 last 578.08) total: 9000 open/close in 15.00 seconds: 600.11 ops/second llite.lustre-ffff8800aa98c000.statahead_max=0 10001 real 0m49.562s user 0m0.318s sys 0m18.564s ls -l 10000 files without statahead: 50 sec llite.lustre-ffff8800aa98c000.statahead_max=32 32 10001 real 0m20.934s user 0m0.227s sys 0m9.210s ls -l 10000 files with statahead: 21 sec statahead total: 47 statahead wrong: 1 agl total: 47 list_total: 21 fname_total: 26 hit_total: 22355 miss_total: 217 ls -l done rm -r /mnt/lustre/d123ad.sanity: 36 seconds llite.lustre-ffff8800aa98c000.statahead_stats= statahead total: 47 statahead wrong: 1 agl total: 47 list_total: 21 fname_total: 26 hit_total: 22355 miss_total: 217 mdc.lustre-MDT0000-mdc-ffff8800aa98c000.batch_stats= snapshot_time: 1747850044.469124486 secs.nsecs start_time: 1747849903.530509858 secs.nsecs elapsed_time: 140.938614628 secs.nsecs subreqs per batch batches % cum % 1: 2 0 0 2: 0 0 0 4: 1 0 0 8: 3 0 1 16: 4 1 2 32: 346 97 100 - open/close 5414 (time 1747850055.03 total 10.00 last 541.38) total: 10000 open/close in 19.20 seconds: 520.90 ops/second llite.lustre-ffff8800aa98c000.statahead_batch_max=0 llite.lustre-ffff8800aa98c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800aa98c000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m10.722s user 0m0.232s sys 0m9.976s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8800aa98c000.statahead_batch_max=32 llite.lustre-ffff8800aa98c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800aa98c000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8800aa98c000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m21.413s user 0m0.228s sys 0m9.536s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8800aa98c000.batch_stats= snapshot_time: 1747850100.840976524 secs.nsecs start_time: 1747850076.983179311 secs.nsecs elapsed_time: 23.857797213 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 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8800aa98c000.batch_stats=0 llite.lustre-ffff8800aa98c000.statahead_max=2048 llite.lustre-ffff8800aa98c000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8800aa98c000.batch_stats=0 total: 100 open/close in 0.58 seconds: 170.99 ops/second llite.lustre-ffff8800aa98c000.statahead_max=0 101 real 0m0.557s user 0m0.010s sys 0m0.213s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8800aa98c000.statahead_max=2048 2048 101 real 0m0.291s user 0m0.007s sys 0m0.123s 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: 3 total: 900 open/close in 1.67 seconds: 538.34 ops/second llite.lustre-ffff8800aa98c000.statahead_max=0 1001 real 0m5.191s user 0m0.026s sys 0m2.066s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff8800aa98c000.statahead_max=2048 2048 1001 real 0m1.401s user 0m0.019s sys 0m0.995s ls -l 1000 files with statahead: 1 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 4 - open/close 5572 (time 1747850185.41 total 10.00 last 557.17) total: 9000 open/close in 16.25 seconds: 553.84 ops/second llite.lustre-ffff8800aa98c000.statahead_max=0 10001 real 0m51.171s user 0m0.285s sys 0m19.618s ls -l 10000 files without statahead: 52 sec llite.lustre-ffff8800aa98c000.statahead_max=2048 2048 10001 real 0m10.091s user 0m0.197s sys 0m8.633s ls -l 10000 files with statahead: 10 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 5 ls -l done rm -r /mnt/lustre/d123ad.sanity: 34 seconds llite.lustre-ffff8800aa98c000.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 5 mdc.lustre-MDT0000-mdc-ffff8800aa98c000.batch_stats= snapshot_time: 1747850292.629104723 secs.nsecs start_time: 1747850101.264076977 secs.nsecs elapsed_time: 191.365027746 secs.nsecs subreqs per batch batches % cum % 1: 199 62 62 2: 13 4 66 4: 17 5 72 8: 14 4 76 16: 22 6 83 32: 9 2 86 64: 3 0 87 128: 0 0 87 256: 40 12 100 - open/close 5569 (time 1747850303.19 total 10.00 last 556.80) total: 10000 open/close in 18.24 seconds: 548.32 ops/second llite.lustre-ffff8800aa98c000.statahead_batch_max=0 llite.lustre-ffff8800aa98c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800aa98c000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m9.674s user 0m0.199s sys 0m8.577s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8800aa98c000.statahead_batch_max=256 llite.lustre-ffff8800aa98c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800aa98c000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8800aa98c000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m9.401s user 0m0.197s sys 0m8.043s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8800aa98c000.batch_stats= snapshot_time: 1747850334.604029185 secs.nsecs start_time: 1747850322.901086559 secs.nsecs elapsed_time: 11.702942626 secs.nsecs subreqs per batch batches % cum % 1: 186 61 61 2: 14 4 65 4: 16 5 71 8: 13 4 75 16: 30 9 85 32: 9 2 88 64: 0 0 88 128: 0 0 88 256: 36 11 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff8800aa98c000.statahead_batch_max=64 llite.lustre-ffff8800aa98c000.statahead_max=128