== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:12:10 (1767327130) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff97a8c6e77000.batch_stats=0 llite.lustre-ffff97a8c6e77000.statahead_max=32 llite.lustre-ffff97a8c6e77000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff97a8c6e77000.batch_stats=0 total: 100 open/close in 0.59 seconds: 170.68 ops/second llite.lustre-ffff97a8c6e77000.statahead_max=0 101 real 0m0.646s user 0m0.002s sys 0m0.231s ls -l 100 files without statahead: 0 sec llite.lustre-ffff97a8c6e77000.statahead_max=32 32 101 real 0m0.378s user 0m0.002s sys 0m0.217s ls -l 100 files with statahead: 0 sec statahead total: 87 statahead wrong: 2 agl total: 81 list_total: 31 fname_total: 56 hit_total: 33868 miss_total: 519 total: 900 open/close in 1.86 seconds: 482.79 ops/second llite.lustre-ffff97a8c6e77000.statahead_max=0 1001 real 0m6.906s user 0m0.017s sys 0m2.453s ls -l 1000 files without statahead: 7 sec llite.lustre-ffff97a8c6e77000.statahead_max=32 32 1001 real 0m3.349s user 0m0.018s sys 0m1.824s ls -l 1000 files with statahead: 3 sec statahead total: 88 statahead wrong: 2 agl total: 82 list_total: 32 fname_total: 56 hit_total: 34867 miss_total: 520 - open/close 4877 (time 1767327160.10 total 10.00 last 487.63) total: 9000 open/close in 18.36 seconds: 490.19 ops/second llite.lustre-ffff97a8c6e77000.statahead_max=0 10001 real 0m57.869s user 0m0.173s sys 0m20.287s ls -l 10000 files without statahead: 57 sec llite.lustre-ffff97a8c6e77000.statahead_max=32 32 10001 real 0m33.670s user 0m0.149s sys 0m19.020s ls -l 10000 files with statahead: 34 sec statahead total: 89 statahead wrong: 2 agl total: 83 list_total: 33 fname_total: 56 hit_total: 44866 miss_total: 521 ls -l done rm -r /mnt/lustre/d123ad.sanity: 56 seconds llite.lustre-ffff97a8c6e77000.statahead_stats= statahead total: 89 statahead wrong: 2 agl total: 83 list_total: 33 fname_total: 56 hit_total: 44866 miss_total: 521 mdc.lustre-MDT0000-mdc-ffff97a8c6e77000.batch_stats= snapshot_time: 1767327326.154076484 secs.nsecs start_time: 1767327131.505295872 secs.nsecs elapsed_time: 194.648780612 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 4587 (time 1767327336.94 total 10.00 last 458.61) - open/close 8671 (time 1767327346.94 total 20.00 last 408.33) total: 10000 open/close in 22.83 seconds: 438.11 ops/second llite.lustre-ffff97a8c6e77000.statahead_batch_max=0 llite.lustre-ffff97a8c6e77000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97a8c6e77000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.142s user 0m0.143s sys 0m24.814s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff97a8c6e77000.statahead_batch_max=32 llite.lustre-ffff97a8c6e77000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97a8c6e77000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff97a8c6e77000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.918s user 0m0.148s sys 0m18.312s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff97a8c6e77000.batch_stats= snapshot_time: 1767327423.085101875 secs.nsecs start_time: 1767327384.359765400 secs.nsecs elapsed_time: 38.725336475 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-ffff97a8c6e77000.batch_stats=0 llite.lustre-ffff97a8c6e77000.statahead_max=2048 llite.lustre-ffff97a8c6e77000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff97a8c6e77000.batch_stats=0 total: 100 open/close in 0.64 seconds: 157.45 ops/second llite.lustre-ffff97a8c6e77000.statahead_max=0 101 real 0m0.598s user 0m0.001s sys 0m0.212s ls -l 100 files without statahead: 0 sec llite.lustre-ffff97a8c6e77000.statahead_max=2048 2048 101 real 0m0.373s user 0m0.003s sys 0m0.223s 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.79 seconds: 501.69 ops/second llite.lustre-ffff97a8c6e77000.statahead_max=0 1001 real 0m5.664s user 0m0.019s sys 0m1.972s ls -l 1000 files without statahead: 6 sec llite.lustre-ffff97a8c6e77000.statahead_max=2048 2048 1001 real 0m2.941s user 0m0.014s sys 0m1.022s 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 4908 (time 1767327536.37 total 10.00 last 490.78) total: 9000 open/close in 18.76 seconds: 479.84 ops/second llite.lustre-ffff97a8c6e77000.statahead_max=0 10001 real 0m56.353s user 0m0.161s sys 0m19.321s ls -l 10000 files without statahead: 57 sec llite.lustre-ffff97a8c6e77000.statahead_max=2048 2048 10001 real 0m35.423s user 0m0.144s sys 0m23.503s ls -l 10000 files with statahead: 36 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-ffff97a8c6e77000.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-ffff97a8c6e77000.batch_stats= snapshot_time: 1767327712.657608648 secs.nsecs start_time: 1767327423.905234867 secs.nsecs elapsed_time: 288.752373781 secs.nsecs subreqs per batch batches % cum % 1: 260 58 58 2: 98 22 80 4: 12 2 83 8: 4 0 84 16: 5 1 85 32: 22 4 90 64: 2 0 90 128: 1 0 91 256: 39 8 100 - open/close 2396 (time 1767327724.31 total 10.00 last 239.52) - open/close 5012 (time 1767327734.31 total 20.00 last 261.56) - open/close 8366 (time 1767327744.32 total 30.01 last 335.32) total: 10000 open/close in 35.08 seconds: 285.05 ops/second llite.lustre-ffff97a8c6e77000.statahead_batch_max=0 llite.lustre-ffff97a8c6e77000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97a8c6e77000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m41.765s user 0m0.128s sys 0m36.524s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff97a8c6e77000.statahead_batch_max=256 llite.lustre-ffff97a8c6e77000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97a8c6e77000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff97a8c6e77000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m36.954s user 0m0.131s sys 0m24.928s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff97a8c6e77000.batch_stats= snapshot_time: 1767327836.682216501 secs.nsecs start_time: 1767327793.943665270 secs.nsecs elapsed_time: 42.738551231 secs.nsecs subreqs per batch batches % cum % 1: 150 57 57 2: 35 13 71 4: 9 3 74 8: 3 1 75 16: 3 1 76 32: 22 8 85 64: 2 0 86 128: 0 0 86 256: 36 13 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff97a8c6e77000.statahead_batch_max=64 llite.lustre-ffff97a8c6e77000.statahead_max=128