== sanity test 123ad: Verify batching statahead works correctly ========================================================== 12:03:12 (1736787792) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff880080c63800.batch_stats=0 llite.lustre-ffff880080c63800.statahead_max=32 llite.lustre-ffff880080c63800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff880080c63800.batch_stats=0 total: 100 open/close in 0.70 seconds: 143.02 ops/second llite.lustre-ffff880080c63800.statahead_max=0 101 real 0m0.933s user 0m0.004s sys 0m0.332s ls -l 100 files without statahead: 1 sec llite.lustre-ffff880080c63800.statahead_max=32 32 101 real 0m0.293s user 0m0.001s sys 0m0.133s ls -l 100 files with statahead: 1 sec statahead total: 45 statahead wrong: 1 agl total: 45 list_total: 19 fname_total: 26 hit_total: 11639 miss_total: 215 total: 900 open/close in 3.07 seconds: 293.32 ops/second llite.lustre-ffff880080c63800.statahead_max=0 1001 real 0m8.226s user 0m0.048s sys 0m2.778s ls -l 1000 files without statahead: 8 sec llite.lustre-ffff880080c63800.statahead_max=32 32 1001 real 0m2.716s user 0m0.028s sys 0m1.202s ls -l 1000 files with statahead: 3 sec statahead total: 46 statahead wrong: 1 agl total: 46 list_total: 20 fname_total: 26 hit_total: 12638 miss_total: 216 - open/close 3118 (time 1736787825.58 total 10.00 last 311.78) - open/close 6819 (time 1736787835.58 total 20.00 last 370.02) total: 9000 open/close in 27.33 seconds: 329.32 ops/second llite.lustre-ffff880080c63800.statahead_max=0 10001 real 0m53.856s user 0m0.239s sys 0m18.230s ls -l 10000 files without statahead: 53 sec llite.lustre-ffff880080c63800.statahead_max=32 32 10001 real 0m21.090s user 0m0.254s sys 0m9.291s ls -l 10000 files with statahead: 21 sec statahead total: 47 statahead wrong: 1 agl total: 47 list_total: 21 fname_total: 26 hit_total: 22637 miss_total: 217 ls -l done rm -r /mnt/lustre/d123ad.sanity: 39 seconds llite.lustre-ffff880080c63800.statahead_stats= statahead total: 47 statahead wrong: 1 agl total: 47 list_total: 21 fname_total: 26 hit_total: 22637 miss_total: 217 mdc.lustre-MDT0000-mdc-ffff880080c63800.batch_stats= snapshot_time: 1736787963.142682398 secs.nsecs start_time: 1736787794.376490095 secs.nsecs elapsed_time: 168.766192303 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 1 0 0 8: 3 0 1 16: 4 1 2 32: 346 97 100 - open/close 4029 (time 1736787973.68 total 10.00 last 402.89) - open/close 9133 (time 1736787983.68 total 20.00 last 510.33) total: 10000 open/close in 21.84 seconds: 457.79 ops/second llite.lustre-ffff880080c63800.statahead_batch_max=0 llite.lustre-ffff880080c63800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff880080c63800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m8.851s user 0m0.194s sys 0m8.029s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff880080c63800.statahead_batch_max=32 llite.lustre-ffff880080c63800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff880080c63800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff880080c63800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m25.625s user 0m0.249s sys 0m11.237s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff880080c63800.batch_stats= snapshot_time: 1736788024.057175669 secs.nsecs start_time: 1736787996.269830057 secs.nsecs elapsed_time: 27.787345612 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-ffff880080c63800.batch_stats=0 llite.lustre-ffff880080c63800.statahead_max=2048 llite.lustre-ffff880080c63800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff880080c63800.batch_stats=0 total: 100 open/close in 0.52 seconds: 192.91 ops/second llite.lustre-ffff880080c63800.statahead_max=0 101 real 0m0.478s user 0m0.002s sys 0m0.178s ls -l 100 files without statahead: 0 sec llite.lustre-ffff880080c63800.statahead_max=2048 2048 101 real 0m0.266s user 0m0.005s sys 0m0.102s 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.69 seconds: 533.71 ops/second llite.lustre-ffff880080c63800.statahead_max=0 1001 real 0m4.816s user 0m0.013s sys 0m1.749s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff880080c63800.statahead_max=2048 2048 1001 real 0m1.042s user 0m0.017s sys 0m0.749s ls -l 1000 files with statahead: 2 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 - open/close 4802 (time 1736788119.31 total 10.00 last 480.13) - open/close 8252 (time 1736788129.31 total 20.00 last 344.94) total: 9000 open/close in 22.87 seconds: 393.54 ops/second llite.lustre-ffff880080c63800.statahead_max=0 10001 real 1m6.562s user 0m0.306s sys 0m22.607s ls -l 10000 files without statahead: 66 sec llite.lustre-ffff880080c63800.statahead_max=2048 2048 10001 real 0m9.179s user 0m0.184s sys 0m7.745s ls -l 10000 files with statahead: 9 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: 38 seconds llite.lustre-ffff880080c63800.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-ffff880080c63800.batch_stats= snapshot_time: 1736788251.899564090 secs.nsecs start_time: 1736788024.540749379 secs.nsecs elapsed_time: 227.358814711 secs.nsecs subreqs per batch batches % cum % 1: 322 72 72 2: 20 4 77 4: 15 3 80 8: 13 2 83 16: 19 4 87 32: 14 3 90 64: 1 0 90 128: 1 0 91 256: 39 8 100 - open/close 3726 (time 1736788262.70 total 10.00 last 372.48) - open/close 7962 (time 1736788272.70 total 20.00 last 423.55) total: 10000 open/close in 24.74 seconds: 404.14 ops/second llite.lustre-ffff880080c63800.statahead_batch_max=0 llite.lustre-ffff880080c63800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff880080c63800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m8.469s user 0m0.175s sys 0m7.457s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff880080c63800.statahead_batch_max=256 llite.lustre-ffff880080c63800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff880080c63800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff880080c63800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m8.647s user 0m0.172s sys 0m7.427s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff880080c63800.batch_stats= snapshot_time: 1736788298.341479587 secs.nsecs start_time: 1736788287.544528446 secs.nsecs elapsed_time: 10.796951141 secs.nsecs subreqs per batch batches % cum % 1: 358 72 72 2: 18 3 76 4: 18 3 80 8: 20 4 84 16: 24 4 89 32: 16 3 92 64: 3 0 93 128: 0 0 93 256: 34 6 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff880080c63800.statahead_batch_max=64 llite.lustre-ffff880080c63800.statahead_max=128