== sanity test 123ad: Verify batching statahead works correctly ========================================================== 15:42:07 (1773690127) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff987d43bc1800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff987d43bc1800.batch_stats=0 llite.lustre-ffff987d43bc1800.statahead_max=32 llite.lustre-ffff987d43bc1800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff987d43bc1800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff987d43bc1800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 0.67 seconds: 150.24 ops/second llite.lustre-ffff987d43bc1800.statahead_max=0 101 real 0m0.607s user 0m0.006s sys 0m0.233s ls -l 100 files without statahead: 0 sec llite.lustre-ffff987d43bc1800.statahead_max=32 32 101 real 0m0.447s user 0m0.002s sys 0m0.221s ls -l 100 files with statahead: 1 sec statahead total: 84 statahead wrong: 1 agl total: 79 list_total: 31 fname_total: 48 hit_total: 34071 miss_total: 231 total: 900 open/close in 1.97 seconds: 457.02 ops/second llite.lustre-ffff987d43bc1800.statahead_max=0 1001 real 0m6.285s user 0m0.022s sys 0m2.467s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff987d43bc1800.statahead_max=32 32 1001 real 0m4.348s user 0m0.016s sys 0m2.172s ls -l 1000 files with statahead: 5 sec statahead total: 85 statahead wrong: 1 agl total: 80 list_total: 32 fname_total: 48 hit_total: 35070 miss_total: 232 - open/close 4463 (time 1773690158.67 total 10.00 last 446.23) total: 9000 open/close in 19.94 seconds: 451.26 ops/second llite.lustre-ffff987d43bc1800.statahead_max=0 10001 real 1m1.458s user 0m0.188s sys 0m23.893s ls -l 10000 files without statahead: 62 sec llite.lustre-ffff987d43bc1800.statahead_max=32 32 10001 real 0m51.717s user 0m0.181s sys 0m25.770s ls -l 10000 files with statahead: 51 sec statahead total: 86 statahead wrong: 1 agl total: 81 list_total: 33 fname_total: 48 hit_total: 45069 miss_total: 233 ls -l done rm -r /mnt/lustre/d123ad.sanity: 66 seconds llite.lustre-ffff987d43bc1800.statahead_stats= statahead total: 86 statahead wrong: 1 agl total: 81 list_total: 33 fname_total: 48 hit_total: 45069 miss_total: 233 mdc.lustre-MDT0000-mdc-ffff987d43bc1800.batch_stats= snapshot_time: 1773690363.351730817 secs.nsecs start_time: 1773690128.567879514 secs.nsecs elapsed_time: 234.783851303 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 6 1 1 8: 4 1 2 16: 191 53 56 32: 153 43 100 mdc.lustre-MDT0001-mdc-ffff987d43bc1800.batch_stats= snapshot_time: 1773690363.351773597 secs.nsecs start_time: 1773690128.567947503 secs.nsecs elapsed_time: 234.783826094 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 0 0 0 4: 1 0 0 8: 7 1 2 16: 206 58 60 32: 139 39 100 - open/close 4412 (time 1773690374.58 total 10.00 last 441.20) - open/close 8870 (time 1773690384.58 total 20.00 last 445.72) total: 10000 open/close in 22.54 seconds: 443.58 ops/second llite.lustre-ffff987d43bc1800.statahead_batch_max=0 llite.lustre-ffff987d43bc1800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff987d43bc1800.stats=clear mdc.lustre-MDT0001-mdc-ffff987d43bc1800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m47.949s user 0m0.151s sys 0m45.663s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff987d43bc1800.statahead_batch_max=32 llite.lustre-ffff987d43bc1800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff987d43bc1800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff987d43bc1800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff987d43bc1800.stats=clear mdc.lustre-MDT0001-mdc-ffff987d43bc1800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m46.698s user 0m0.164s sys 0m27.936s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff987d43bc1800.batch_stats= snapshot_time: 1773690492.056949053 secs.nsecs start_time: 1773690438.537211741 secs.nsecs elapsed_time: 53.519737312 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 mdc.lustre-MDT0001-mdc-ffff987d43bc1800.batch_stats= snapshot_time: 1773690492.057008638 secs.nsecs start_time: 1773690438.537263612 secs.nsecs elapsed_time: 53.519745026 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff987d43bc1800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff987d43bc1800.batch_stats=0 llite.lustre-ffff987d43bc1800.statahead_max=2048 llite.lustre-ffff987d43bc1800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff987d43bc1800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff987d43bc1800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 0.74 seconds: 135.24 ops/second llite.lustre-ffff987d43bc1800.statahead_max=0 101 real 0m0.569s user 0m0.004s sys 0m0.232s ls -l 100 files without statahead: 0 sec llite.lustre-ffff987d43bc1800.statahead_max=2048 2048 101 real 0m0.490s user 0m0.002s sys 0m0.233s 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.78 seconds: 506.58 ops/second llite.lustre-ffff987d43bc1800.statahead_max=0 1001 real 0m5.320s user 0m0.019s sys 0m2.088s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff987d43bc1800.statahead_max=2048 2048 1001 real 0m3.414s user 0m0.017s sys 0m1.180s 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: 11097 miss_total: 3 - open/close 4611 (time 1773690609.85 total 10.00 last 461.05) total: 9000 open/close in 19.46 seconds: 462.46 ops/second llite.lustre-ffff987d43bc1800.statahead_max=0 10001 real 1m1.457s user 0m0.221s sys 0m24.004s ls -l 10000 files without statahead: 62 sec llite.lustre-ffff987d43bc1800.statahead_max=2048 2048 10001 real 0m31.321s user 0m0.158s sys 0m21.042s ls -l 10000 files with statahead: 31 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: 64 seconds llite.lustre-ffff987d43bc1800.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-ffff987d43bc1800.batch_stats= snapshot_time: 1773690791.883774150 secs.nsecs start_time: 1773690492.951653139 secs.nsecs elapsed_time: 298.932121011 secs.nsecs subreqs per batch batches % cum % 1: 229 70 70 2: 42 12 83 4: 16 4 88 8: 5 1 89 16: 0 0 89 32: 0 0 89 64: 1 0 90 128: 1 0 90 256: 31 9 100 mdc.lustre-MDT0001-mdc-ffff987d43bc1800.batch_stats= snapshot_time: 1773690791.883871150 secs.nsecs start_time: 1773690492.951830214 secs.nsecs elapsed_time: 298.932040936 secs.nsecs subreqs per batch batches % cum % 1: 205 69 69 2: 35 11 81 4: 20 6 87 8: 2 0 88 16: 1 0 88 32: 0 0 88 64: 1 0 89 128: 2 0 89 256: 30 10 100 - open/close 4445 (time 1773690803.08 total 10.00 last 444.44) - open/close 8899 (time 1773690813.09 total 20.00 last 445.33) total: 10000 open/close in 22.57 seconds: 443.04 ops/second llite.lustre-ffff987d43bc1800.statahead_batch_max=0 llite.lustre-ffff987d43bc1800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff987d43bc1800.stats=clear mdc.lustre-MDT0001-mdc-ffff987d43bc1800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.198s user 0m0.151s sys 0m27.527s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff987d43bc1800.statahead_batch_max=256 llite.lustre-ffff987d43bc1800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff987d43bc1800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff987d43bc1800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff987d43bc1800.stats=clear mdc.lustre-MDT0001-mdc-ffff987d43bc1800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m25.760s user 0m0.144s sys 0m18.735s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff987d43bc1800.batch_stats= snapshot_time: 1773690883.470891332 secs.nsecs start_time: 1773690851.685517233 secs.nsecs elapsed_time: 31.785374099 secs.nsecs subreqs per batch batches % cum % 1: 266 64 64 2: 45 10 75 4: 30 7 82 8: 10 2 85 16: 1 0 85 32: 21 5 90 64: 4 0 91 128: 1 0 91 256: 34 8 100 mdc.lustre-MDT0001-mdc-ffff987d43bc1800.batch_stats= snapshot_time: 1773690883.470957755 secs.nsecs start_time: 1773690851.685560112 secs.nsecs elapsed_time: 31.785397643 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff987d43bc1800.statahead_batch_max=64 llite.lustre-ffff987d43bc1800.statahead_max=128