== sanity test 123ad: Verify batching statahead works correctly ========================================================== 15:22:38 (1758828158) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8da020d4a000.batch_stats=0 llite.lustre-ffff8da020d4a000.statahead_max=32 llite.lustre-ffff8da020d4a000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8da020d4a000.batch_stats=0 total: 100 open/close in 0.69 seconds: 144.42 ops/second llite.lustre-ffff8da020d4a000.statahead_max=0 101 real 0m0.581s user 0m0.004s sys 0m0.200s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8da020d4a000.statahead_max=32 32 101 real 0m0.378s user 0m0.003s sys 0m0.212s ls -l 100 files with statahead: 0 sec statahead total: 56 statahead wrong: 2 agl total: 52 list_total: 27 fname_total: 29 hit_total: 33987 miss_total: 1700 total: 900 open/close in 2.81 seconds: 320.00 ops/second llite.lustre-ffff8da020d4a000.statahead_max=0 1001 real 0m8.447s user 0m0.031s sys 0m2.864s ls -l 1000 files without statahead: 8 sec llite.lustre-ffff8da020d4a000.statahead_max=32 32 1001 real 0m3.602s user 0m0.016s sys 0m1.961s ls -l 1000 files with statahead: 4 sec statahead total: 57 statahead wrong: 2 agl total: 53 list_total: 28 fname_total: 29 hit_total: 34986 miss_total: 1701 - open/close 2648 (time 1758828192.01 total 10.00 last 264.74) - open/close 4827 (time 1758828202.02 total 20.00 last 217.87) - open/close 7627 (time 1758828212.02 total 30.01 last 279.96) total: 9000 open/close in 34.25 seconds: 262.79 ops/second llite.lustre-ffff8da020d4a000.statahead_max=0 10001 real 1m40.478s user 0m0.240s sys 0m32.670s ls -l 10000 files without statahead: 100 sec llite.lustre-ffff8da020d4a000.statahead_max=32 32 10001 real 0m41.487s user 0m0.145s sys 0m21.725s ls -l 10000 files with statahead: 41 sec statahead total: 58 statahead wrong: 2 agl total: 54 list_total: 29 fname_total: 29 hit_total: 44985 miss_total: 1702 ls -l done rm -r /mnt/lustre/d123ad.sanity: 77 seconds llite.lustre-ffff8da020d4a000.statahead_stats= statahead total: 58 statahead wrong: 2 agl total: 54 list_total: 29 fname_total: 29 hit_total: 44985 miss_total: 1702 mdc.lustre-MDT0000-mdc-ffff8da020d4a000.batch_stats= snapshot_time: 1758828447.009580364 secs.nsecs start_time: 1758828160.049855901 secs.nsecs elapsed_time: 286.959724463 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 0 0 0 4: 1 0 0 8: 3 0 1 16: 4 1 2 32: 346 97 100 - open/close 2124 (time 1758828458.88 total 10.00 last 212.40) - open/close 4605 (time 1758828468.88 total 20.00 last 248.06) - open/close 7455 (time 1758828478.88 total 30.00 last 284.97) total: 10000 open/close in 37.63 seconds: 265.76 ops/second llite.lustre-ffff8da020d4a000.statahead_batch_max=0 llite.lustre-ffff8da020d4a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8da020d4a000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m44.617s user 0m0.154s sys 0m42.203s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8da020d4a000.statahead_batch_max=32 llite.lustre-ffff8da020d4a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8da020d4a000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8da020d4a000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m46.188s user 0m0.157s sys 0m24.697s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8da020d4a000.batch_stats= snapshot_time: 1758828584.702758420 secs.nsecs start_time: 1758828533.745874386 secs.nsecs elapsed_time: 50.956884034 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-ffff8da020d4a000.batch_stats=0 llite.lustre-ffff8da020d4a000.statahead_max=2048 llite.lustre-ffff8da020d4a000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8da020d4a000.batch_stats=0 total: 100 open/close in 0.63 seconds: 159.35 ops/second llite.lustre-ffff8da020d4a000.statahead_max=0 101 real 0m0.621s user 0m0.003s sys 0m0.207s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8da020d4a000.statahead_max=2048 2048 101 real 0m0.424s user 0m0.004s sys 0m0.296s 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 total: 900 open/close in 1.85 seconds: 487.50 ops/second llite.lustre-ffff8da020d4a000.statahead_max=0 1001 real 0m5.787s user 0m0.020s sys 0m1.858s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff8da020d4a000.statahead_max=2048 2048 1001 real 0m3.760s user 0m0.010s sys 0m1.895s 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 - open/close 2332 (time 1758828733.97 total 10.00 last 233.16) - open/close 4756 (time 1758828743.97 total 20.00 last 242.39) - open/close 6923 (time 1758828753.98 total 30.01 last 216.61) total: 9000 open/close in 39.50 seconds: 227.87 ops/second llite.lustre-ffff8da020d4a000.statahead_max=0 10001 real 1m23.409s user 0m0.200s sys 0m27.103s ls -l 10000 files without statahead: 84 sec llite.lustre-ffff8da020d4a000.statahead_max=2048 2048 10001 real 0m34.936s user 0m0.146s sys 0m23.704s ls -l 10000 files with statahead: 35 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 4 ls -l done rm -r /mnt/lustre/d123ad.sanity: 79 seconds llite.lustre-ffff8da020d4a000.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 4 mdc.lustre-MDT0000-mdc-ffff8da020d4a000.batch_stats= snapshot_time: 1758828972.716198092 secs.nsecs start_time: 1758828585.794262826 secs.nsecs elapsed_time: 386.921935266 secs.nsecs subreqs per batch batches % cum % 1: 374 67 67 2: 83 14 82 4: 24 4 86 8: 6 1 87 16: 4 0 88 32: 23 4 92 64: 3 0 92 128: 1 0 93 256: 38 6 100 - open/close 2226 (time 1758828983.87 total 10.00 last 222.58) - open/close 4541 (time 1758828993.87 total 20.00 last 231.49) - open/close 6809 (time 1758829003.87 total 30.00 last 226.74) - open/close 9096 (time 1758829013.87 total 40.01 last 228.64) total: 10000 open/close in 44.32 seconds: 225.62 ops/second llite.lustre-ffff8da020d4a000.statahead_batch_max=0 llite.lustre-ffff8da020d4a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8da020d4a000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m26.961s user 0m0.115s sys 0m20.664s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8da020d4a000.statahead_batch_max=256 llite.lustre-ffff8da020d4a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8da020d4a000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8da020d4a000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.558s user 0m0.127s sys 0m21.315s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8da020d4a000.batch_stats= snapshot_time: 1758829084.532820295 secs.nsecs start_time: 1758829048.276939371 secs.nsecs elapsed_time: 36.255880924 secs.nsecs subreqs per batch batches % cum % 1: 191 61 61 2: 39 12 73 4: 14 4 77 8: 6 1 79 16: 3 0 80 32: 21 6 87 64: 3 0 88 128: 1 0 88 256: 35 11 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff8da020d4a000.statahead_batch_max=64 llite.lustre-ffff8da020d4a000.statahead_max=128