== sanity test 123ad: Verify batching statahead works correctly ========================================================== 14:58:15 (1758740295) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9b8b42dc2000.batch_stats=0 llite.lustre-ffff9b8b42dc2000.statahead_max=32 llite.lustre-ffff9b8b42dc2000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9b8b42dc2000.batch_stats=0 total: 100 open/close in 1.31 seconds: 76.35 ops/second llite.lustre-ffff9b8b42dc2000.statahead_max=0 101 real 0m1.193s user 0m0.007s sys 0m0.277s ls -l 100 files without statahead: 1 sec llite.lustre-ffff9b8b42dc2000.statahead_max=32 32 101 real 0m0.427s user 0m0.002s sys 0m0.205s ls -l 100 files with statahead: 1 sec statahead total: 63 statahead wrong: 1 agl total: 59 list_total: 29 fname_total: 34 hit_total: 20930 miss_total: 220 total: 900 open/close in 7.03 seconds: 127.94 ops/second llite.lustre-ffff9b8b42dc2000.statahead_max=0 1001 real 0m11.338s user 0m0.033s sys 0m2.656s ls -l 1000 files without statahead: 12 sec llite.lustre-ffff9b8b42dc2000.statahead_max=32 32 1001 real 0m4.086s user 0m0.024s sys 0m1.826s ls -l 1000 files with statahead: 4 sec statahead total: 64 statahead wrong: 1 agl total: 60 list_total: 30 fname_total: 34 hit_total: 21927 miss_total: 223 - open/close 1617 (time 1758740339.65 total 10.00 last 161.66) - open/close 2994 (time 1758740349.65 total 20.00 last 137.67) total: 3000 open/close in 20.03 seconds: 149.78 ops/second llite.lustre-ffff9b8b42dc2000.statahead_max=0 4001 real 0m46.967s user 0m0.130s sys 0m10.541s ls -l 4000 files without statahead: 47 sec llite.lustre-ffff9b8b42dc2000.statahead_max=32 32 4001 real 0m16.639s user 0m0.083s sys 0m6.441s ls -l 4000 files with statahead: 17 sec statahead total: 65 statahead wrong: 1 agl total: 61 list_total: 31 fname_total: 34 hit_total: 25918 miss_total: 232 ls -l done rm -r /mnt/lustre/d123ad.sanity: 44 seconds llite.lustre-ffff9b8b42dc2000.statahead_stats= statahead total: 65 statahead wrong: 1 agl total: 61 list_total: 31 fname_total: 34 hit_total: 25918 miss_total: 232 mdc.lustre-MDT0000-mdc-ffff9b8b42dc2000.batch_stats= snapshot_time: 1758740465.982948626 secs.nsecs start_time: 1758740297.234292551 secs.nsecs elapsed_time: 168.748656075 secs.nsecs subreqs per batch batches % cum % 1: 2 1 1 2: 0 0 1 4: 0 0 1 8: 4 2 3 16: 3 1 5 32: 159 94 100 - open/close 1155 (time 1758740477.68 total 10.00 last 115.50) - open/close 2525 (time 1758740487.68 total 20.01 last 136.89) - open/close 3832 (time 1758740497.69 total 30.01 last 130.68) - open/close 5013 (time 1758740507.69 total 40.02 last 118.03) - open/close 6527 (time 1758740517.69 total 50.02 last 151.36) - open/close 7997 (time 1758740527.70 total 60.02 last 146.96) - open/close 9425 (time 1758740537.70 total 70.02 last 142.75) total: 10000 open/close in 73.63 seconds: 135.81 ops/second llite.lustre-ffff9b8b42dc2000.statahead_batch_max=0 llite.lustre-ffff9b8b42dc2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b8b42dc2000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.293s user 0m0.276s sys 0m25.643s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9b8b42dc2000.statahead_batch_max=32 llite.lustre-ffff9b8b42dc2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b8b42dc2000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9b8b42dc2000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m42.387s user 0m0.248s sys 0m18.186s batched statahead RPC= hit count=9977 mdc.lustre-MDT0000-mdc-ffff9b8b42dc2000.batch_stats= snapshot_time: 1758740623.640010413 secs.nsecs start_time: 1758740575.972635845 secs.nsecs elapsed_time: 47.667374568 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 1 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9b8b42dc2000.batch_stats=0 llite.lustre-ffff9b8b42dc2000.statahead_max=2048 llite.lustre-ffff9b8b42dc2000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9b8b42dc2000.batch_stats=0 total: 100 open/close in 1.07 seconds: 93.66 ops/second llite.lustre-ffff9b8b42dc2000.statahead_max=0 101 real 0m1.123s user 0m0.002s sys 0m0.281s ls -l 100 files without statahead: 2 sec llite.lustre-ffff9b8b42dc2000.statahead_max=2048 2048 101 real 0m0.455s user 0m0.002s sys 0m0.210s 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: 10076 miss_total: 24 total: 900 open/close in 5.18 seconds: 173.88 ops/second llite.lustre-ffff9b8b42dc2000.statahead_max=0 1001 real 0m9.422s user 0m0.029s sys 0m2.690s ls -l 1000 files without statahead: 10 sec llite.lustre-ffff9b8b42dc2000.statahead_max=2048 2048 1001 real 0m3.559s user 0m0.020s sys 0m1.305s 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: 11075 miss_total: 25 - open/close 2012 (time 1758740787.37 total 10.00 last 201.13) - open/close 3752 (time 1758740797.37 total 20.01 last 173.96) total: 4000 open/close in 20.94 seconds: 191.03 ops/second llite.lustre-ffff9b8b42dc2000.statahead_max=0 5001 real 0m46.407s user 0m0.173s sys 0m12.836s ls -l 5000 files without statahead: 46 sec llite.lustre-ffff9b8b42dc2000.statahead_max=2048 2048 5001 real 0m13.405s user 0m0.098s sys 0m8.860s ls -l 5000 files with statahead: 13 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 16074 miss_total: 26 ls -l done rm -r /mnt/lustre/d123ad.sanity: 39 seconds llite.lustre-ffff9b8b42dc2000.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 16074 miss_total: 26 mdc.lustre-MDT0000-mdc-ffff9b8b42dc2000.batch_stats= snapshot_time: 1758740905.231544172 secs.nsecs start_time: 1758740624.688520628 secs.nsecs elapsed_time: 280.543023544 secs.nsecs subreqs per batch batches % cum % 1: 118 51 51 2: 40 17 69 4: 23 10 79 8: 10 4 84 16: 5 2 86 32: 8 3 89 64: 0 0 89 128: 2 0 90 256: 21 9 100 - open/close 2226 (time 1758740916.16 total 10.00 last 222.52) - open/close 4617 (time 1758740926.16 total 20.00 last 239.07) - open/close 7435 (time 1758740936.16 total 30.01 last 281.72) - open/close 9814 (time 1758740946.17 total 40.01 last 237.81) total: 10000 open/close in 40.86 seconds: 244.72 ops/second llite.lustre-ffff9b8b42dc2000.statahead_batch_max=0 llite.lustre-ffff9b8b42dc2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b8b42dc2000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.853s user 0m0.276s sys 0m27.984s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9b8b42dc2000.statahead_batch_max=256 llite.lustre-ffff9b8b42dc2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b8b42dc2000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9b8b42dc2000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m26.430s user 0m0.189s sys 0m19.078s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9b8b42dc2000.batch_stats= snapshot_time: 1758741016.176551181 secs.nsecs start_time: 1758740984.162614471 secs.nsecs elapsed_time: 32.013936710 secs.nsecs subreqs per batch batches % cum % 1: 262 62 62 2: 48 11 73 4: 39 9 82 8: 11 2 85 16: 4 0 86 32: 21 4 91 64: 2 0 91 128: 0 0 91 256: 35 8 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff9b8b42dc2000.statahead_batch_max=64 llite.lustre-ffff9b8b42dc2000.statahead_max=128