== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:20:34 (1767327634) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff932f98ef0000.batch_stats=0 llite.lustre-ffff932f98ef0000.statahead_max=32 llite.lustre-ffff932f98ef0000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff932f98ef0000.batch_stats=0 total: 100 open/close in 0.58 seconds: 171.93 ops/second llite.lustre-ffff932f98ef0000.statahead_max=0 101 real 0m0.542s user 0m0.002s sys 0m0.201s ls -l 100 files without statahead: 1 sec llite.lustre-ffff932f98ef0000.statahead_max=32 32 101 real 0m0.360s user 0m0.004s sys 0m0.175s ls -l 100 files with statahead: 1 sec statahead total: 89 statahead wrong: 2 agl total: 84 list_total: 31 fname_total: 49 hit_total: 34037 miss_total: 1160 total: 900 open/close in 1.69 seconds: 533.56 ops/second llite.lustre-ffff932f98ef0000.statahead_max=0 1001 real 0m5.175s user 0m0.015s sys 0m1.902s ls -l 1000 files without statahead: 5 sec llite.lustre-ffff932f98ef0000.statahead_max=32 32 1001 real 0m3.072s user 0m0.016s sys 0m1.469s ls -l 1000 files with statahead: 3 sec statahead total: 90 statahead wrong: 2 agl total: 85 list_total: 32 fname_total: 49 hit_total: 35036 miss_total: 1161 - open/close 5720 (time 1767327662.14 total 10.00 last 571.98) total: 9000 open/close in 15.67 seconds: 574.24 ops/second llite.lustre-ffff932f98ef0000.statahead_max=0 10001 real 0m53.380s user 0m0.173s sys 0m19.215s ls -l 10000 files without statahead: 53 sec llite.lustre-ffff932f98ef0000.statahead_max=32 32 10001 real 0m34.279s user 0m0.174s sys 0m19.141s ls -l 10000 files with statahead: 34 sec statahead total: 91 statahead wrong: 2 agl total: 86 list_total: 33 fname_total: 49 hit_total: 45035 miss_total: 1162 ls -l done rm -r /mnt/lustre/d123ad.sanity: 57 seconds llite.lustre-ffff932f98ef0000.statahead_stats= statahead total: 91 statahead wrong: 2 agl total: 86 list_total: 33 fname_total: 49 hit_total: 45035 miss_total: 1162 mdc.lustre-MDT0000-mdc-ffff932f98ef0000.batch_stats= snapshot_time: 1767327821.218211190 secs.nsecs start_time: 1767327635.945826314 secs.nsecs elapsed_time: 185.272384876 secs.nsecs subreqs per batch batches % cum % 1: 1 0 0 2: 0 0 0 4: 1 0 0 8: 3 0 1 16: 4 1 2 32: 346 97 100 - open/close 4678 (time 1767327831.99 total 10.00 last 467.75) - open/close 9386 (time 1767327841.99 total 20.00 last 470.77) total: 10000 open/close in 21.25 seconds: 470.67 ops/second llite.lustre-ffff932f98ef0000.statahead_batch_max=0 llite.lustre-ffff932f98ef0000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff932f98ef0000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.151s user 0m0.179s sys 0m29.233s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff932f98ef0000.statahead_batch_max=32 llite.lustre-ffff932f98ef0000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff932f98ef0000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff932f98ef0000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.397s user 0m0.149s sys 0m19.812s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff932f98ef0000.batch_stats= snapshot_time: 1767327917.349488279 secs.nsecs start_time: 1767327877.086414968 secs.nsecs elapsed_time: 40.263073311 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-ffff932f98ef0000.batch_stats=0 llite.lustre-ffff932f98ef0000.statahead_max=2048 llite.lustre-ffff932f98ef0000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff932f98ef0000.batch_stats=0 total: 100 open/close in 1.15 seconds: 87.27 ops/second llite.lustre-ffff932f98ef0000.statahead_max=0 101 real 0m0.688s user 0m0.004s sys 0m0.242s ls -l 100 files without statahead: 0 sec llite.lustre-ffff932f98ef0000.statahead_max=2048 2048 101 real 0m0.440s user 0m0.009s sys 0m0.258s 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.97 seconds: 456.10 ops/second llite.lustre-ffff932f98ef0000.statahead_max=0 1001 real 0m5.958s user 0m0.018s sys 0m2.193s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff932f98ef0000.statahead_max=2048 2048 1001 real 0m3.195s user 0m0.011s sys 0m1.605s 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 4707 (time 1767328030.81 total 10.00 last 470.65) total: 9000 open/close in 18.91 seconds: 476.04 ops/second llite.lustre-ffff932f98ef0000.statahead_max=0 10001 real 0m56.395s user 0m0.186s sys 0m20.124s ls -l 10000 files without statahead: 56 sec llite.lustre-ffff932f98ef0000.statahead_max=2048 2048 10001 real 0m24.913s user 0m0.145s sys 0m18.515s ls -l 10000 files with statahead: 25 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: 60 seconds llite.lustre-ffff932f98ef0000.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-ffff932f98ef0000.batch_stats= snapshot_time: 1767328191.415319692 secs.nsecs start_time: 1767327918.156380378 secs.nsecs elapsed_time: 273.258939314 secs.nsecs subreqs per batch batches % cum % 1: 155 51 51 2: 46 15 66 4: 25 8 74 8: 7 2 76 16: 4 1 78 32: 24 7 86 64: 2 0 86 128: 1 0 87 256: 39 12 100 - open/close 4806 (time 1767328202.94 total 10.00 last 480.58) - open/close 9665 (time 1767328212.94 total 20.00 last 485.83) total: 10000 open/close in 20.66 seconds: 484.11 ops/second llite.lustre-ffff932f98ef0000.statahead_batch_max=0 llite.lustre-ffff932f98ef0000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff932f98ef0000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m34.397s user 0m0.160s sys 0m28.824s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff932f98ef0000.statahead_batch_max=256 llite.lustre-ffff932f98ef0000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff932f98ef0000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff932f98ef0000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m25.138s user 0m0.139s sys 0m18.655s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff932f98ef0000.batch_stats= snapshot_time: 1767328280.295852065 secs.nsecs start_time: 1767328250.450271191 secs.nsecs elapsed_time: 29.845580874 secs.nsecs subreqs per batch batches % cum % 1: 195 58 58 2: 48 14 73 4: 23 6 80 8: 3 0 81 16: 2 0 81 32: 24 7 89 64: 1 0 89 128: 0 0 89 256: 35 10 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff932f98ef0000.statahead_batch_max=64 llite.lustre-ffff932f98ef0000.statahead_max=128