== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:19:03 (1775877543) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff924f48236800.batch_stats=0 llite.lustre-ffff924f48236800.statahead_max=32 llite.lustre-ffff924f48236800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff924f48236800.batch_stats=0 total: 100 open/close in 0.82 seconds: 121.36 ops/second llite.lustre-ffff924f48236800.statahead_max=0 101 real 0m0.766s user 0m0.004s sys 0m0.281s ls -l 100 files without statahead: 1 sec llite.lustre-ffff924f48236800.statahead_max=32 32 101 real 0m0.400s user 0m0.006s sys 0m0.233s ls -l 100 files with statahead: 1 sec statahead total: 124 statahead wrong: 2 agl total: 118 list_total: 33 fname_total: 91 hit_total: 20124 miss_total: 1285 total: 900 open/close in 2.31 seconds: 389.80 ops/second llite.lustre-ffff924f48236800.statahead_max=0 1001 real 0m6.347s user 0m0.029s sys 0m2.290s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff924f48236800.statahead_max=32 32 1001 real 0m3.449s user 0m0.030s sys 0m1.829s ls -l 1000 files with statahead: 4 sec statahead total: 125 statahead wrong: 2 agl total: 119 list_total: 34 fname_total: 91 hit_total: 21123 miss_total: 1286 - open/close 3806 (time 1775877574.67 total 10.00 last 380.56) - open/close 7969 (time 1775877584.68 total 20.00 last 416.22) total: 9000 open/close in 22.37 seconds: 402.25 ops/second llite.lustre-ffff924f48236800.statahead_max=0 10001 real 1m0.600s user 0m0.245s sys 0m22.156s ls -l 10000 files without statahead: 60 sec llite.lustre-ffff924f48236800.statahead_max=32 32 10001 real 0m35.784s user 0m0.204s sys 0m18.910s ls -l 10000 files with statahead: 36 sec statahead total: 126 statahead wrong: 2 agl total: 120 list_total: 35 fname_total: 91 hit_total: 31121 miss_total: 1288 ls -l done rm -r /mnt/lustre/d123ad.sanity: 63 seconds llite.lustre-ffff924f48236800.statahead_stats= statahead total: 126 statahead wrong: 2 agl total: 120 list_total: 35 fname_total: 91 hit_total: 31121 miss_total: 1288 mdc.lustre-MDT0000-mdc-ffff924f48236800.batch_stats= snapshot_time: 1775877758.247688262 secs.nsecs start_time: 1775877545.430051906 secs.nsecs elapsed_time: 212.817636356 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 4273 (time 1775877768.98 total 10.00 last 427.27) - open/close 8811 (time 1775877778.98 total 20.00 last 453.74) total: 10000 open/close in 22.71 seconds: 440.35 ops/second llite.lustre-ffff924f48236800.statahead_batch_max=0 llite.lustre-ffff924f48236800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff924f48236800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m29.655s user 0m0.188s sys 0m27.058s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff924f48236800.statahead_batch_max=32 llite.lustre-ffff924f48236800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff924f48236800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff924f48236800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m34.666s user 0m0.173s sys 0m19.310s batched statahead RPC= hit count=9998 mdc.lustre-MDT0000-mdc-ffff924f48236800.batch_stats= snapshot_time: 1775877855.126417161 secs.nsecs start_time: 1775877814.399352863 secs.nsecs elapsed_time: 40.727064298 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-ffff924f48236800.batch_stats=0 llite.lustre-ffff924f48236800.statahead_max=2048 llite.lustre-ffff924f48236800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff924f48236800.batch_stats=0 total: 100 open/close in 0.66 seconds: 150.77 ops/second llite.lustre-ffff924f48236800.statahead_max=0 101 real 0m0.715s user 0m0.003s sys 0m0.268s ls -l 100 files without statahead: 0 sec llite.lustre-ffff924f48236800.statahead_max=2048 2048 101 real 0m0.344s user 0m0.000s sys 0m0.198s 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: 10097 miss_total: 3 total: 900 open/close in 2.11 seconds: 425.54 ops/second llite.lustre-ffff924f48236800.statahead_max=0 1001 real 0m5.842s user 0m0.032s sys 0m2.190s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff924f48236800.statahead_max=2048 2048 1001 real 0m3.011s user 0m0.015s sys 0m1.271s ls -l 1000 files with statahead: 3 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11096 miss_total: 4 - open/close 4322 (time 1775877966.39 total 10.00 last 432.18) - open/close 8688 (time 1775877976.39 total 20.00 last 436.58) total: 9000 open/close in 20.70 seconds: 434.72 ops/second llite.lustre-ffff924f48236800.statahead_max=0 10001 real 1m38.078s user 0m0.261s sys 0m24.726s ls -l 10000 files without statahead: 98 sec llite.lustre-ffff924f48236800.statahead_max=2048 2048 10001 real 0m26.887s user 0m0.202s sys 0m17.529s ls -l 10000 files with statahead: 27 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21095 miss_total: 5 ls -l done rm -r /mnt/lustre/d123ad.sanity: 100 seconds llite.lustre-ffff924f48236800.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21095 miss_total: 5 mdc.lustre-MDT0000-mdc-ffff924f48236800.batch_stats= snapshot_time: 1775878215.419933459 secs.nsecs start_time: 1775877855.888666609 secs.nsecs elapsed_time: 359.531266850 secs.nsecs subreqs per batch batches % cum % 1: 333 63 63 2: 55 10 74 4: 38 7 81 8: 24 4 86 16: 15 2 89 32: 14 2 91 64: 3 0 92 128: 2 0 92 256: 38 7 100 - open/close 1337 (time 1775878226.59 total 10.00 last 133.66) - open/close 2544 (time 1775878236.59 total 20.01 last 120.67) - open/close 3995 (time 1775878246.60 total 30.01 last 144.98) - open/close 5202 (time 1775878256.60 total 40.01 last 120.69) - open/close 6473 (time 1775878266.61 total 50.02 last 127.04) - open/close 7683 (time 1775878276.61 total 60.02 last 120.99) - open/close 8853 (time 1775878286.61 total 70.03 last 116.94) - open/close 9975 (time 1775878296.61 total 80.03 last 112.20) total: 10000 open/close in 80.18 seconds: 124.71 ops/second llite.lustre-ffff924f48236800.statahead_batch_max=0 llite.lustre-ffff924f48236800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff924f48236800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.263s user 0m0.245s sys 0m18.395s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff924f48236800.statahead_batch_max=256 llite.lustre-ffff924f48236800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff924f48236800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff924f48236800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.412s user 0m0.238s sys 0m17.194s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff924f48236800.batch_stats= snapshot_time: 1775878373.517934277 secs.nsecs start_time: 1775878335.464840359 secs.nsecs elapsed_time: 38.053093918 secs.nsecs subreqs per batch batches % cum % 1: 341 60 60 2: 82 14 74 4: 58 10 84 8: 18 3 88 16: 13 2 90 32: 16 2 93 64: 5 0 94 128: 1 0 94 256: 33 5 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff924f48236800.statahead_batch_max=64 llite.lustre-ffff924f48236800.statahead_max=128