== sanity test 123ad: Verify batching statahead works correctly ========================================================== 10:27:06 (1773239226) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff92f1866d3000.batch_stats=0 llite.lustre-ffff92f1866d3000.statahead_max=32 llite.lustre-ffff92f1866d3000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff92f1866d3000.batch_stats=0 total: 100 open/close in 0.59 seconds: 170.69 ops/second llite.lustre-ffff92f1866d3000.statahead_max=0 101 real 0m0.638s user 0m0.002s sys 0m0.228s ls -l 100 files without statahead: 0 sec llite.lustre-ffff92f1866d3000.statahead_max=32 32 101 real 0m0.469s user 0m0.002s sys 0m0.297s ls -l 100 files with statahead: 0 sec statahead total: 74 statahead wrong: 1 agl total: 69 list_total: 29 fname_total: 37 hit_total: 34031 miss_total: 222 total: 900 open/close in 1.84 seconds: 489.67 ops/second llite.lustre-ffff92f1866d3000.statahead_max=0 1001 real 0m5.534s user 0m0.021s sys 0m1.935s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff92f1866d3000.statahead_max=32 32 1001 real 0m4.251s user 0m0.016s sys 0m2.578s ls -l 1000 files with statahead: 4 sec statahead total: 75 statahead wrong: 1 agl total: 70 list_total: 30 fname_total: 37 hit_total: 35030 miss_total: 223 - open/close 4769 (time 1773239255.85 total 10.00 last 476.88) total: 9000 open/close in 18.54 seconds: 485.54 ops/second llite.lustre-ffff92f1866d3000.statahead_max=0 10001 real 0m58.281s user 0m0.176s sys 0m20.298s ls -l 10000 files without statahead: 58 sec llite.lustre-ffff92f1866d3000.statahead_max=32 32 10001 real 0m36.022s user 0m0.156s sys 0m19.998s ls -l 10000 files with statahead: 36 sec statahead total: 76 statahead wrong: 1 agl total: 71 list_total: 31 fname_total: 37 hit_total: 45029 miss_total: 224 ls -l done rm -r /mnt/lustre/d123ad.sanity: 63 seconds llite.lustre-ffff92f1866d3000.statahead_stats= statahead total: 76 statahead wrong: 1 agl total: 71 list_total: 31 fname_total: 37 hit_total: 45029 miss_total: 224 mdc.lustre-MDT0000-mdc-ffff92f1866d3000.batch_stats= snapshot_time: 1773239431.661112724 secs.nsecs start_time: 1773239227.455083772 secs.nsecs elapsed_time: 204.206028952 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 3309 (time 1773239442.65 total 10.00 last 330.86) - open/close 6588 (time 1773239452.65 total 20.00 last 327.89) total: 10000 open/close in 28.68 seconds: 348.64 ops/second llite.lustre-ffff92f1866d3000.statahead_batch_max=0 llite.lustre-ffff92f1866d3000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff92f1866d3000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m40.927s user 0m0.176s sys 0m37.773s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff92f1866d3000.statahead_batch_max=32 llite.lustre-ffff92f1866d3000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff92f1866d3000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff92f1866d3000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.684s user 0m0.136s sys 0m19.362s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff92f1866d3000.batch_stats= snapshot_time: 1773239545.123733487 secs.nsecs start_time: 1773239504.824052937 secs.nsecs elapsed_time: 40.299680550 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-ffff92f1866d3000.batch_stats=0 llite.lustre-ffff92f1866d3000.statahead_max=2048 llite.lustre-ffff92f1866d3000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff92f1866d3000.batch_stats=0 total: 100 open/close in 0.64 seconds: 156.77 ops/second llite.lustre-ffff92f1866d3000.statahead_max=0 101 real 0m0.594s user 0m0.003s sys 0m0.220s ls -l 100 files without statahead: 1 sec llite.lustre-ffff92f1866d3000.statahead_max=2048 2048 101 real 0m0.797s user 0m0.002s sys 0m0.295s ls -l 100 files with statahead: 1 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.80 seconds: 500.17 ops/second llite.lustre-ffff92f1866d3000.statahead_max=0 1001 real 0m5.708s user 0m0.022s sys 0m2.023s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff92f1866d3000.statahead_max=2048 2048 1001 real 0m3.651s user 0m0.016s sys 0m1.186s 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 4512 (time 1773239656.77 total 10.00 last 451.16) total: 9000 open/close in 19.40 seconds: 463.96 ops/second llite.lustre-ffff92f1866d3000.statahead_max=0 10001 real 0m59.661s user 0m0.174s sys 0m20.852s ls -l 10000 files without statahead: 60 sec llite.lustre-ffff92f1866d3000.statahead_max=2048 2048 10001 real 0m26.705s user 0m0.131s sys 0m19.647s ls -l 10000 files with statahead: 26 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: 59 seconds llite.lustre-ffff92f1866d3000.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-ffff92f1866d3000.batch_stats= snapshot_time: 1773239821.533650338 secs.nsecs start_time: 1773239545.989577283 secs.nsecs elapsed_time: 275.544073055 secs.nsecs subreqs per batch batches % cum % 1: 130 50 50 2: 29 11 62 4: 20 7 69 8: 7 2 72 16: 4 1 74 32: 25 9 83 64: 0 0 83 128: 1 0 84 256: 40 15 100 - open/close 4914 (time 1773239832.29 total 10.00 last 491.37) - open/close 9921 (time 1773239842.29 total 20.00 last 500.62) total: 10000 open/close in 20.18 seconds: 495.51 ops/second llite.lustre-ffff92f1866d3000.statahead_batch_max=0 llite.lustre-ffff92f1866d3000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff92f1866d3000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m34.113s user 0m0.135s sys 0m28.866s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff92f1866d3000.statahead_batch_max=256 llite.lustre-ffff92f1866d3000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff92f1866d3000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff92f1866d3000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m24.724s user 0m0.148s sys 0m17.488s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff92f1866d3000.batch_stats= snapshot_time: 1773239908.499065298 secs.nsecs start_time: 1773239879.103411959 secs.nsecs elapsed_time: 29.395653339 secs.nsecs subreqs per batch batches % cum % 1: 71 41 41 2: 18 10 51 4: 15 8 60 8: 3 1 62 16: 4 2 64 32: 25 14 79 64: 0 0 79 128: 0 0 79 256: 36 20 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff92f1866d3000.statahead_batch_max=64 llite.lustre-ffff92f1866d3000.statahead_max=128