== sanity test 123ad: Verify batching statahead works correctly ========================================================== 07:33:32 (1786534412) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9a1b88993000.batch_stats=0 llite.lustre-ffff9a1b88993000.statahead_max=32 llite.lustre-ffff9a1b88993000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9a1b88993000.batch_stats=0 total: 100 open/close in 0.64 seconds: 155.11 ops/second llite.lustre-ffff9a1b88993000.statahead_max=0 101 real 0m0.575s user 0m0.002s sys 0m0.232s 'ls -l' 100 files without statahead: 0 sec llite.lustre-ffff9a1b88993000.statahead_max=32 llite.lustre-ffff9a1b88993000.statahead_max=32 101 real 0m0.373s user 0m0.001s sys 0m0.211s 'ls -l' 100 files with statahead: 0 sec statahead total: 117 statahead wrong: 2 agl total: 112 list_total: 29 fname_total: 83 hit_total: 3775 miss_total: 1702 swrong=2 ewrong=2 total: 900 open/close in 1.90 seconds: 472.77 ops/second llite.lustre-ffff9a1b88993000.statahead_max=0 1001 real 0m6.140s user 0m0.022s sys 0m2.380s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff9a1b88993000.statahead_max=32 llite.lustre-ffff9a1b88993000.statahead_max=32 1001 real 0m3.842s user 0m0.015s sys 0m2.287s 'ls -l' 1000 files with statahead: 3 sec statahead total: 118 statahead wrong: 2 agl total: 113 list_total: 30 fname_total: 83 hit_total: 4774 miss_total: 1703 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 5 seconds llite.lustre-ffff9a1b88993000.statahead_stats= statahead total: 118 statahead wrong: 2 agl total: 113 list_total: 30 fname_total: 83 hit_total: 4774 miss_total: 1703 mdc.lustre-MDT0000-mdc-ffff9a1b88993000.batch_stats= snapshot_time: 1786534437.012179268 secs.nsecs start_time: 1786534413.562188198 secs.nsecs elapsed_time: 23.449991070 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 3 7 10 16: 2 5 15 32: 34 85 100 - open/close 4763 (time 1786534448.80 total 10.00 last 476.22) - open/close 9733 (time 1786534458.80 total 20.00 last 496.98) total: 10000 open/close in 20.55 seconds: 486.70 ops/second llite.lustre-ffff9a1b88993000.statahead_batch_max=0 llite.lustre-ffff9a1b88993000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a1b88993000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.691s user 0m0.190s sys 0m29.776s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9a1b88993000.statahead_batch_max=32 llite.lustre-ffff9a1b88993000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a1b88993000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9a1b88993000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m37.686s user 0m0.157s sys 0m21.031s batched statahead RPC= hit count=9997 mdc.lustre-MDT0000-mdc-ffff9a1b88993000.batch_stats= snapshot_time: 1786534539.000183486 secs.nsecs start_time: 1786534494.926317042 secs.nsecs elapsed_time: 44.073866444 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-ffff9a1b88993000.batch_stats=0 llite.lustre-ffff9a1b88993000.statahead_max=2048 llite.lustre-ffff9a1b88993000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9a1b88993000.batch_stats=0 total: 100 open/close in 0.75 seconds: 132.89 ops/second llite.lustre-ffff9a1b88993000.statahead_max=0 101 real 0m0.685s user 0m0.003s sys 0m0.268s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff9a1b88993000.statahead_max=2048 llite.lustre-ffff9a1b88993000.statahead_max=2048 101 real 0m0.446s user 0m0.003s sys 0m0.383s '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.00 seconds: 450.60 ops/second llite.lustre-ffff9a1b88993000.statahead_max=0 1001 real 0m6.508s user 0m0.032s sys 0m2.432s 'ls -l' 1000 files without statahead: 7 sec llite.lustre-ffff9a1b88993000.statahead_max=2048 llite.lustre-ffff9a1b88993000.statahead_max=2048 1001 real 0m3.158s user 0m0.012s sys 0m1.852s '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: 6 seconds llite.lustre-ffff9a1b88993000.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-ffff9a1b88993000.batch_stats= snapshot_time: 1786534659.446986303 secs.nsecs start_time: 1786534539.767807669 secs.nsecs elapsed_time: 119.679178634 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 4106 (time 1786534670.23 total 10.00 last 410.55) - open/close 8354 (time 1786534680.23 total 20.00 last 424.80) total: 10000 open/close in 23.37 seconds: 427.96 ops/second llite.lustre-ffff9a1b88993000.statahead_batch_max=0 llite.lustre-ffff9a1b88993000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a1b88993000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m30.958s user 0m0.156s sys 0m25.801s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9a1b88993000.statahead_batch_max=256 llite.lustre-ffff9a1b88993000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a1b88993000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9a1b88993000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m27.445s user 0m0.161s sys 0m19.272s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9a1b88993000.batch_stats= snapshot_time: 1786534750.861023371 secs.nsecs start_time: 1786534717.485692335 secs.nsecs elapsed_time: 33.375331036 secs.nsecs subreqs per batch batches %% cum %% 1: 244 61 61 2: 53 13 74 4: 32 8 82 8: 9 2 84 16: 7 1 86 32: 19 4 91 64: 1 0 91 128: 0 0 91 256: 35 8 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-ffff9a1b88993000.statahead_batch_max=64 llite.lustre-ffff9a1b88993000.statahead_max=128