== sanity test 123ad: Verify batching statahead works correctly ========================================================== 09:13:34 (1786194814) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff924f8312c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff924f8312c800.batch_stats=0 llite.lustre-ffff924f8312c800.statahead_max=32 llite.lustre-ffff924f8312c800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff924f8312c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff924f8312c800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 0.59 seconds: 169.30 ops/second llite.lustre-ffff924f8312c800.statahead_max=0 101 real 0m0.542s user 0m0.001s sys 0m0.216s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff924f8312c800.statahead_max=32 llite.lustre-ffff924f8312c800.statahead_max=32 101 real 0m0.408s user 0m0.002s sys 0m0.219s 'ls -l' 100 files with statahead: 0 sec statahead total: 92 statahead wrong: 2 agl total: 87 list_total: 30 fname_total: 62 hit_total: 14071 miss_total: 1189 swrong=2 ewrong=2 total: 900 open/close in 1.63 seconds: 550.49 ops/second llite.lustre-ffff924f8312c800.statahead_max=0 1001 real 0m5.433s user 0m0.019s sys 0m2.117s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff924f8312c800.statahead_max=32 llite.lustre-ffff924f8312c800.statahead_max=32 1001 real 0m3.668s user 0m0.018s sys 0m1.783s 'ls -l' 1000 files with statahead: 4 sec statahead total: 93 statahead wrong: 2 agl total: 88 list_total: 31 fname_total: 62 hit_total: 15070 miss_total: 1190 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 5 seconds llite.lustre-ffff924f8312c800.statahead_stats= statahead total: 93 statahead wrong: 2 agl total: 88 list_total: 31 fname_total: 62 hit_total: 15070 miss_total: 1190 mdc.lustre-MDT0000-mdc-ffff924f8312c800.batch_stats= snapshot_time: 1786194838.476622821 secs.nsecs start_time: 1786194816.156763924 secs.nsecs elapsed_time: 22.319858897 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 1 2 7 8: 3 7 15 16: 20 51 66 32: 13 33 100 mdc.lustre-MDT0001-mdc-ffff924f8312c800.batch_stats= snapshot_time: 1786194838.476670055 secs.nsecs start_time: 1786194816.156841141 secs.nsecs elapsed_time: 22.319828914 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 2 5 7 4: 1 2 10 8: 3 7 17 16: 18 45 62 32: 15 37 100 - open/close 5480 (time 1786194849.69 total 10.00 last 547.90) total: 10000 open/close in 18.60 seconds: 537.75 ops/second llite.lustre-ffff924f8312c800.statahead_batch_max=0 llite.lustre-ffff924f8312c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff924f8312c800.stats=clear mdc.lustre-MDT0001-mdc-ffff924f8312c800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.774s user 0m0.164s sys 0m32.698s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff924f8312c800.statahead_batch_max=32 llite.lustre-ffff924f8312c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff924f8312c800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff924f8312c800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff924f8312c800.stats=clear mdc.lustre-MDT0001-mdc-ffff924f8312c800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m39.623s user 0m0.171s sys 0m23.087s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff924f8312c800.batch_stats= snapshot_time: 1786194943.397095269 secs.nsecs start_time: 1786194897.136783633 secs.nsecs elapsed_time: 46.260311636 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 mdc.lustre-MDT0001-mdc-ffff924f8312c800.batch_stats= snapshot_time: 1786194943.397157527 secs.nsecs start_time: 1786194897.136836502 secs.nsecs elapsed_time: 46.260321025 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff924f8312c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff924f8312c800.batch_stats=0 llite.lustre-ffff924f8312c800.statahead_max=2048 llite.lustre-ffff924f8312c800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff924f8312c800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff924f8312c800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 0.98 seconds: 102.31 ops/second llite.lustre-ffff924f8312c800.statahead_max=0 101 real 0m0.650s user 0m0.004s sys 0m0.258s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff924f8312c800.statahead_max=2048 llite.lustre-ffff924f8312c800.statahead_max=2048 101 real 0m0.352s user 0m0.004s sys 0m0.250s '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 swrong=0 ewrong=0 total: 900 open/close in 1.97 seconds: 456.75 ops/second llite.lustre-ffff924f8312c800.statahead_max=0 1001 real 0m5.993s user 0m0.020s sys 0m2.313s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff924f8312c800.statahead_max=2048 llite.lustre-ffff924f8312c800.statahead_max=2048 1001 real 0m3.482s user 0m0.012s sys 0m1.386s 'ls -l' 1000 files with statahead: 4 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: 6 seconds llite.lustre-ffff924f8312c800.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-ffff924f8312c800.batch_stats= snapshot_time: 1786195054.297268315 secs.nsecs start_time: 1786194944.216066990 secs.nsecs elapsed_time: 110.081201325 secs.nsecs subreqs per batch batches %% cum %% 1: 1 20 20 2: 0 0 20 4: 2 40 60 8: 0 0 60 16: 0 0 60 32: 0 0 60 64: 0 0 60 128: 0 0 60 256: 2 40 100 mdc.lustre-MDT0001-mdc-ffff924f8312c800.batch_stats= snapshot_time: 1786195054.297321275 secs.nsecs start_time: 1786194944.216199113 secs.nsecs elapsed_time: 110.081122162 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 25 25 16: 2 25 50 32: 0 0 50 64: 2 25 75 128: 0 0 75 256: 2 25 100 - open/close 5041 (time 1786195065.14 total 10.00 last 504.10) total: 10000 open/close in 19.10 seconds: 523.50 ops/second llite.lustre-ffff924f8312c800.statahead_batch_max=0 llite.lustre-ffff924f8312c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff924f8312c800.stats=clear mdc.lustre-MDT0001-mdc-ffff924f8312c800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.963s user 0m0.147s sys 0m26.550s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff924f8312c800.statahead_batch_max=256 llite.lustre-ffff924f8312c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff924f8312c800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff924f8312c800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff924f8312c800.stats=clear mdc.lustre-MDT0001-mdc-ffff924f8312c800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m30.516s user 0m0.167s sys 0m20.919s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff924f8312c800.batch_stats= snapshot_time: 1786195146.374445908 secs.nsecs start_time: 1786195109.111816926 secs.nsecs elapsed_time: 37.262628982 secs.nsecs subreqs per batch batches %% cum %% 1: 472 69 69 2: 98 14 83 4: 38 5 88 8: 14 2 90 16: 4 0 91 32: 22 3 94 64: 3 0 95 128: 0 0 95 256: 33 4 100 mdc.lustre-MDT0001-mdc-ffff924f8312c800.batch_stats= snapshot_time: 1786195146.374485478 secs.nsecs start_time: 1786195109.111866501 secs.nsecs elapsed_time: 37.262618977 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 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-ffff924f8312c800.statahead_batch_max=64 llite.lustre-ffff924f8312c800.statahead_max=128