== sanity test 123ad: Verify batching statahead works correctly ========================================================== 13:12:08 (1731348728) batching: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8800b6f3d000.batch_stats=0 llite.lustre-ffff8800b6f3d000.statahead_max=32 llite.lustre-ffff8800b6f3d000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8800b6f3d000.batch_stats=0 total: 100 open/close in 0.83 seconds: 121.08 ops/second llite.lustre-ffff8800b6f3d000.statahead_max=0 101 real 0m0.644s user 0m0.009s sys 0m0.235s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8800b6f3d000.statahead_max=32 32 101 real 0m0.332s user 0m0.002s sys 0m0.108s ls -l 100 files with statahead: 0 sec statahead total: 28 statahead wrong: 0 agl total: 28 list_total: 28 fname_total: 0 hit_total: 1353 miss_total: 139 total: 900 open/close in 1.60 seconds: 563.53 ops/second llite.lustre-ffff8800b6f3d000.statahead_max=0 1001 real 0m6.508s user 0m0.033s sys 0m2.353s ls -l 1000 files without statahead: 7 sec llite.lustre-ffff8800b6f3d000.statahead_max=32 32 1001 real 0m2.208s user 0m0.030s sys 0m1.048s ls -l 1000 files with statahead: 3 sec statahead total: 29 statahead wrong: 0 agl total: 29 list_total: 29 fname_total: 0 hit_total: 2352 miss_total: 140 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: 2352 miss_total: 140 mdc.lustre-MDT0000-mdc-ffff8800b6f3d000.batch_stats= snapshot_time: 1731348750.822153909 secs.nsecs start_time: 1731348730.026889790 secs.nsecs elapsed_time: 20.795264119 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 1 2 2 4: 0 0 2 8: 2 5 7 16: 2 5 12 32: 34 87 100 - open/close 3958 (time 1731348761.43 total 10.00 last 395.75) - open/close 8296 (time 1731348771.43 total 20.00 last 433.78) total: 10000 open/close in 23.05 seconds: 433.78 ops/second llite.lustre-ffff8800b6f3d000.statahead_batch_max=0 llite.lustre-ffff8800b6f3d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800b6f3d000.stats=clear 10001 real 0m9.118s user 0m0.196s sys 0m8.389s llite.lustre-ffff8800b6f3d000.statahead_batch_max=32 llite.lustre-ffff8800b6f3d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800b6f3d000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8800b6f3d000.stats=clear 10001 real 0m19.943s user 0m0.206s sys 0m8.824s unbatched RPCs: 10004, batched RPCs: 315 mdc.lustre-MDT0000-mdc-ffff8800b6f3d000.batch_stats= snapshot_time: 1731348807.568818713 secs.nsecs start_time: 1731348785.392642016 secs.nsecs elapsed_time: 22.176176697 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 batching: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8800b6f3d000.batch_stats=0 llite.lustre-ffff8800b6f3d000.statahead_max=2048 llite.lustre-ffff8800b6f3d000.statahead_batch_max=256 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8800b6f3d000.batch_stats=0 total: 100 open/close in 0.49 seconds: 202.39 ops/second llite.lustre-ffff8800b6f3d000.statahead_max=0 101 real 0m0.492s user 0m0.003s sys 0m0.179s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8800b6f3d000.statahead_max=2048 2048 101 real 0m0.254s user 0m0.001s sys 0m0.103s 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: 2 total: 900 open/close in 1.59 seconds: 565.67 ops/second llite.lustre-ffff8800b6f3d000.statahead_max=0 1001 real 0m4.882s user 0m0.022s sys 0m1.772s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff8800b6f3d000.statahead_max=2048 2048 1001 real 0m1.184s user 0m0.015s sys 0m0.735s 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: 3 - open/close 5625 (time 1731348865.44 total 10.00 last 562.42) total: 9000 open/close in 15.94 seconds: 564.53 ops/second llite.lustre-ffff8800b6f3d000.statahead_max=0 10001 real 0m47.418s user 0m0.235s sys 0m17.204s ls -l 10000 files without statahead: 47 sec llite.lustre-ffff8800b6f3d000.statahead_max=2048 2048 10001 real 0m10.011s user 0m0.247s sys 0m8.657s 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: 4 ls -l done rm -r /mnt/lustre/d123ad.sanity/: 33 seconds rm done statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 4 mdc.lustre-MDT0000-mdc-ffff8800b6f3d000.batch_stats= snapshot_time: 1731348968.140798583 secs.nsecs start_time: 1731348808.169728265 secs.nsecs elapsed_time: 159.971070318 secs.nsecs subreqs per batch batches % cum % 1: 235 66 66 2: 11 3 69 4: 12 3 72 8: 18 5 77 16: 19 5 82 32: 19 5 88 64: 2 0 88 128: 1 0 89 256: 39 10 100 - open/close 5798 (time 1731348978.70 total 10.00 last 579.71) total: 10000 open/close in 17.33 seconds: 577.13 ops/second llite.lustre-ffff8800b6f3d000.statahead_batch_max=0 llite.lustre-ffff8800b6f3d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800b6f3d000.stats=clear 10001 real 0m9.700s user 0m0.175s sys 0m8.525s llite.lustre-ffff8800b6f3d000.statahead_batch_max=256 llite.lustre-ffff8800b6f3d000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800b6f3d000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8800b6f3d000.stats=clear 10001 real 0m9.231s user 0m0.185s sys 0m7.935s unbatched RPCs: 10004, batched RPCs: 324 mdc.lustre-MDT0000-mdc-ffff8800b6f3d000.batch_stats= snapshot_time: 1731349008.743788928 secs.nsecs start_time: 1731348997.430945159 secs.nsecs elapsed_time: 11.312843769 secs.nsecs subreqs per batch batches % cum % 1: 217 66 66 2: 14 4 71 4: 15 4 75 8: 8 2 78 16: 16 4 83 32: 17 5 88 64: 1 0 88 128: 1 0 89 256: 35 10 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-ffff8800b6f3d000.statahead_batch_max=64 llite.lustre-ffff8800b6f3d000.statahead_max=128