== sanity test 123ad: Verify batching statahead works correctly ========================================================== 13:45:22 (1772477122) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff908e85209000.batch_stats=0 llite.lustre-ffff908e85209000.statahead_max=32 llite.lustre-ffff908e85209000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff908e85209000.batch_stats=0 total: 100 open/close in 0.64 seconds: 155.90 ops/second llite.lustre-ffff908e85209000.statahead_max=0 101 real 0m0.608s user 0m0.005s sys 0m0.240s ls -l 100 files without statahead: 1 sec llite.lustre-ffff908e85209000.statahead_max=32 32 101 real 0m0.368s user 0m0.002s sys 0m0.193s ls -l 100 files with statahead: 1 sec statahead total: 123 statahead wrong: 2 agl total: 117 list_total: 32 fname_total: 91 hit_total: 29072 miss_total: 1478 total: 900 open/close in 1.95 seconds: 460.66 ops/second llite.lustre-ffff908e85209000.statahead_max=0 1001 real 0m5.989s user 0m0.035s sys 0m2.338s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff908e85209000.statahead_max=32 32 1001 real 0m3.429s user 0m0.017s sys 0m1.932s ls -l 1000 files with statahead: 3 sec statahead total: 124 statahead wrong: 2 agl total: 118 list_total: 33 fname_total: 91 hit_total: 30071 miss_total: 1479 - open/close 4485 (time 1772477151.98 total 10.00 last 448.45) - open/close 8954 (time 1772477161.98 total 20.00 last 446.84) total: 9000 open/close in 20.10 seconds: 447.78 ops/second llite.lustre-ffff908e85209000.statahead_max=0 10001 real 1m2.549s user 0m0.242s sys 0m23.914s ls -l 10000 files without statahead: 63 sec llite.lustre-ffff908e85209000.statahead_max=32 32 10001 real 0m46.658s user 0m0.183s sys 0m27.392s ls -l 10000 files with statahead: 47 sec statahead total: 125 statahead wrong: 2 agl total: 119 list_total: 34 fname_total: 91 hit_total: 40070 miss_total: 1480 ls -l done rm -r /mnt/lustre/d123ad.sanity: 69 seconds llite.lustre-ffff908e85209000.statahead_stats= statahead total: 125 statahead wrong: 2 agl total: 119 list_total: 34 fname_total: 91 hit_total: 40070 miss_total: 1480 mdc.lustre-MDT0000-mdc-ffff908e85209000.batch_stats= snapshot_time: 1772477355.267301340 secs.nsecs start_time: 1772477123.946359160 secs.nsecs elapsed_time: 231.320942180 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 5289 (time 1772477366.03 total 10.00 last 528.86) - open/close 9873 (time 1772477376.03 total 20.00 last 458.37) total: 10000 open/close in 20.25 seconds: 493.80 ops/second llite.lustre-ffff908e85209000.statahead_batch_max=0 llite.lustre-ffff908e85209000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff908e85209000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m45.057s user 0m0.213s sys 0m43.122s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff908e85209000.statahead_batch_max=32 llite.lustre-ffff908e85209000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff908e85209000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff908e85209000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m45.700s user 0m0.165s sys 0m27.108s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff908e85209000.batch_stats= snapshot_time: 1772477477.705909560 secs.nsecs start_time: 1772477424.856743069 secs.nsecs elapsed_time: 52.849166491 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-ffff908e85209000.batch_stats=0 llite.lustre-ffff908e85209000.statahead_max=2048 llite.lustre-ffff908e85209000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff908e85209000.batch_stats=0 total: 100 open/close in 0.69 seconds: 145.50 ops/second llite.lustre-ffff908e85209000.statahead_max=0 101 real 0m0.657s user 0m0.007s sys 0m0.250s ls -l 100 files without statahead: 1 sec llite.lustre-ffff908e85209000.statahead_max=2048 2048 101 real 0m0.532s user 0m0.000s sys 0m0.354s 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.96 seconds: 459.75 ops/second llite.lustre-ffff908e85209000.statahead_max=0 1001 real 0m6.660s user 0m0.022s sys 0m2.538s ls -l 1000 files without statahead: 7 sec llite.lustre-ffff908e85209000.statahead_max=2048 2048 1001 real 0m4.814s user 0m0.016s sys 0m2.788s ls -l 1000 files with statahead: 5 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 - open/close 4249 (time 1772477611.78 total 10.00 last 424.87) - open/close 8812 (time 1772477621.78 total 20.00 last 456.29) total: 9000 open/close in 20.37 seconds: 441.78 ops/second llite.lustre-ffff908e85209000.statahead_max=0 10001 real 1m2.112s user 0m0.231s sys 0m23.529s ls -l 10000 files without statahead: 62 sec llite.lustre-ffff908e85209000.statahead_max=2048 2048 10001 real 0m39.158s user 0m0.150s sys 0m26.179s ls -l 10000 files with statahead: 39 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: 76 seconds llite.lustre-ffff908e85209000.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-ffff908e85209000.batch_stats= snapshot_time: 1772477813.788714720 secs.nsecs start_time: 1772477478.658985461 secs.nsecs elapsed_time: 335.129729259 secs.nsecs subreqs per batch batches % cum % 1: 546 67 67 2: 139 17 85 4: 41 5 90 8: 8 0 91 16: 8 0 92 32: 24 2 95 64: 0 0 95 128: 1 0 95 256: 37 4 100 - open/close 3856 (time 1772477825.42 total 10.00 last 385.50) - open/close 8309 (time 1772477835.42 total 20.00 last 445.29) total: 10000 open/close in 23.77 seconds: 420.71 ops/second llite.lustre-ffff908e85209000.statahead_batch_max=0 llite.lustre-ffff908e85209000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff908e85209000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m48.435s user 0m0.179s sys 0m40.392s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff908e85209000.statahead_batch_max=256 llite.lustre-ffff908e85209000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff908e85209000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff908e85209000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m39.685s user 0m0.159s sys 0m26.888s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff908e85209000.batch_stats= snapshot_time: 1772477937.355004065 secs.nsecs start_time: 1772477890.916345093 secs.nsecs elapsed_time: 46.438658972 secs.nsecs subreqs per batch batches % cum % 1: 576 73 73 2: 123 15 89 4: 16 2 91 8: 4 0 92 16: 8 1 93 32: 18 2 95 64: 2 0 95 128: 1 0 95 256: 33 4 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff908e85209000.statahead_batch_max=64 llite.lustre-ffff908e85209000.statahead_max=128