== sanity test 123ad: Verify batching statahead works correctly ========================================================== 21:51:50 (1723254710) batching: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff880137307000.batch_stats=0 llite.lustre-ffff880137307000.statahead_max=32 llite.lustre-ffff880137307000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff880137307000.batch_stats=0 total: 100 open/close in 0.63 seconds: 159.86 ops/second llite.lustre-ffff880137307000.statahead_max=0 101 real 0m0.731s user 0m0.006s sys 0m0.238s ls -l 100 files without statahead: 1 sec llite.lustre-ffff880137307000.statahead_max=32 32 101 real 0m0.342s user 0m0.004s sys 0m0.117s ls -l 100 files with statahead: 1 sec statahead total: 28 statahead wrong: 0 agl total: 28 list_total: 28 fname_total: 0 hit_total: 1700 miss_total: 138 total: 900 open/close in 2.82 seconds: 319.50 ops/second llite.lustre-ffff880137307000.statahead_max=0 1001 real 0m7.139s user 0m0.043s sys 0m2.379s ls -l 1000 files without statahead: 7 sec llite.lustre-ffff880137307000.statahead_max=32 32 1001 real 0m2.026s user 0m0.020s sys 0m0.926s ls -l 1000 files with statahead: 2 sec statahead total: 29 statahead wrong: 0 agl total: 29 list_total: 29 fname_total: 0 hit_total: 2699 miss_total: 139 ls -l done rm -r /mnt/lustre/d123ad.sanity/: 4 seconds rm done statahead total: 29 statahead wrong: 0 agl total: 29 list_total: 29 fname_total: 0 hit_total: 2699 miss_total: 139 mdc.lustre-MDT0000-mdc-ffff880137307000.batch_stats= snapshot_time: 1723254733.866366685 secs.nsecs start_time: 1723254711.962423512 secs.nsecs elapsed_time: 21.903943173 secs.nsecs subreqs per batch batches % cum % 1: 1 2 2 2: 0 0 2 4: 1 2 5 8: 2 5 10 16: 2 5 15 32: 34 85 100 - open/close 3476 (time 1723254744.47 total 10.00 last 347.57) - open/close 6988 (time 1723254754.47 total 20.00 last 351.15) total: 10000 open/close in 29.58 seconds: 338.04 ops/second llite.lustre-ffff880137307000.statahead_batch_max=0 llite.lustre-ffff880137307000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff880137307000.stats=clear 10001 real 0m12.680s user 0m0.211s sys 0m8.365s llite.lustre-ffff880137307000.statahead_batch_max=32 llite.lustre-ffff880137307000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff880137307000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff880137307000.stats=clear 10001 real 0m23.158s user 0m0.253s sys 0m9.508s unbatched RPCs: 10004, batched RPCs: 316 mdc.lustre-MDT0000-mdc-ffff880137307000.batch_stats= snapshot_time: 1723254804.696821878 secs.nsecs start_time: 1723254778.825278550 secs.nsecs elapsed_time: 25.871543328 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 2 0 1 32: 312 98 100 batching: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff880137307000.batch_stats=0 llite.lustre-ffff880137307000.statahead_max=2048 llite.lustre-ffff880137307000.statahead_batch_max=256 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff880137307000.batch_stats=0 total: 100 open/close in 0.67 seconds: 149.77 ops/second llite.lustre-ffff880137307000.statahead_max=0 101 real 0m0.827s user 0m0.009s sys 0m0.249s ls -l 100 files without statahead: 0 sec llite.lustre-ffff880137307000.statahead_max=2048 2048 101 real 0m0.323s user 0m0.005s sys 0m0.133s 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: 17 total: 900 open/close in 3.44 seconds: 261.74 ops/second llite.lustre-ffff880137307000.statahead_max=0 1001 real 0m7.809s user 0m0.066s sys 0m2.358s ls -l 1000 files without statahead: 7 sec llite.lustre-ffff880137307000.statahead_max=2048 2048 1001 real 0m1.339s user 0m0.013s sys 0m0.932s 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: 18 ls -l done rm -r /mnt/lustre/d123ad.sanity/: 6 seconds rm done statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 18 mdc.lustre-MDT0000-mdc-ffff880137307000.batch_stats= snapshot_time: 1723254878.203799370 secs.nsecs start_time: 1723254805.460513651 secs.nsecs elapsed_time: 72.743285719 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 22 22 16: 2 22 44 32: 0 0 44 64: 0 0 44 128: 1 11 55 256: 4 44 100 - open/close 1993 (time 1723254889.09 total 10.00 last 199.29) - open/close 4431 (time 1723254899.09 total 20.00 last 243.78) - open/close 6637 (time 1723254909.09 total 30.00 last 220.53) - open/close 9237 (time 1723254919.09 total 40.01 last 259.98) total: 10000 open/close in 42.87 seconds: 233.29 ops/second llite.lustre-ffff880137307000.statahead_batch_max=0 llite.lustre-ffff880137307000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff880137307000.stats=clear 10001 real 0m11.081s user 0m0.237s sys 0m9.040s llite.lustre-ffff880137307000.statahead_batch_max=256 llite.lustre-ffff880137307000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff880137307000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff880137307000.stats=clear 10001 real 0m10.735s user 0m0.245s sys 0m8.975s unbatched RPCs: 10004, batched RPCs: 277 mdc.lustre-MDT0000-mdc-ffff880137307000.batch_stats= snapshot_time: 1723254949.050568102 secs.nsecs start_time: 1723254935.226853742 secs.nsecs elapsed_time: 13.823714360 secs.nsecs subreqs per batch batches % cum % 1: 176 63 63 2: 11 3 67 4: 6 2 69 8: 16 5 75 16: 13 4 80 32: 18 6 86 64: 0 0 86 128: 1 0 87 256: 36 12 100 seq.cli-lustre-OST0000-super.width=33554431 seq.cli-lustre-OST0001-super.width=33554431 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff880137307000.statahead_batch_max=64 llite.lustre-ffff880137307000.statahead_max=128