== sanity test 123ad: Verify batching statahead works correctly ========================================================== 06:48:24 (1733399304) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff88007ee3a000.batch_stats=0 llite.lustre-ffff88007ee3a000.statahead_max=32 llite.lustre-ffff88007ee3a000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88007ee3a000.batch_stats=0 total: 100 open/close in 0.50 seconds: 201.23 ops/second llite.lustre-ffff88007ee3a000.statahead_max=0 101 real 0m0.484s user 0m0.005s sys 0m0.166s ls -l 100 files without statahead: 1 sec llite.lustre-ffff88007ee3a000.statahead_max=32 32 101 real 0m0.323s user 0m0.001s sys 0m0.116s ls -l 100 files with statahead: 0 sec statahead total: 29 statahead wrong: 0 agl total: 29 list_total: 29 fname_total: 0 hit_total: 11881 miss_total: 139 total: 900 open/close in 1.75 seconds: 515.08 ops/second llite.lustre-ffff88007ee3a000.statahead_max=0 1001 real 0m4.999s user 0m0.024s sys 0m1.846s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff88007ee3a000.statahead_max=32 32 1001 real 0m1.854s user 0m0.014s sys 0m0.869s ls -l 1000 files with statahead: 2 sec statahead total: 30 statahead wrong: 0 agl total: 30 list_total: 30 fname_total: 0 hit_total: 12880 miss_total: 140 - open/close 5380 (time 1733399328.48 total 10.00 last 537.99) total: 9000 open/close in 16.99 seconds: 529.77 ops/second llite.lustre-ffff88007ee3a000.statahead_max=0 10001 real 0m47.907s user 0m0.230s sys 0m16.812s ls -l 10000 files without statahead: 48 sec llite.lustre-ffff88007ee3a000.statahead_max=32 32 10001 real 0m19.475s user 0m0.228s sys 0m8.430s ls -l 10000 files with statahead: 20 sec statahead total: 31 statahead wrong: 0 agl total: 31 list_total: 31 fname_total: 0 hit_total: 22879 miss_total: 141 ls -l done rm -r /mnt/lustre/d123ad.sanity: 35 seconds llite.lustre-ffff88007ee3a000.statahead_stats= statahead total: 31 statahead wrong: 0 agl total: 31 list_total: 31 fname_total: 0 hit_total: 22879 miss_total: 141 mdc.lustre-MDT0000-mdc-ffff88007ee3a000.batch_stats= snapshot_time: 1733399443.798196980 secs.nsecs start_time: 1733399305.182481768 secs.nsecs elapsed_time: 138.615715212 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 4918 (time 1733399454.35 total 10.00 last 491.70) - open/close 9835 (time 1733399464.35 total 20.00 last 491.64) total: 10000 open/close in 20.38 seconds: 490.64 ops/second llite.lustre-ffff88007ee3a000.statahead_batch_max=0 llite.lustre-ffff88007ee3a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88007ee3a000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m9.736s user 0m0.208s sys 0m8.952s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88007ee3a000.statahead_batch_max=32 llite.lustre-ffff88007ee3a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88007ee3a000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88007ee3a000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m19.679s user 0m0.208s sys 0m8.316s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88007ee3a000.batch_stats= snapshot_time: 1733399498.309427306 secs.nsecs start_time: 1733399476.422534564 secs.nsecs elapsed_time: 21.886892742 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-ffff88007ee3a000.batch_stats=0 llite.lustre-ffff88007ee3a000.statahead_max=2048 llite.lustre-ffff88007ee3a000.statahead_batch_max=256 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff88007ee3a000.batch_stats=0 total: 100 open/close in 0.54 seconds: 183.50 ops/second llite.lustre-ffff88007ee3a000.statahead_max=0 101 real 0m0.528s user 0m0.002s sys 0m0.184s ls -l 100 files without statahead: 0 sec llite.lustre-ffff88007ee3a000.statahead_max=2048 2048 101 real 0m0.361s user 0m0.004s sys 0m0.141s 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.82 seconds: 495.79 ops/second llite.lustre-ffff88007ee3a000.statahead_max=0 1001 real 0m4.664s user 0m0.022s sys 0m1.660s ls -l 1000 files without statahead: 4 sec llite.lustre-ffff88007ee3a000.statahead_max=2048 2048 1001 real 0m1.235s user 0m0.017s sys 0m0.868s 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 5116 (time 1733399579.53 total 10.00 last 511.58) total: 9000 open/close in 17.77 seconds: 506.42 ops/second llite.lustre-ffff88007ee3a000.statahead_max=0 10001 real 0m54.921s user 0m0.280s sys 0m18.813s ls -l 10000 files without statahead: 54 sec llite.lustre-ffff88007ee3a000.statahead_max=2048 2048 10001 real 0m8.453s user 0m0.156s sys 0m7.178s 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: 43 seconds llite.lustre-ffff88007ee3a000.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-ffff88007ee3a000.batch_stats= snapshot_time: 1733399699.452110770 secs.nsecs start_time: 1733399498.963304624 secs.nsecs elapsed_time: 200.488806146 secs.nsecs subreqs per batch batches % cum % 1: 382 70 70 2: 30 5 75 4: 28 5 80 8: 24 4 85 16: 24 4 89 32: 12 2 91 64: 7 1 93 128: 0 0 93 256: 38 6 100 - open/close 4499 (time 1733399710.07 total 10.00 last 449.83) - open/close 9028 (time 1733399720.07 total 20.00 last 452.85) total: 10000 open/close in 21.90 seconds: 456.57 ops/second llite.lustre-ffff88007ee3a000.statahead_batch_max=0 llite.lustre-ffff88007ee3a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88007ee3a000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m9.501s user 0m0.180s sys 0m8.321s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff88007ee3a000.statahead_batch_max=256 llite.lustre-ffff88007ee3a000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff88007ee3a000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff88007ee3a000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m8.897s user 0m0.182s sys 0m7.586s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff88007ee3a000.batch_stats= snapshot_time: 1733399744.689376981 secs.nsecs start_time: 1733399733.349486695 secs.nsecs elapsed_time: 11.339890286 secs.nsecs subreqs per batch batches % cum % 1: 227 67 67 2: 17 5 72 4: 16 4 77 8: 12 3 81 16: 11 3 84 32: 15 4 88 64: 1 0 89 128: 0 0 89 256: 36 10 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-ffff88007ee3a000.statahead_batch_max=64 llite.lustre-ffff88007ee3a000.statahead_max=128