== sanity test 123ad: Verify batching statahead works correctly ========================================================== 09:10:58 (1786194658) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9a533b7c4000.batch_stats=0 llite.lustre-ffff9a533b7c4000.statahead_max=32 llite.lustre-ffff9a533b7c4000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9a533b7c4000.batch_stats=0 total: 100 open/close in 0.67 seconds: 149.68 ops/second llite.lustre-ffff9a533b7c4000.statahead_max=0 101 real 0m0.684s user 0m0.002s sys 0m0.252s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff9a533b7c4000.statahead_max=32 llite.lustre-ffff9a533b7c4000.statahead_max=32 101 real 0m0.424s user 0m0.007s sys 0m0.246s 'ls -l' 100 files with statahead: 1 sec statahead total: 99 statahead wrong: 2 agl total: 94 list_total: 30 fname_total: 69 hit_total: 14074 miss_total: 1130 swrong=2 ewrong=2 total: 900 open/close in 2.02 seconds: 444.58 ops/second llite.lustre-ffff9a533b7c4000.statahead_max=0 1001 real 0m5.945s user 0m0.017s sys 0m2.288s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff9a533b7c4000.statahead_max=32 llite.lustre-ffff9a533b7c4000.statahead_max=32 1001 real 0m3.815s user 0m0.017s sys 0m2.219s 'ls -l' 1000 files with statahead: 4 sec statahead total: 100 statahead wrong: 2 agl total: 95 list_total: 31 fname_total: 69 hit_total: 15073 miss_total: 1131 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 6 seconds llite.lustre-ffff9a533b7c4000.statahead_stats= statahead total: 100 statahead wrong: 2 agl total: 95 list_total: 31 fname_total: 69 hit_total: 15073 miss_total: 1131 mdc.lustre-MDT0000-mdc-ffff9a533b7c4000.batch_stats= snapshot_time: 1786194684.953418577 secs.nsecs start_time: 1786194659.765238698 secs.nsecs elapsed_time: 25.188179879 secs.nsecs subreqs per batch batches %% cum %% 1: 2 4 4 2: 0 0 4 4: 1 2 7 8: 2 4 12 16: 2 4 17 32: 34 82 100 - open/close 4317 (time 1786194695.70 total 10.00 last 431.70) - open/close 8570 (time 1786194705.70 total 20.00 last 425.21) total: 10000 open/close in 23.16 seconds: 431.78 ops/second llite.lustre-ffff9a533b7c4000.statahead_batch_max=0 llite.lustre-ffff9a533b7c4000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a533b7c4000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.101s user 0m0.169s sys 0m33.490s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9a533b7c4000.statahead_batch_max=32 llite.lustre-ffff9a533b7c4000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a533b7c4000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9a533b7c4000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m43.057s user 0m0.158s sys 0m26.022s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9a533b7c4000.batch_stats= snapshot_time: 1786194796.472530905 secs.nsecs start_time: 1786194746.869767891 secs.nsecs elapsed_time: 49.602763014 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-ffff9a533b7c4000.batch_stats=0 llite.lustre-ffff9a533b7c4000.statahead_max=2048 llite.lustre-ffff9a533b7c4000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9a533b7c4000.batch_stats=0 total: 100 open/close in 0.64 seconds: 156.08 ops/second llite.lustre-ffff9a533b7c4000.statahead_max=0 101 real 0m0.624s user 0m0.002s sys 0m0.235s 'ls -l' 100 files without statahead: 0 sec llite.lustre-ffff9a533b7c4000.statahead_max=2048 llite.lustre-ffff9a533b7c4000.statahead_max=2048 101 real 0m0.399s user 0m0.004s sys 0m0.274s '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: 2 swrong=0 ewrong=0 total: 900 open/close in 2.05 seconds: 439.89 ops/second llite.lustre-ffff9a533b7c4000.statahead_max=0 1001 real 0m6.002s user 0m0.018s sys 0m2.328s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff9a533b7c4000.statahead_max=2048 llite.lustre-ffff9a533b7c4000.statahead_max=2048 1001 real 0m3.441s user 0m0.016s sys 0m2.036s 'ls -l' 1000 files with statahead: 3 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 5 seconds llite.lustre-ffff9a533b7c4000.statahead_stats= 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-ffff9a533b7c4000.batch_stats= snapshot_time: 1786194911.371260304 secs.nsecs start_time: 1786194797.274285429 secs.nsecs elapsed_time: 114.096974875 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 20 20 16: 2 20 40 32: 1 10 50 64: 0 0 50 128: 1 10 60 256: 4 40 100 - open/close 4349 (time 1786194922.28 total 10.00 last 434.89) - open/close 8708 (time 1786194932.28 total 20.00 last 435.89) total: 10000 open/close in 22.99 seconds: 435.01 ops/second llite.lustre-ffff9a533b7c4000.statahead_batch_max=0 llite.lustre-ffff9a533b7c4000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a533b7c4000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.626s user 0m0.158s sys 0m29.130s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9a533b7c4000.statahead_batch_max=256 llite.lustre-ffff9a533b7c4000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a533b7c4000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9a533b7c4000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.474s user 0m0.152s sys 0m22.734s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9a533b7c4000.batch_stats= snapshot_time: 1786195010.864070812 secs.nsecs start_time: 1786194971.906806360 secs.nsecs elapsed_time: 38.957264452 secs.nsecs subreqs per batch batches %% cum %% 1: 317 67 67 2: 52 11 78 4: 30 6 85 8: 7 1 86 16: 6 1 88 32: 20 4 92 64: 1 0 92 128: 0 0 92 256: 35 7 100 unlink(/mnt/lustre/d123ad.sanity/f123ad.sanity0) error: No such file or directory total: 0 unlinks in 0 seconds: -nan unlinks/second unlink(/mnt/lustre/d123ad.sanity/f123ad.sanity0) error: No such file or directory total: 0 unlinks in 0 seconds: -nan unlinks/second seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff9a533b7c4000.statahead_batch_max=64 llite.lustre-ffff9a533b7c4000.statahead_max=128