== sanity test 123ad: Verify batching statahead works correctly ========================================================== 13:46:23 (1788803183) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9876e5f80800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9876e5f80800.batch_stats=0 llite.lustre-ffff9876e5f80800.statahead_max=32 llite.lustre-ffff9876e5f80800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9876e5f80800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9876e5f80800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 3.72 seconds: 26.86 ops/second llite.lustre-ffff9876e5f80800.statahead_max=0 101 real 0m3.775s user 0m0.005s sys 0m0.376s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9876e5f80800.statahead_max=32 llite.lustre-ffff9876e5f80800.statahead_max=32 101 real 0m1.422s user 0m0.005s sys 0m0.198s 'ls -l' 100 files with statahead: 1 sec statahead total: 128 statahead wrong: 2 agl total: 122 list_total: 31 fname_total: 93 hit_total: 3611 miss_total: 1538 swrong=2 ewrong=2 - open/close 761 (time 1788803217.89 total 10.02 last 75.96) total: 900 open/close in 12.23 seconds: 73.60 ops/second llite.lustre-ffff9876e5f80800.statahead_max=0 1001 real 0m22.475s user 0m0.043s sys 0m3.170s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff9876e5f80800.statahead_max=32 llite.lustre-ffff9876e5f80800.statahead_max=32 1001 real 0m9.746s user 0m0.036s sys 0m1.416s 'ls -l' 1000 files with statahead: 9 sec statahead total: 129 statahead wrong: 2 agl total: 123 list_total: 32 fname_total: 93 hit_total: 4609 miss_total: 1540 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff9876e5f80800.statahead_stats= statahead total: 129 statahead wrong: 2 agl total: 123 list_total: 32 fname_total: 93 hit_total: 4609 miss_total: 1540 mdc.lustre-MDT0000-mdc-ffff9876e5f80800.batch_stats= snapshot_time: 1788803287.897720381 secs.nsecs start_time: 1788803188.791349084 secs.nsecs elapsed_time: 99.106371297 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 1 2 7 8: 3 7 15 16: 16 41 56 32: 17 43 100 mdc.lustre-MDT0001-mdc-ffff9876e5f80800.batch_stats= snapshot_time: 1788803287.897786163 secs.nsecs start_time: 1788803188.791569162 secs.nsecs elapsed_time: 99.106217001 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 2 5 7 4: 1 2 10 8: 2 5 15 16: 22 55 70 32: 12 30 100 - open/close 623 (time 1788803301.20 total 10.00 last 62.28) - open/close 1400 (time 1788803311.21 total 20.01 last 77.67) - open/close 2243 (time 1788803321.22 total 30.02 last 84.23) - open/close 3076 (time 1788803331.22 total 40.02 last 83.26) - open/close 3778 (time 1788803341.23 total 50.03 last 70.16) - open/close 4475 (time 1788803351.23 total 60.03 last 69.66) - open/close 5169 (time 1788803361.24 total 70.04 last 69.35) - open/close 5882 (time 1788803371.24 total 80.04 last 71.28) - open/close 6588 (time 1788803381.25 total 90.05 last 70.54) - open/close 7338 (time 1788803391.25 total 100.05 last 75.00) - open/close 7975 (time 1788803401.26 total 110.06 last 63.65) - open/close 8668 (time 1788803411.26 total 120.06 last 69.29) - open/close 9455 (time 1788803421.26 total 130.06 last 78.68) total: 10000 open/close in 136.99 seconds: 73.00 ops/second llite.lustre-ffff9876e5f80800.statahead_batch_max=0 llite.lustre-ffff9876e5f80800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9876e5f80800.stats=clear mdc.lustre-MDT0001-mdc-ffff9876e5f80800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m10.869s user 0m0.339s sys 0m14.370s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9876e5f80800.statahead_batch_max=32 llite.lustre-ffff9876e5f80800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9876e5f80800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9876e5f80800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9876e5f80800.stats=clear mdc.lustre-MDT0001-mdc-ffff9876e5f80800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m48.374s user 0m0.305s sys 0m13.992s batched statahead RPC= hit count=9980 mdc.lustre-MDT0000-mdc-ffff9876e5f80800.batch_stats= snapshot_time: 1788803626.352933340 secs.nsecs start_time: 1788803507.946508681 secs.nsecs elapsed_time: 118.406424659 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff9876e5f80800.batch_stats= snapshot_time: 1788803626.353230175 secs.nsecs start_time: 1788803507.946635863 secs.nsecs elapsed_time: 118.406594312 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9876e5f80800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9876e5f80800.batch_stats=0 llite.lustre-ffff9876e5f80800.statahead_max=2048 llite.lustre-ffff9876e5f80800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9876e5f80800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9876e5f80800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.89 seconds: 34.65 ops/second llite.lustre-ffff9876e5f80800.statahead_max=0 101 real 0m3.005s user 0m0.008s sys 0m0.343s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9876e5f80800.statahead_max=2048 llite.lustre-ffff9876e5f80800.statahead_max=2048 101 real 0m0.968s user 0m0.003s sys 0m0.172s '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: 10079 miss_total: 21 swrong=0 ewrong=0 - open/close 743 (time 1788803948.53 total 10.01 last 74.25) total: 900 open/close in 12.13 seconds: 74.22 ops/second llite.lustre-ffff9876e5f80800.statahead_max=0 1001 real 0m20.559s user 0m0.027s sys 0m2.870s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff9876e5f80800.statahead_max=2048 llite.lustre-ffff9876e5f80800.statahead_max=2048 1001 real 0m6.749s user 0m0.023s sys 0m1.323s 'ls -l' 1000 files with statahead: 7 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11078 miss_total: 22 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 26 seconds llite.lustre-ffff9876e5f80800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11078 miss_total: 22 mdc.lustre-MDT0000-mdc-ffff9876e5f80800.batch_stats= snapshot_time: 1788804017.562938933 secs.nsecs start_time: 1788803629.134517450 secs.nsecs elapsed_time: 388.428421483 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 25 25 8: 3 37 62 16: 0 0 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff9876e5f80800.batch_stats= snapshot_time: 1788804017.563018579 secs.nsecs start_time: 1788803629.136775667 secs.nsecs elapsed_time: 388.426242912 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 12 12 4: 3 37 50 8: 0 0 50 16: 1 12 62 32: 1 12 75 64: 0 0 75 128: 0 0 75 256: 2 25 100 - open/close 645 (time 1788804030.93 total 10.00 last 64.48) - open/close 1303 (time 1788804040.93 total 20.01 last 65.79) - open/close 1986 (time 1788804050.93 total 30.01 last 68.27) - open/close 2739 (time 1788804060.95 total 40.03 last 75.15) - open/close 3406 (time 1788804070.96 total 50.04 last 66.65) - open/close 4192 (time 1788804080.97 total 60.05 last 78.52) - open/close 4987 (time 1788804090.97 total 70.05 last 79.46) - open/close 5827 (time 1788804100.98 total 80.06 last 83.92) - open/close 6630 (time 1788804110.99 total 90.07 last 80.26) - open/close 7316 (time 1788804121.01 total 100.08 last 68.49) - open/close 7970 (time 1788804131.01 total 110.08 last 65.39) - open/close 8706 (time 1788804141.01 total 120.09 last 73.56) - open/close 9438 (time 1788804151.02 total 130.10 last 73.10) total: 10000 open/close in 138.12 seconds: 72.40 ops/second llite.lustre-ffff9876e5f80800.statahead_batch_max=0 llite.lustre-ffff9876e5f80800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9876e5f80800.stats=clear mdc.lustre-MDT0001-mdc-ffff9876e5f80800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m9.292s user 0m0.330s sys 0m14.058s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9876e5f80800.statahead_batch_max=256 llite.lustre-ffff9876e5f80800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9876e5f80800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9876e5f80800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9876e5f80800.stats=clear mdc.lustre-MDT0001-mdc-ffff9876e5f80800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.432s user 0m0.332s sys 0m14.450s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9876e5f80800.batch_stats= snapshot_time: 1788804310.594640547 secs.nsecs start_time: 1788804237.213801011 secs.nsecs elapsed_time: 73.380839536 secs.nsecs subreqs per batch batches %% cum %% 1: 85 32 32 2: 52 19 52 4: 36 13 66 8: 22 8 74 16: 9 3 77 32: 16 6 83 64: 7 2 86 128: 1 0 87 256: 34 12 100 mdc.lustre-MDT0001-mdc-ffff9876e5f80800.batch_stats= snapshot_time: 1788804310.594690478 secs.nsecs start_time: 1788804237.213937089 secs.nsecs elapsed_time: 73.380753389 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 unlink(/mnt/lustre/d123ad.sanity/f123ad.sanity0) error: No such file or directory total: 0 unlinks in 0 seconds: -nan unlinks/second unlink(/mnt/lustre/d123ad.sanity/f123ad.sanity0) error: No such file or directory total: 0 unlinks in 0 seconds: -nan unlinks/second seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff9876e5f80800.statahead_batch_max=64 llite.lustre-ffff9876e5f80800.statahead_max=128