== sanity test 123ad: Verify batching statahead works correctly ========================================================== 14:18:49 (1734117529) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8800a6d74800.batch_stats=0 llite.lustre-ffff8800a6d74800.statahead_max=32 llite.lustre-ffff8800a6d74800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8800a6d74800.batch_stats=0 total: 100 open/close in 0.54 seconds: 183.55 ops/second llite.lustre-ffff8800a6d74800.statahead_max=0 101 real 0m0.529s user 0m0.006s sys 0m0.201s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8800a6d74800.statahead_max=32 32 101 real 0m0.333s user 0m0.003s sys 0m0.111s ls -l 100 files with statahead: 0 sec statahead total: 47 statahead wrong: 1 agl total: 47 list_total: 19 fname_total: 28 hit_total: 11591 miss_total: 217 total: 900 open/close in 1.74 seconds: 517.83 ops/second llite.lustre-ffff8800a6d74800.statahead_max=0 1001 real 0m5.165s user 0m0.036s sys 0m1.912s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff8800a6d74800.statahead_max=32 32 1001 real 0m2.149s user 0m0.027s sys 0m0.905s ls -l 1000 files with statahead: 2 sec statahead total: 48 statahead wrong: 1 agl total: 48 list_total: 20 fname_total: 28 hit_total: 12590 miss_total: 218 - open/close 4993 (time 1734117555.13 total 10.00 last 499.26) total: 9000 open/close in 17.74 seconds: 507.36 ops/second llite.lustre-ffff8800a6d74800.statahead_max=0 10001 real 0m49.391s user 0m0.323s sys 0m17.040s ls -l 10000 files without statahead: 50 sec llite.lustre-ffff8800a6d74800.statahead_max=32 32 10001 real 0m19.782s user 0m0.229s sys 0m8.528s ls -l 10000 files with statahead: 20 sec statahead total: 49 statahead wrong: 1 agl total: 49 list_total: 21 fname_total: 28 hit_total: 22589 miss_total: 219 ls -l done rm -r /mnt/lustre/d123ad.sanity: 35 seconds llite.lustre-ffff8800a6d74800.statahead_stats= statahead total: 49 statahead wrong: 1 agl total: 49 list_total: 21 fname_total: 28 hit_total: 22589 miss_total: 219 mdc.lustre-MDT0000-mdc-ffff8800a6d74800.batch_stats= snapshot_time: 1734117673.145573848 secs.nsecs start_time: 1734117531.057407339 secs.nsecs elapsed_time: 142.088166509 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 5274 (time 1734117683.71 total 10.00 last 527.36) total: 10000 open/close in 19.11 seconds: 523.18 ops/second llite.lustre-ffff8800a6d74800.statahead_batch_max=0 llite.lustre-ffff8800a6d74800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a6d74800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m11.145s user 0m0.209s sys 0m10.482s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8800a6d74800.statahead_batch_max=32 llite.lustre-ffff8800a6d74800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a6d74800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a6d74800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m20.528s user 0m0.216s sys 0m9.044s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8800a6d74800.batch_stats= snapshot_time: 1734117728.999379498 secs.nsecs start_time: 1734117705.938201610 secs.nsecs elapsed_time: 23.061177888 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-ffff8800a6d74800.batch_stats=0 llite.lustre-ffff8800a6d74800.statahead_max=2048 llite.lustre-ffff8800a6d74800.statahead_batch_max=256 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8800a6d74800.batch_stats=0 total: 100 open/close in 0.49 seconds: 202.16 ops/second llite.lustre-ffff8800a6d74800.statahead_max=0 101 real 0m0.481s user 0m0.002s sys 0m0.180s ls -l 100 files without statahead: 0 sec llite.lustre-ffff8800a6d74800.statahead_max=2048 2048 101 real 0m0.264s user 0m0.004s sys 0m0.105s 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: 532.08 ops/second llite.lustre-ffff8800a6d74800.statahead_max=0 1001 real 0m4.880s user 0m0.025s sys 0m1.843s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff8800a6d74800.statahead_max=2048 2048 1001 real 0m1.288s user 0m0.018s sys 0m0.801s ls -l 1000 files with statahead: 1 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 - open/close 5290 (time 1734117810.23 total 10.00 last 528.91) total: 9000 open/close in 17.21 seconds: 523.10 ops/second llite.lustre-ffff8800a6d74800.statahead_max=0 10001 real 0m48.388s user 0m0.282s sys 0m16.884s ls -l 10000 files without statahead: 48 sec llite.lustre-ffff8800a6d74800.statahead_max=2048 2048 10001 real 0m10.442s user 0m0.217s sys 0m8.928s ls -l 10000 files with statahead: 10 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: 37 seconds llite.lustre-ffff8800a6d74800.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-ffff8800a6d74800.batch_stats= snapshot_time: 1734117918.534706523 secs.nsecs start_time: 1734117729.676940103 secs.nsecs elapsed_time: 188.857766420 secs.nsecs subreqs per batch batches % cum % 1: 238 62 62 2: 22 5 68 4: 21 5 73 8: 20 5 79 16: 19 5 84 32: 19 5 89 64: 2 0 89 128: 0 0 89 256: 39 10 100 - open/close 5354 (time 1734117929.10 total 10.00 last 535.30) total: 10000 open/close in 19.04 seconds: 525.20 ops/second llite.lustre-ffff8800a6d74800.statahead_batch_max=0 llite.lustre-ffff8800a6d74800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a6d74800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m10.688s user 0m0.215s sys 0m9.505s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8800a6d74800.statahead_batch_max=256 llite.lustre-ffff8800a6d74800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a6d74800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8800a6d74800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m10.493s user 0m0.203s sys 0m8.802s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8800a6d74800.batch_stats= snapshot_time: 1734117963.657513286 secs.nsecs start_time: 1734117950.827975488 secs.nsecs elapsed_time: 12.829537798 secs.nsecs subreqs per batch batches % cum % 1: 263 71 71 2: 11 2 74 4: 13 3 78 8: 15 4 82 16: 18 4 87 32: 11 2 90 64: 0 0 90 128: 0 0 90 256: 36 9 100 seq.cli-lustre-OST0000-super.width=33554431 seq.cli-lustre-OST0001-super.width=33554431 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff8800a6d74800.statahead_batch_max=64 llite.lustre-ffff8800a6d74800.statahead_max=128