== sanity test 123ad: Verify batching statahead works correctly ========================================================== 00:47:10 (1746074830) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff88012a597800.batch_stats=0 llite.lustre-ffff88012a597800.statahead_max=32 llite.lustre-ffff88012a597800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88012a597800.batch_stats=0 total: 100 open/close in 1.45 seconds: 68.88 ops/second llite.lustre-ffff88012a597800.statahead_max=0 101 real 0m1.218s user 0m0.012s sys 0m0.287s ls -l 100 files without statahead: 1 sec llite.lustre-ffff88012a597800.statahead_max=32 32 101 real 0m0.540s user 0m0.004s sys 0m0.127s ls -l 100 files with statahead: 1 sec statahead total: 123 statahead wrong: 2 agl total: 123 list_total: 26 fname_total: 97 hit_total: 6803 miss_total: 1264 total: 900 open/close in 7.04 seconds: 127.75 ops/second llite.lustre-ffff88012a597800.statahead_max=0 1001 real 0m11.695s user 0m0.101s sys 0m2.760s ls -l 1000 files without statahead: 12 sec llite.lustre-ffff88012a597800.statahead_max=32 32 1001 real 0m2.920s user 0m0.024s sys 0m1.004s ls -l 1000 files with statahead: 3 sec statahead total: 124 statahead wrong: 2 agl total: 124 list_total: 27 fname_total: 97 hit_total: 7802 miss_total: 1269 - open/close 1759 (time 1746074873.63 total 10.00 last 175.86) total: 3000 open/close in 16.58 seconds: 180.94 ops/second llite.lustre-ffff88012a597800.statahead_max=0 4001 real 0m43.306s user 0m0.484s sys 0m10.324s ls -l 4000 files without statahead: 44 sec llite.lustre-ffff88012a597800.statahead_max=32 32 4001 real 0m10.914s user 0m0.113s sys 0m3.888s ls -l 4000 files with statahead: 11 sec statahead total: 125 statahead wrong: 2 agl total: 125 list_total: 28 fname_total: 97 hit_total: 11801 miss_total: 1294 ls -l done rm -r /mnt/lustre/d123ad.sanity: 30 seconds llite.lustre-ffff88012a597800.statahead_stats= statahead total: 125 statahead wrong: 2 agl total: 125 list_total: 28 fname_total: 97 hit_total: 11801 miss_total: 1294 mdc.lustre-MDT0000-mdc-ffff88012a597800.batch_stats= snapshot_time: 1746074968.590085428 secs.nsecs start_time: 1746074832.770953613 secs.nsecs elapsed_time: 135.819131815 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 0 0 0 4: 0 0 0 8: 4 2 2 16: 3 1 4 32: 159 95 100 - open/close 1684 (time 1746074979.32 total 10.00 last 168.37) - open/close 3282 (time 1746074989.32 total 20.01 last 159.73) - open/close 4978 (time 1746074999.33 total 30.01 last 169.54) - open/close 6750 (time 1746075009.33 total 40.02 last 177.09) - open/close 8753 (time 1746075019.34 total 50.02 last 200.18) total: 10000 open/close in 57.18 seconds: 174.87 ops/second llite.lustre-ffff88012a597800.statahead_batch_max=0 llite.lustre-ffff88012a597800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012a597800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m18.636s user 0m0.222s sys 0m8.656s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88012a597800.statahead_batch_max=32 llite.lustre-ffff88012a597800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012a597800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88012a597800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.316s user 0m0.281s sys 0m10.028s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88012a597800.batch_stats= snapshot_time: 1746075082.448543164 secs.nsecs start_time: 1746075047.916261985 secs.nsecs elapsed_time: 34.532281179 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-ffff88012a597800.batch_stats=0 llite.lustre-ffff88012a597800.statahead_max=2048 llite.lustre-ffff88012a597800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff88012a597800.batch_stats=0 total: 100 open/close in 1.73 seconds: 57.89 ops/second llite.lustre-ffff88012a597800.statahead_max=0 101 real 0m1.473s user 0m0.017s sys 0m0.286s ls -l 100 files without statahead: 1 sec llite.lustre-ffff88012a597800.statahead_max=2048 2048 101 real 0m0.348s user 0m0.008s sys 0m0.125s ls -l 100 files with statahead: 0 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10098 miss_total: 47 total: 900 open/close in 6.93 seconds: 129.82 ops/second llite.lustre-ffff88012a597800.statahead_max=0 1001 real 0m13.071s user 0m0.109s sys 0m2.820s ls -l 1000 files without statahead: 13 sec llite.lustre-ffff88012a597800.statahead_max=2048 2048 1001 real 0m2.194s user 0m0.031s sys 0m1.076s ls -l 1000 files with statahead: 2 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 48 - open/close 1335 (time 1746075267.77 total 10.00 last 133.48) total: 2000 open/close in 14.16 seconds: 141.24 ops/second llite.lustre-ffff88012a597800.statahead_max=0 3001 real 0m34.296s user 0m0.335s sys 0m8.194s ls -l 3000 files without statahead: 34 sec llite.lustre-ffff88012a597800.statahead_max=2048 2048 3001 real 0m4.604s user 0m0.088s sys 0m2.957s ls -l 3000 files with statahead: 4 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 14096 miss_total: 49 ls -l done rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff88012a597800.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 14096 miss_total: 49 mdc.lustre-MDT0000-mdc-ffff88012a597800.batch_stats= snapshot_time: 1746075339.049156824 secs.nsecs start_time: 1746075083.133627090 secs.nsecs elapsed_time: 255.915529734 secs.nsecs subreqs per batch batches % cum % 1: 78 68 68 2: 4 3 71 4: 4 3 75 8: 4 3 78 16: 4 3 82 32: 4 3 85 64: 0 0 85 128: 1 0 86 256: 15 13 100 - open/close 1723 (time 1746075349.98 total 10.00 last 172.28) - open/close 3489 (time 1746075359.99 total 20.00 last 176.54) - open/close 5786 (time 1746075369.99 total 30.01 last 229.64) - open/close 7427 (time 1746075379.99 total 40.01 last 164.07) - open/close 8996 (time 1746075390.00 total 50.02 last 156.76) total: 10000 open/close in 56.30 seconds: 177.61 ops/second llite.lustre-ffff88012a597800.statahead_batch_max=0 llite.lustre-ffff88012a597800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012a597800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m15.528s user 0m0.205s sys 0m8.474s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88012a597800.statahead_batch_max=256 llite.lustre-ffff88012a597800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012a597800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88012a597800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m13.416s user 0m0.320s sys 0m9.683s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88012a597800.batch_stats= snapshot_time: 1746075431.358049760 secs.nsecs start_time: 1746075414.273146093 secs.nsecs elapsed_time: 17.084903667 secs.nsecs subreqs per batch batches % cum % 1: 237 64 64 2: 28 7 71 4: 22 5 77 8: 13 3 81 16: 19 5 86 32: 13 3 89 64: 2 0 90 128: 0 0 90 256: 35 9 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff88012a597800.statahead_batch_max=64 llite.lustre-ffff88012a597800.statahead_max=128