== sanity test 123ad: Verify batching statahead works correctly ========================================================== 11:45:20 (1786117520) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8cc808f8a800.batch_stats=0 llite.lustre-ffff8cc808f8a800.statahead_max=32 llite.lustre-ffff8cc808f8a800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8cc808f8a800.batch_stats=0 total: 100 open/close in 0.75 seconds: 133.25 ops/second llite.lustre-ffff8cc808f8a800.statahead_max=0 101 real 0m0.891s user 0m0.005s sys 0m0.329s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff8cc808f8a800.statahead_max=32 llite.lustre-ffff8cc808f8a800.statahead_max=32 101 real 0m0.399s user 0m0.002s sys 0m0.259s 'ls -l' 100 files with statahead: 1 sec statahead total: 57 statahead wrong: 1 agl total: 53 list_total: 27 fname_total: 30 hit_total: 13865 miss_total: 215 swrong=1 ewrong=1 total: 900 open/close in 2.21 seconds: 407.91 ops/second llite.lustre-ffff8cc808f8a800.statahead_max=0 1001 real 0m6.939s user 0m0.023s sys 0m2.554s 'ls -l' 1000 files without statahead: 7 sec llite.lustre-ffff8cc808f8a800.statahead_max=32 llite.lustre-ffff8cc808f8a800.statahead_max=32 1001 real 0m4.032s user 0m0.019s sys 0m2.155s 'ls -l' 1000 files with statahead: 4 sec statahead total: 58 statahead wrong: 1 agl total: 54 list_total: 28 fname_total: 30 hit_total: 14864 miss_total: 216 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 8 seconds llite.lustre-ffff8cc808f8a800.statahead_stats= statahead total: 58 statahead wrong: 1 agl total: 54 list_total: 28 fname_total: 30 hit_total: 14864 miss_total: 216 mdc.lustre-MDT0000-mdc-ffff8cc808f8a800.batch_stats= snapshot_time: 1786117552.309510104 secs.nsecs start_time: 1786117522.443501812 secs.nsecs elapsed_time: 29.866008292 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 3932 (time 1786117563.63 total 10.00 last 393.15) - open/close 7366 (time 1786117573.63 total 20.00 last 343.34) total: 10000 open/close in 27.53 seconds: 363.26 ops/second llite.lustre-ffff8cc808f8a800.statahead_batch_max=0 llite.lustre-ffff8cc808f8a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cc808f8a800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m48.674s user 0m0.151s sys 0m44.741s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8cc808f8a800.statahead_batch_max=32 llite.lustre-ffff8cc808f8a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cc808f8a800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8cc808f8a800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m40.570s user 0m0.124s sys 0m22.566s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8cc808f8a800.batch_stats= snapshot_time: 1786117679.953190491 secs.nsecs start_time: 1786117633.206931650 secs.nsecs elapsed_time: 46.746258841 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-ffff8cc808f8a800.batch_stats=0 llite.lustre-ffff8cc808f8a800.statahead_max=2048 llite.lustre-ffff8cc808f8a800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8cc808f8a800.batch_stats=0 total: 100 open/close in 0.70 seconds: 141.89 ops/second llite.lustre-ffff8cc808f8a800.statahead_max=0 101 real 0m0.724s user 0m0.003s sys 0m0.247s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff8cc808f8a800.statahead_max=2048 llite.lustre-ffff8cc808f8a800.statahead_max=2048 101 real 0m0.380s user 0m0.001s sys 0m0.276s '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.14 seconds: 420.66 ops/second llite.lustre-ffff8cc808f8a800.statahead_max=0 1001 real 0m6.294s user 0m0.024s sys 0m2.470s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff8cc808f8a800.statahead_max=2048 llite.lustre-ffff8cc808f8a800.statahead_max=2048 1001 real 0m3.521s user 0m0.017s sys 0m2.018s '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: 7 seconds llite.lustre-ffff8cc808f8a800.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-ffff8cc808f8a800.batch_stats= snapshot_time: 1786117821.980542684 secs.nsecs start_time: 1786117680.805078503 secs.nsecs elapsed_time: 141.175464181 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 4207 (time 1786117832.80 total 10.00 last 420.64) - open/close 8386 (time 1786117842.80 total 20.00 last 417.88) total: 10000 open/close in 23.85 seconds: 419.30 ops/second llite.lustre-ffff8cc808f8a800.statahead_batch_max=0 llite.lustre-ffff8cc808f8a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cc808f8a800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.240s user 0m0.165s sys 0m29.405s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8cc808f8a800.statahead_batch_max=256 llite.lustre-ffff8cc808f8a800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cc808f8a800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8cc808f8a800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m37.216s user 0m0.162s sys 0m24.617s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8cc808f8a800.batch_stats= snapshot_time: 1786117930.927159629 secs.nsecs start_time: 1786117884.992132596 secs.nsecs elapsed_time: 45.935027033 secs.nsecs subreqs per batch batches %% cum %% 1: 369 69 69 2: 81 15 84 4: 17 3 87 8: 6 1 88 16: 6 1 89 32: 19 3 93 64: 1 0 93 128: 0 0 93 256: 35 6 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-ffff8cc808f8a800.statahead_batch_max=64 llite.lustre-ffff8cc808f8a800.statahead_max=128