== sanity test 123ad: Verify batching statahead works correctly ========================================================== 22:46:29 (1775875589) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8c1358bf1800.batch_stats=0 llite.lustre-ffff8c1358bf1800.statahead_max=32 llite.lustre-ffff8c1358bf1800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8c1358bf1800.batch_stats=0 total: 100 open/close in 1.36 seconds: 73.58 ops/second llite.lustre-ffff8c1358bf1800.statahead_max=0 101 real 0m1.332s user 0m0.002s sys 0m0.302s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8c1358bf1800.statahead_max=32 32 101 real 0m0.531s user 0m0.002s sys 0m0.260s ls -l 100 files with statahead: 0 sec statahead total: 108 statahead wrong: 2 agl total: 102 list_total: 30 fname_total: 73 hit_total: 7983 miss_total: 1129 total: 900 open/close in 4.90 seconds: 183.71 ops/second llite.lustre-ffff8c1358bf1800.statahead_max=0 1001 real 0m9.871s user 0m0.029s sys 0m2.818s ls -l 1000 files without statahead: 10 sec llite.lustre-ffff8c1358bf1800.statahead_max=32 32 1001 real 0m4.078s user 0m0.028s sys 0m2.055s ls -l 1000 files with statahead: 4 sec statahead total: 109 statahead wrong: 2 agl total: 103 list_total: 31 fname_total: 73 hit_total: 8982 miss_total: 1130 - open/close 1905 (time 1775875630.65 total 10.00 last 190.49) - open/close 3473 (time 1775875640.65 total 20.00 last 156.75) total: 4000 open/close in 23.37 seconds: 171.15 ops/second llite.lustre-ffff8c1358bf1800.statahead_max=0 5001 real 0m45.369s user 0m0.151s sys 0m13.494s ls -l 5000 files without statahead: 46 sec llite.lustre-ffff8c1358bf1800.statahead_max=32 32 5001 real 0m21.116s user 0m0.095s sys 0m9.860s ls -l 5000 files with statahead: 21 sec statahead total: 110 statahead wrong: 2 agl total: 104 list_total: 32 fname_total: 73 hit_total: 13978 miss_total: 1134 ls -l done rm -r /mnt/lustre/d123ad.sanity: 46 seconds llite.lustre-ffff8c1358bf1800.statahead_stats= statahead total: 110 statahead wrong: 2 agl total: 104 list_total: 32 fname_total: 73 hit_total: 13978 miss_total: 1134 mdc.lustre-MDT0000-mdc-ffff8c1358bf1800.batch_stats= snapshot_time: 1775875764.937980634 secs.nsecs start_time: 1775875591.606942895 secs.nsecs elapsed_time: 173.331037739 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 1 0 0 4: 0 0 0 8: 5 2 3 16: 3 1 4 32: 190 95 100 - open/close 1609 (time 1775875776.02 total 10.00 last 160.85) - open/close 3436 (time 1775875786.03 total 20.01 last 182.62) - open/close 5606 (time 1775875796.03 total 30.01 last 216.91) - open/close 7539 (time 1775875806.03 total 40.01 last 193.29) - open/close 9213 (time 1775875816.03 total 50.01 last 167.40) total: 10000 open/close in 55.09 seconds: 181.53 ops/second llite.lustre-ffff8c1358bf1800.statahead_batch_max=0 llite.lustre-ffff8c1358bf1800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c1358bf1800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.555s user 0m0.306s sys 0m28.515s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8c1358bf1800.statahead_batch_max=32 llite.lustre-ffff8c1358bf1800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c1358bf1800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8c1358bf1800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m43.953s user 0m0.259s sys 0m20.612s batched statahead RPC= hit count=9998 mdc.lustre-MDT0000-mdc-ffff8c1358bf1800.batch_stats= snapshot_time: 1775875908.532604773 secs.nsecs start_time: 1775875856.765105444 secs.nsecs elapsed_time: 51.767499329 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-ffff8c1358bf1800.batch_stats=0 llite.lustre-ffff8c1358bf1800.statahead_max=2048 llite.lustre-ffff8c1358bf1800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8c1358bf1800.batch_stats=0 total: 100 open/close in 1.33 seconds: 75.33 ops/second llite.lustre-ffff8c1358bf1800.statahead_max=0 101 real 0m1.005s user 0m0.007s sys 0m0.299s ls -l 100 files without statahead: 1 sec llite.lustre-ffff8c1358bf1800.statahead_max=2048 2048 101 real 0m0.417s user 0m0.003s sys 0m0.206s 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: 10097 miss_total: 3 total: 900 open/close in 3.74 seconds: 240.83 ops/second llite.lustre-ffff8c1358bf1800.statahead_max=0 1001 real 0m9.014s user 0m0.039s sys 0m2.799s ls -l 1000 files without statahead: 9 sec llite.lustre-ffff8c1358bf1800.statahead_max=2048 2048 1001 real 0m3.426s user 0m0.026s sys 0m1.898s 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: 11096 miss_total: 4 - open/close 2425 (time 1775876069.15 total 10.00 last 242.48) total: 4000 open/close in 16.45 seconds: 243.13 ops/second llite.lustre-ffff8c1358bf1800.statahead_max=0 5001 real 0m48.563s user 0m0.165s sys 0m13.548s ls -l 5000 files without statahead: 48 sec llite.lustre-ffff8c1358bf1800.statahead_max=2048 2048 5001 real 0m14.000s user 0m0.080s sys 0m9.178s ls -l 5000 files with statahead: 14 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 16095 miss_total: 5 ls -l done rm -r /mnt/lustre/d123ad.sanity: 43 seconds llite.lustre-ffff8c1358bf1800.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 16095 miss_total: 5 mdc.lustre-MDT0000-mdc-ffff8c1358bf1800.batch_stats= snapshot_time: 1775876190.079008168 secs.nsecs start_time: 1775875909.595665197 secs.nsecs elapsed_time: 280.483342971 secs.nsecs subreqs per batch batches % cum % 1: 154 61 61 2: 29 11 72 4: 24 9 82 8: 5 1 84 16: 9 3 87 32: 7 2 90 64: 1 0 90 128: 2 0 91 256: 21 8 100 - open/close 1826 (time 1775876201.09 total 10.00 last 182.52) - open/close 3826 (time 1775876211.10 total 20.01 last 199.96) - open/close 5756 (time 1775876221.10 total 30.01 last 192.97) - open/close 7608 (time 1775876231.10 total 40.01 last 185.11) - open/close 9358 (time 1775876241.11 total 50.02 last 174.95) total: 10000 open/close in 54.17 seconds: 184.60 ops/second llite.lustre-ffff8c1358bf1800.statahead_batch_max=0 llite.lustre-ffff8c1358bf1800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c1358bf1800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m31.189s user 0m0.249s sys 0m24.631s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8c1358bf1800.statahead_batch_max=256 llite.lustre-ffff8c1358bf1800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c1358bf1800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8c1358bf1800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m27.985s user 0m0.231s sys 0m20.094s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8c1358bf1800.batch_stats= snapshot_time: 1775876315.070486821 secs.nsecs start_time: 1775876280.481220031 secs.nsecs elapsed_time: 34.589266790 secs.nsecs subreqs per batch batches % cum % 1: 367 60 60 2: 85 14 75 4: 77 12 87 8: 13 2 90 16: 7 1 91 32: 17 2 94 64: 2 0 94 128: 0 0 94 256: 34 5 100 seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff8c1358bf1800.statahead_batch_max=64 llite.lustre-ffff8c1358bf1800.statahead_max=128