== sanity test 123ad: Verify batching statahead works correctly ========================================================== 09:18:16 (1786195096) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8ca1c8ca9800.batch_stats=0 llite.lustre-ffff8ca1c8ca9800.statahead_max=32 llite.lustre-ffff8ca1c8ca9800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8ca1c8ca9800.batch_stats=0 total: 100 open/close in 0.70 seconds: 142.28 ops/second llite.lustre-ffff8ca1c8ca9800.statahead_max=0 101 real 0m0.665s user 0m0.002s sys 0m0.273s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff8ca1c8ca9800.statahead_max=32 llite.lustre-ffff8ca1c8ca9800.statahead_max=32 101 real 0m0.541s user 0m0.004s sys 0m0.304s 'ls -l' 100 files with statahead: 0 sec statahead total: 95 statahead wrong: 1 agl total: 90 list_total: 30 fname_total: 65 hit_total: 14291 miss_total: 248 swrong=1 ewrong=1 total: 900 open/close in 2.10 seconds: 427.91 ops/second llite.lustre-ffff8ca1c8ca9800.statahead_max=0 1001 real 0m6.291s user 0m0.018s sys 0m2.495s 'ls -l' 1000 files without statahead: 7 sec llite.lustre-ffff8ca1c8ca9800.statahead_max=32 llite.lustre-ffff8ca1c8ca9800.statahead_max=32 1001 real 0m4.670s user 0m0.015s sys 0m2.712s 'ls -l' 1000 files with statahead: 5 sec statahead total: 96 statahead wrong: 1 agl total: 91 list_total: 31 fname_total: 65 hit_total: 15290 miss_total: 249 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 5 seconds llite.lustre-ffff8ca1c8ca9800.statahead_stats= statahead total: 96 statahead wrong: 1 agl total: 91 list_total: 31 fname_total: 65 hit_total: 15290 miss_total: 249 mdc.lustre-MDT0000-mdc-ffff8ca1c8ca9800.batch_stats= snapshot_time: 1786195124.171935035 secs.nsecs start_time: 1786195098.102339492 secs.nsecs elapsed_time: 26.069595543 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 2 2 8: 2 5 7 16: 2 5 12 32: 34 87 100 - open/close 4137 (time 1786195135.72 total 10.00 last 413.64) - open/close 8475 (time 1786195145.72 total 20.00 last 433.74) total: 10000 open/close in 23.57 seconds: 424.23 ops/second llite.lustre-ffff8ca1c8ca9800.statahead_batch_max=0 llite.lustre-ffff8ca1c8ca9800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ca1c8ca9800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m47.446s user 0m0.189s sys 0m43.470s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8ca1c8ca9800.statahead_batch_max=32 llite.lustre-ffff8ca1c8ca9800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ca1c8ca9800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8ca1c8ca9800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m47.202s user 0m0.200s sys 0m28.544s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8ca1c8ca9800.batch_stats= snapshot_time: 1786195254.462682369 secs.nsecs start_time: 1786195199.891086424 secs.nsecs elapsed_time: 54.571595945 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-ffff8ca1c8ca9800.batch_stats=0 llite.lustre-ffff8ca1c8ca9800.statahead_max=2048 llite.lustre-ffff8ca1c8ca9800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8ca1c8ca9800.batch_stats=0 total: 100 open/close in 0.76 seconds: 132.18 ops/second llite.lustre-ffff8ca1c8ca9800.statahead_max=0 101 real 0m1.357s user 0m0.008s sys 0m0.304s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8ca1c8ca9800.statahead_max=2048 llite.lustre-ffff8ca1c8ca9800.statahead_max=2048 101 real 0m0.533s user 0m0.002s sys 0m0.350s '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 2.24 seconds: 402.62 ops/second llite.lustre-ffff8ca1c8ca9800.statahead_max=0 1001 real 0m6.532s user 0m0.017s sys 0m2.513s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff8ca1c8ca9800.statahead_max=2048 llite.lustre-ffff8ca1c8ca9800.statahead_max=2048 1001 real 0m3.723s user 0m0.008s sys 0m1.362s '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: 5 seconds llite.lustre-ffff8ca1c8ca9800.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-ffff8ca1c8ca9800.batch_stats= snapshot_time: 1786195379.463600667 secs.nsecs start_time: 1786195255.356187794 secs.nsecs elapsed_time: 124.107412873 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 4321 (time 1786195391.33 total 10.00 last 432.02) - open/close 8520 (time 1786195401.33 total 20.00 last 419.82) total: 10000 open/close in 23.41 seconds: 427.13 ops/second llite.lustre-ffff8ca1c8ca9800.statahead_batch_max=0 llite.lustre-ffff8ca1c8ca9800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ca1c8ca9800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m49.188s user 0m0.178s sys 0m40.033s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8ca1c8ca9800.statahead_batch_max=256 llite.lustre-ffff8ca1c8ca9800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ca1c8ca9800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8ca1c8ca9800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.858s user 0m0.144s sys 0m23.736s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8ca1c8ca9800.batch_stats= snapshot_time: 1786195499.618771116 secs.nsecs start_time: 1786195457.164335940 secs.nsecs elapsed_time: 42.454435176 secs.nsecs subreqs per batch batches %% cum %% 1: 249 62 62 2: 59 14 77 4: 24 6 83 8: 2 0 84 16: 4 1 85 32: 23 5 90 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-ffff8ca1c8ca9800.statahead_batch_max=64 llite.lustre-ffff8ca1c8ca9800.statahead_max=128