== sanity test 123ad: Verify batching statahead works correctly ========================================================== 02:51:27 (1786344687) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff94c6c3346800.batch_stats=0 llite.lustre-ffff94c6c3346800.statahead_max=32 llite.lustre-ffff94c6c3346800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff94c6c3346800.batch_stats=0 total: 100 open/close in 0.73 seconds: 137.07 ops/second llite.lustre-ffff94c6c3346800.statahead_max=0 101 real 0m0.614s user 0m0.004s sys 0m0.238s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff94c6c3346800.statahead_max=32 llite.lustre-ffff94c6c3346800.statahead_max=32 101 real 0m0.362s user 0m0.006s sys 0m0.233s 'ls -l' 100 files with statahead: 1 sec statahead total: 112 statahead wrong: 2 agl total: 106 list_total: 30 fname_total: 73 hit_total: 3628 miss_total: 1635 swrong=2 ewrong=2 total: 900 open/close in 2.08 seconds: 431.68 ops/second llite.lustre-ffff94c6c3346800.statahead_max=0 1001 real 0m6.434s user 0m0.018s sys 0m2.367s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff94c6c3346800.statahead_max=32 llite.lustre-ffff94c6c3346800.statahead_max=32 1001 real 0m3.562s user 0m0.018s sys 0m1.982s 'ls -l' 1000 files with statahead: 4 sec statahead total: 113 statahead wrong: 2 agl total: 107 list_total: 31 fname_total: 73 hit_total: 4627 miss_total: 1636 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 6 seconds llite.lustre-ffff94c6c3346800.statahead_stats= statahead total: 113 statahead wrong: 2 agl total: 107 list_total: 31 fname_total: 73 hit_total: 4627 miss_total: 1636 mdc.lustre-MDT0000-mdc-ffff94c6c3346800.batch_stats= snapshot_time: 1786344713.923700165 secs.nsecs start_time: 1786344688.853854204 secs.nsecs elapsed_time: 25.069845961 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 7 7 16: 2 5 12 32: 34 87 100 - open/close 3879 (time 1786344724.65 total 10.00 last 387.81) - open/close 8013 (time 1786344734.65 total 20.00 last 413.36) total: 10000 open/close in 24.64 seconds: 405.89 ops/second llite.lustre-ffff94c6c3346800.statahead_batch_max=0 llite.lustre-ffff94c6c3346800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff94c6c3346800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.066s user 0m0.179s sys 0m30.458s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff94c6c3346800.statahead_batch_max=32 llite.lustre-ffff94c6c3346800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff94c6c3346800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff94c6c3346800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m39.495s user 0m0.178s sys 0m22.717s batched statahead RPC= hit count=9997 mdc.lustre-MDT0000-mdc-ffff94c6c3346800.batch_stats= snapshot_time: 1786344819.842976218 secs.nsecs start_time: 1786344774.390927119 secs.nsecs elapsed_time: 45.452049099 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-ffff94c6c3346800.batch_stats=0 llite.lustre-ffff94c6c3346800.statahead_max=2048 llite.lustre-ffff94c6c3346800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff94c6c3346800.batch_stats=0 total: 100 open/close in 1.05 seconds: 94.83 ops/second llite.lustre-ffff94c6c3346800.statahead_max=0 101 real 0m0.660s user 0m0.002s sys 0m0.250s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff94c6c3346800.statahead_max=2048 llite.lustre-ffff94c6c3346800.statahead_max=2048 101 real 0m0.379s user 0m0.003s sys 0m0.239s '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: 10096 miss_total: 4 swrong=0 ewrong=0 total: 900 open/close in 2.42 seconds: 372.07 ops/second llite.lustre-ffff94c6c3346800.statahead_max=0 1001 real 0m7.033s user 0m0.031s sys 0m2.474s 'ls -l' 1000 files without statahead: 7 sec llite.lustre-ffff94c6c3346800.statahead_max=2048 llite.lustre-ffff94c6c3346800.statahead_max=2048 1001 real 0m3.230s user 0m0.014s sys 0m1.831s '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: 11095 miss_total: 5 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 8 seconds llite.lustre-ffff94c6c3346800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11095 miss_total: 5 mdc.lustre-MDT0000-mdc-ffff94c6c3346800.batch_stats= snapshot_time: 1786344937.659660142 secs.nsecs start_time: 1786344820.678964608 secs.nsecs elapsed_time: 116.980695534 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 3487 (time 1786344948.50 total 10.00 last 348.64) - open/close 6878 (time 1786344958.50 total 20.00 last 339.06) total: 10000 open/close in 27.76 seconds: 360.24 ops/second llite.lustre-ffff94c6c3346800.statahead_batch_max=0 llite.lustre-ffff94c6c3346800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff94c6c3346800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.015s user 0m0.195s sys 0m26.522s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff94c6c3346800.statahead_batch_max=256 llite.lustre-ffff94c6c3346800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff94c6c3346800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff94c6c3346800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m30.276s user 0m0.139s sys 0m20.169s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff94c6c3346800.batch_stats= snapshot_time: 1786345038.293138689 secs.nsecs start_time: 1786345001.644170262 secs.nsecs elapsed_time: 36.648968427 secs.nsecs subreqs per batch batches %% cum %% 1: 527 68 68 2: 109 14 82 4: 61 7 90 8: 10 1 92 16: 7 0 93 32: 18 2 95 64: 2 0 95 128: 0 0 95 256: 33 4 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-ffff94c6c3346800.statahead_batch_max=64 llite.lustre-ffff94c6c3346800.statahead_max=128