== sanity test 123ad: Verify batching statahead works correctly ========================================================== 15:12:12 (1767730332) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff94b1d0493000.batch_stats=0 llite.lustre-ffff94b1d0493000.statahead_max=32 llite.lustre-ffff94b1d0493000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff94b1d0493000.batch_stats=0 total: 100 open/close in 0.64 seconds: 155.61 ops/second llite.lustre-ffff94b1d0493000.statahead_max=0 101 real 0m0.592s user 0m0.004s sys 0m0.216s ls -l 100 files without statahead: 0 sec llite.lustre-ffff94b1d0493000.statahead_max=32 32 101 real 0m0.386s user 0m0.001s sys 0m0.228s ls -l 100 files with statahead: 0 sec statahead total: 62 statahead wrong: 2 agl total: 55 list_total: 27 fname_total: 35 hit_total: 33999 miss_total: 1065 total: 900 open/close in 1.86 seconds: 485.02 ops/second llite.lustre-ffff94b1d0493000.statahead_max=0 1001 real 0m5.932s user 0m0.021s sys 0m2.122s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff94b1d0493000.statahead_max=32 32 1001 real 0m3.628s user 0m0.009s sys 0m2.161s ls -l 1000 files with statahead: 4 sec statahead total: 63 statahead wrong: 2 agl total: 56 list_total: 28 fname_total: 35 hit_total: 34998 miss_total: 1066 - open/close 4737 (time 1767730362.36 total 10.00 last 473.64) total: 9000 open/close in 18.95 seconds: 474.82 ops/second llite.lustre-ffff94b1d0493000.statahead_max=0 10001 real 0m57.111s user 0m0.181s sys 0m20.243s ls -l 10000 files without statahead: 57 sec llite.lustre-ffff94b1d0493000.statahead_max=32 32 10001 real 0m34.399s user 0m0.145s sys 0m19.368s ls -l 10000 files with statahead: 34 sec statahead total: 64 statahead wrong: 2 agl total: 57 list_total: 29 fname_total: 35 hit_total: 44997 miss_total: 1067 ls -l done rm -r /mnt/lustre/d123ad.sanity: 61 seconds llite.lustre-ffff94b1d0493000.statahead_stats= statahead total: 64 statahead wrong: 2 agl total: 57 list_total: 29 fname_total: 35 hit_total: 44997 miss_total: 1067 mdc.lustre-MDT0000-mdc-ffff94b1d0493000.batch_stats= snapshot_time: 1767730534.049629306 secs.nsecs start_time: 1767730334.342627857 secs.nsecs elapsed_time: 199.707001449 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 4811 (time 1767730544.80 total 10.00 last 481.09) - open/close 9552 (time 1767730554.80 total 20.00 last 474.06) total: 10000 open/close in 20.90 seconds: 478.41 ops/second llite.lustre-ffff94b1d0493000.statahead_batch_max=0 llite.lustre-ffff94b1d0493000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff94b1d0493000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.167s user 0m0.182s sys 0m29.514s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff94b1d0493000.statahead_batch_max=32 llite.lustre-ffff94b1d0493000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff94b1d0493000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff94b1d0493000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m34.582s user 0m0.164s sys 0m19.224s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff94b1d0493000.batch_stats= snapshot_time: 1767730628.720011557 secs.nsecs start_time: 1767730589.350080991 secs.nsecs elapsed_time: 39.369930566 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-ffff94b1d0493000.batch_stats=0 llite.lustre-ffff94b1d0493000.statahead_max=2048 llite.lustre-ffff94b1d0493000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff94b1d0493000.batch_stats=0 total: 100 open/close in 0.85 seconds: 118.14 ops/second llite.lustre-ffff94b1d0493000.statahead_max=0 101 real 0m0.584s user 0m0.000s sys 0m0.207s ls -l 100 files without statahead: 1 sec llite.lustre-ffff94b1d0493000.statahead_max=2048 2048 101 real 0m0.439s user 0m0.002s sys 0m0.363s 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: 10098 miss_total: 2 total: 900 open/close in 1.86 seconds: 484.02 ops/second llite.lustre-ffff94b1d0493000.statahead_max=0 1001 real 0m5.865s user 0m0.014s sys 0m2.044s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff94b1d0493000.statahead_max=2048 2048 1001 real 0m3.179s user 0m0.013s sys 0m1.128s 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 4757 (time 1767730738.79 total 10.00 last 475.69) total: 9000 open/close in 19.06 seconds: 472.18 ops/second llite.lustre-ffff94b1d0493000.statahead_max=0 10001 real 0m58.238s user 0m0.162s sys 0m20.068s ls -l 10000 files without statahead: 58 sec llite.lustre-ffff94b1d0493000.statahead_max=2048 2048 10001 real 0m24.404s user 0m0.120s sys 0m17.380s 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: 58 seconds llite.lustre-ffff94b1d0493000.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-ffff94b1d0493000.batch_stats= snapshot_time: 1767730898.409283856 secs.nsecs start_time: 1767730629.603042283 secs.nsecs elapsed_time: 268.806241573 secs.nsecs subreqs per batch batches % cum % 1: 99 45 45 2: 21 9 54 4: 22 10 64 8: 7 3 67 16: 4 1 69 32: 26 11 81 64: 0 0 81 128: 1 0 81 256: 40 18 100 - open/close 4315 (time 1767730909.14 total 10.00 last 431.42) - open/close 7287 (time 1767730919.14 total 20.00 last 297.14) total: 10000 open/close in 28.29 seconds: 353.53 ops/second llite.lustre-ffff94b1d0493000.statahead_batch_max=0 llite.lustre-ffff94b1d0493000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff94b1d0493000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m28.960s user 0m0.149s sys 0m24.587s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff94b1d0493000.statahead_batch_max=256 llite.lustre-ffff94b1d0493000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff94b1d0493000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff94b1d0493000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m24.959s user 0m0.126s sys 0m17.370s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff94b1d0493000.batch_stats= snapshot_time: 1767730988.433305051 secs.nsecs start_time: 1767730959.144817251 secs.nsecs elapsed_time: 29.288487800 secs.nsecs subreqs per batch batches % cum % 1: 148 50 50 2: 38 12 63 4: 36 12 75 8: 8 2 78 16: 1 0 78 32: 25 8 87 64: 2 0 88 128: 0 0 88 256: 35 11 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff94b1d0493000.statahead_batch_max=64 llite.lustre-ffff94b1d0493000.statahead_max=128