== sanity test 123ad: Verify batching statahead works correctly ========================================================== 22:13:42 (1778292822) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9c1fc4ead000.batch_stats=0 llite.lustre-ffff9c1fc4ead000.statahead_max=32 llite.lustre-ffff9c1fc4ead000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9c1fc4ead000.batch_stats=0 total: 100 open/close in 0.68 seconds: 147.92 ops/second llite.lustre-ffff9c1fc4ead000.statahead_max=0 101 real 0m0.643s user 0m0.003s sys 0m0.250s ls -l 100 files without statahead: 1 sec llite.lustre-ffff9c1fc4ead000.statahead_max=32 32 101 real 0m0.366s user 0m0.003s sys 0m0.213s ls -l 100 files with statahead: 0 sec statahead total: 118 statahead wrong: 2 agl total: 112 list_total: 33 fname_total: 57 hit_total: 33830 miss_total: 1019 total: 900 open/close in 2.08 seconds: 432.97 ops/second llite.lustre-ffff9c1fc4ead000.statahead_max=0 1001 real 0m6.040s user 0m0.027s sys 0m2.307s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff9c1fc4ead000.statahead_max=32 32 1001 real 0m3.633s user 0m0.016s sys 0m2.024s ls -l 1000 files with statahead: 4 sec statahead total: 119 statahead wrong: 2 agl total: 113 list_total: 34 fname_total: 57 hit_total: 34829 miss_total: 1020 - open/close 4308 (time 1778292852.71 total 10.00 last 430.73) - open/close 8537 (time 1778292862.71 total 20.00 last 422.89) total: 9000 open/close in 21.02 seconds: 428.22 ops/second llite.lustre-ffff9c1fc4ead000.statahead_max=0 10001 real 0m58.511s user 0m0.204s sys 0m21.887s ls -l 10000 files without statahead: 58 sec llite.lustre-ffff9c1fc4ead000.statahead_max=32 32 10001 real 0m37.023s user 0m0.167s sys 0m20.432s ls -l 10000 files with statahead: 37 sec statahead total: 120 statahead wrong: 2 agl total: 114 list_total: 35 fname_total: 57 hit_total: 44828 miss_total: 1021 ls -l done rm -r /mnt/lustre/d123ad.sanity: 65 seconds llite.lustre-ffff9c1fc4ead000.statahead_stats= statahead total: 120 statahead wrong: 2 agl total: 114 list_total: 35 fname_total: 57 hit_total: 44828 miss_total: 1021 mdc.lustre-MDT0000-mdc-ffff9c1fc4ead000.batch_stats= snapshot_time: 1778293036.966203332 secs.nsecs start_time: 1778292824.022746015 secs.nsecs elapsed_time: 212.943457317 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 4431 (time 1778293047.74 total 10.00 last 443.05) - open/close 8874 (time 1778293057.74 total 20.00 last 444.25) total: 10000 open/close in 22.56 seconds: 443.28 ops/second llite.lustre-ffff9c1fc4ead000.statahead_batch_max=0 llite.lustre-ffff9c1fc4ead000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c1fc4ead000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.294s user 0m0.175s sys 0m30.137s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9c1fc4ead000.statahead_batch_max=32 llite.lustre-ffff9c1fc4ead000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c1fc4ead000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9c1fc4ead000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m37.303s user 0m0.160s sys 0m21.290s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9c1fc4ead000.batch_stats= snapshot_time: 1778293140.123652299 secs.nsecs start_time: 1778293096.721994451 secs.nsecs elapsed_time: 43.401657848 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-ffff9c1fc4ead000.batch_stats=0 llite.lustre-ffff9c1fc4ead000.statahead_max=2048 llite.lustre-ffff9c1fc4ead000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9c1fc4ead000.batch_stats=0 total: 100 open/close in 0.69 seconds: 145.00 ops/second llite.lustre-ffff9c1fc4ead000.statahead_max=0 101 real 0m0.617s user 0m0.002s sys 0m0.239s ls -l 100 files without statahead: 0 sec llite.lustre-ffff9c1fc4ead000.statahead_max=2048 2048 101 real 0m0.376s user 0m0.001s sys 0m0.242s 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 2.08 seconds: 432.77 ops/second llite.lustre-ffff9c1fc4ead000.statahead_max=0 1001 real 0m6.224s user 0m0.017s sys 0m2.410s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff9c1fc4ead000.statahead_max=2048 2048 1001 real 0m3.326s user 0m0.009s sys 0m1.248s 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 4240 (time 1778293257.33 total 10.00 last 423.89) - open/close 8441 (time 1778293267.33 total 20.00 last 420.05) total: 9000 open/close in 21.32 seconds: 422.16 ops/second llite.lustre-ffff9c1fc4ead000.statahead_max=0 10001 real 0m59.726s user 0m0.206s sys 0m22.433s ls -l 10000 files without statahead: 59 sec llite.lustre-ffff9c1fc4ead000.statahead_max=2048 2048 10001 real 0m29.509s user 0m0.131s sys 0m19.679s ls -l 10000 files with statahead: 29 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: 61 seconds llite.lustre-ffff9c1fc4ead000.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-ffff9c1fc4ead000.batch_stats= snapshot_time: 1778293431.078984020 secs.nsecs start_time: 1778293140.936274037 secs.nsecs elapsed_time: 290.142709983 secs.nsecs subreqs per batch batches % cum % 1: 476 72 72 2: 76 11 84 4: 24 3 88 8: 7 1 89 16: 7 1 90 32: 24 3 94 64: 0 0 94 128: 1 0 94 256: 38 5 100 - open/close 4126 (time 1778293441.92 total 10.00 last 412.56) - open/close 8479 (time 1778293451.92 total 20.00 last 435.30) total: 10000 open/close in 23.40 seconds: 427.34 ops/second llite.lustre-ffff9c1fc4ead000.statahead_batch_max=0 llite.lustre-ffff9c1fc4ead000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c1fc4ead000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.734s user 0m0.172s sys 0m27.414s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9c1fc4ead000.statahead_batch_max=256 llite.lustre-ffff9c1fc4ead000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c1fc4ead000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9c1fc4ead000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m27.683s user 0m0.130s sys 0m19.493s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9c1fc4ead000.batch_stats= snapshot_time: 1778293525.421748956 secs.nsecs start_time: 1778293491.301371590 secs.nsecs elapsed_time: 34.120377366 secs.nsecs subreqs per batch batches % cum % 1: 336 62 62 2: 70 13 75 4: 55 10 85 8: 13 2 88 16: 9 1 89 32: 18 3 93 64: 2 0 93 128: 0 0 93 256: 34 6 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff9c1fc4ead000.statahead_batch_max=64 llite.lustre-ffff9c1fc4ead000.statahead_max=128