== sanity test 123ad: Verify batching statahead works correctly ========================================================== 01:22:41 (1726118561) batching: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff88012c765000.batch_stats=0 llite.lustre-ffff88012c765000.statahead_max=32 llite.lustre-ffff88012c765000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88012c765000.batch_stats=0 total: 100 open/close in 0.95 seconds: 105.35 ops/second llite.lustre-ffff88012c765000.statahead_max=0 101 real 0m0.918s user 0m0.003s sys 0m0.303s ls -l 100 files without statahead: 1 sec llite.lustre-ffff88012c765000.statahead_max=32 32 101 real 0m0.346s user 0m0.004s sys 0m0.153s 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: 1590 miss_total: 139 total: 900 open/close in 3.90 seconds: 230.94 ops/second llite.lustre-ffff88012c765000.statahead_max=0 1001 real 0m8.729s user 0m0.037s sys 0m2.739s ls -l 1000 files without statahead: 9 sec llite.lustre-ffff88012c765000.statahead_max=32 32 1001 real 0m2.821s user 0m0.037s sys 0m1.300s 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: 2589 miss_total: 140 ls -l done rm -r /mnt/lustre/d123ad.sanity/: 6 seconds rm done statahead total: 29 statahead wrong: 0 agl total: 29 list_total: 29 fname_total: 0 hit_total: 2589 miss_total: 140 mdc.lustre-MDT0000-mdc-ffff88012c765000.batch_stats= snapshot_time: 1726118592.674436375 secs.nsecs start_time: 1726118563.481150260 secs.nsecs elapsed_time: 29.193286115 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 2247 (time 1726118603.46 total 10.00 last 224.65) - open/close 4525 (time 1726118613.47 total 20.00 last 227.76) - open/close 6823 (time 1726118623.47 total 30.01 last 229.75) - open/close 9069 (time 1726118633.47 total 40.01 last 224.59) total: 10000 open/close in 44.00 seconds: 227.26 ops/second llite.lustre-ffff88012c765000.statahead_batch_max=0 llite.lustre-ffff88012c765000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012c765000.stats=clear 10001 real 0m7.526s user 0m0.164s sys 0m6.788s llite.lustre-ffff88012c765000.statahead_batch_max=32 llite.lustre-ffff88012c765000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012c765000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88012c765000.stats=clear 10001 real 0m28.072s user 0m0.225s sys 0m12.484s unbatched RPCs: 10004, batched RPCs: 315 mdc.lustre-MDT0000-mdc-ffff88012c765000.batch_stats= snapshot_time: 1726118677.475949954 secs.nsecs start_time: 1726118647.046041140 secs.nsecs elapsed_time: 30.429908814 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-ffff88012c765000.batch_stats=0 llite.lustre-ffff88012c765000.statahead_max=2048 llite.lustre-ffff88012c765000.statahead_batch_max=256 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88012c765000.batch_stats=0 total: 100 open/close in 0.91 seconds: 109.37 ops/second llite.lustre-ffff88012c765000.statahead_max=0 101 real 0m0.918s user 0m0.003s sys 0m0.302s ls -l 100 files without statahead: 1 sec llite.lustre-ffff88012c765000.statahead_max=2048 2048 101 real 0m0.307s user 0m0.005s sys 0m0.135s 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 3.79 seconds: 237.52 ops/second llite.lustre-ffff88012c765000.statahead_max=0 1001 real 0m8.616s user 0m0.035s sys 0m2.720s ls -l 1000 files without statahead: 9 sec llite.lustre-ffff88012c765000.statahead_max=2048 2048 1001 real 0m1.048s user 0m0.012s sys 0m0.704s 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 ls -l done rm -r /mnt/lustre/d123ad.sanity/: 5 seconds rm done statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 mdc.lustre-MDT0000-mdc-ffff88012c765000.batch_stats= snapshot_time: 1726118762.668627129 secs.nsecs start_time: 1726118678.368891482 secs.nsecs elapsed_time: 84.299735647 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 2292 (time 1726118773.48 total 10.00 last 229.16) - open/close 4622 (time 1726118783.48 total 20.00 last 232.97) - open/close 6916 (time 1726118793.48 total 30.01 last 229.32) - open/close 9245 (time 1726118803.49 total 40.01 last 232.80) total: 10000 open/close in 43.41 seconds: 230.34 ops/second llite.lustre-ffff88012c765000.statahead_batch_max=0 llite.lustre-ffff88012c765000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012c765000.stats=clear 10001 real 0m7.561s user 0m0.164s sys 0m6.630s llite.lustre-ffff88012c765000.statahead_batch_max=256 llite.lustre-ffff88012c765000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88012c765000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88012c765000.stats=clear 10001 real 0m7.620s user 0m0.162s sys 0m6.434s unbatched RPCs: 10004, batched RPCs: 397 mdc.lustre-MDT0000-mdc-ffff88012c765000.batch_stats= snapshot_time: 1726118826.450618100 secs.nsecs start_time: 1726118816.481870778 secs.nsecs elapsed_time: 9.968747322 secs.nsecs subreqs per batch batches % cum % 1: 293 73 73 2: 10 2 76 4: 12 3 79 8: 12 3 82 16: 16 4 86 32: 15 3 90 64: 4 1 91 128: 0 0 91 256: 35 8 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-ffff88012c765000.statahead_batch_max=64 llite.lustre-ffff88012c765000.statahead_max=128