== sanity test 123ad: Verify batching statahead works correctly ========================================================== 09:05:49 (1748869549) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8800a9d51000.batch_stats=0 llite.lustre-ffff8800a9d51000.statahead_max=32 llite.lustre-ffff8800a9d51000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8800a9d51000.batch_stats=0 total: 100 open/close in 0.50 seconds: 200.19 ops/second llite.lustre-ffff8800a9d51000.statahead_max=0 101 real 0m0.496s user 0m0.002s sys 0m0.192s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8800a9d51000.statahead_max=32 32 101 real 0m0.326s user 0m0.004s sys 0m0.114s ls -l 100 files with statahead: 0 sec statahead total: 43 statahead wrong: 2 agl total: 43 list_total: 19 fname_total: 24 hit_total: 12261 miss_total: 1244 total: 900 open/close in 1.65 seconds: 545.10 ops/second llite.lustre-ffff8800a9d51000.statahead_max=0 1001 real 0m4.699s user 0m0.024s sys 0m1.791s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff8800a9d51000.statahead_max=32 32 1001 real 0m1.969s user 0m0.020s sys 0m0.852s ls -l 1000 files with statahead: 2 sec statahead total: 44 statahead wrong: 2 agl total: 44 list_total: 20 fname_total: 24 hit_total: 13260 miss_total: 1245 - open/close 5342 (time 1748869573.93 total 10.00 last 534.15) total: 9000 open/close in 17.09 seconds: 526.51 ops/second llite.lustre-ffff8800a9d51000.statahead_max=0 10001 real 0m47.575s user 0m0.230s sys 0m17.047s ls -l 10000 files without statahead: 48 sec llite.lustre-ffff8800a9d51000.statahead_max=32 32 10001 real 0m20.058s user 0m0.226s sys 0m8.524s ls -l 10000 files with statahead: 20 sec statahead total: 45 statahead wrong: 2 agl total: 45 list_total: 21 fname_total: 24 hit_total: 23259 miss_total: 1246 ls -l done rm -r /mnt/lustre/d123ad.sanity: 37 seconds llite.lustre-ffff8800a9d51000.statahead_stats= statahead total: 45 statahead wrong: 2 agl total: 45 list_total: 21 fname_total: 24 hit_total: 23259 miss_total: 1246 mdc.lustre-MDT0000-mdc-ffff8800a9d51000.batch_stats= snapshot_time: 1748869690.433546651 secs.nsecs start_time: 1748869550.978644982 secs.nsecs elapsed_time: 139.454901669 secs.nsecs subreqs per batch batches % cum % 1: 2 0 0 2: 0 0 0 4: 1 0 0 8: 3 0 1 16: 4 1 2 32: 346 97 100 - open/close 5147 (time 1748869700.97 total 10.00 last 514.60) total: 10000 open/close in 19.56 seconds: 511.26 ops/second llite.lustre-ffff8800a9d51000.statahead_batch_max=0 llite.lustre-ffff8800a9d51000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a9d51000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m9.986s user 0m0.218s sys 0m9.145s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8800a9d51000.statahead_batch_max=32 llite.lustre-ffff8800a9d51000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a9d51000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a9d51000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m20.719s user 0m0.225s sys 0m8.607s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8800a9d51000.batch_stats= snapshot_time: 1748869745.362601877 secs.nsecs start_time: 1748869722.309559261 secs.nsecs elapsed_time: 23.053042616 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 2 0 1 32: 312 98 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8800a9d51000.batch_stats=0 llite.lustre-ffff8800a9d51000.statahead_max=2048 llite.lustre-ffff8800a9d51000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8800a9d51000.batch_stats=0 total: 100 open/close in 0.49 seconds: 202.07 ops/second llite.lustre-ffff8800a9d51000.statahead_max=0 101 real 0m0.473s user 0m0.005s sys 0m0.173s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8800a9d51000.statahead_max=2048 2048 101 real 0m0.247s user 0m0.005s sys 0m0.097s 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.58 seconds: 569.80 ops/second llite.lustre-ffff8800a9d51000.statahead_max=0 1001 real 0m4.629s user 0m0.026s sys 0m1.703s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff8800a9d51000.statahead_max=2048 2048 1001 real 0m1.080s user 0m0.012s sys 0m0.758s 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 5017 (time 1748869830.92 total 10.00 last 501.65) total: 9000 open/close in 18.05 seconds: 498.53 ops/second llite.lustre-ffff8800a9d51000.statahead_max=0 10001 real 0m51.893s user 0m0.250s sys 0m18.636s ls -l 10000 files without statahead: 52 sec llite.lustre-ffff8800a9d51000.statahead_max=2048 2048 10001 real 0m9.345s user 0m0.188s sys 0m7.981s 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: 35 seconds llite.lustre-ffff8800a9d51000.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-ffff8800a9d51000.batch_stats= snapshot_time: 1748869940.858012272 secs.nsecs start_time: 1748869745.886222052 secs.nsecs elapsed_time: 194.971790220 secs.nsecs subreqs per batch batches % cum % 1: 286 67 67 2: 14 3 71 4: 19 4 75 8: 25 5 81 16: 18 4 85 32: 15 3 89 64: 5 1 90 128: 0 0 90 256: 39 9 100 - open/close 4557 (time 1748869951.39 total 10.00 last 455.64) - open/close 9642 (time 1748869961.39 total 20.00 last 508.41) total: 10000 open/close in 20.71 seconds: 482.95 ops/second llite.lustre-ffff8800a9d51000.statahead_batch_max=0 llite.lustre-ffff8800a9d51000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a9d51000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m10.425s user 0m0.187s sys 0m9.122s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8800a9d51000.statahead_batch_max=256 llite.lustre-ffff8800a9d51000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a9d51000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a9d51000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m9.745s user 0m0.174s sys 0m8.168s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8800a9d51000.batch_stats= snapshot_time: 1748869986.382186305 secs.nsecs start_time: 1748869974.375014839 secs.nsecs elapsed_time: 12.007171466 secs.nsecs subreqs per batch batches % cum % 1: 202 64 64 2: 23 7 72 4: 11 3 75 8: 12 3 79 16: 16 5 84 32: 10 3 88 64: 1 0 88 128: 0 0 88 256: 36 11 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff8800a9d51000.statahead_batch_max=64 llite.lustre-ffff8800a9d51000.statahead_max=128