== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:01:20 (1789268480) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff97b70bb6e000.batch_stats=0 llite.lustre-ffff97b70bb6e000.statahead_max=32 llite.lustre-ffff97b70bb6e000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff97b70bb6e000.batch_stats=0 total: 100 open/close in 2.26 seconds: 44.15 ops/second llite.lustre-ffff97b70bb6e000.statahead_max=0 101 real 0m2.303s user 0m0.007s sys 0m0.286s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff97b70bb6e000.statahead_max=32 llite.lustre-ffff97b70bb6e000.statahead_max=32 101 real 0m1.067s user 0m0.006s sys 0m0.135s 'ls -l' 100 files with statahead: 1 sec statahead total: 135 statahead wrong: 2 agl total: 130 list_total: 29 fname_total: 106 hit_total: 4289 miss_total: 1273 swrong=2 ewrong=2 - open/close 751 (time 1789268506.55 total 10.02 last 74.96) total: 900 open/close in 12.02 seconds: 74.90 ops/second llite.lustre-ffff97b70bb6e000.statahead_max=0 1001 real 0m22.978s user 0m0.037s sys 0m2.732s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff97b70bb6e000.statahead_max=32 llite.lustre-ffff97b70bb6e000.statahead_max=32 1001 real 0m10.220s user 0m0.019s sys 0m1.221s 'ls -l' 1000 files with statahead: 11 sec statahead total: 136 statahead wrong: 2 agl total: 131 list_total: 30 fname_total: 106 hit_total: 5285 miss_total: 1277 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff97b70bb6e000.statahead_stats= statahead total: 136 statahead wrong: 2 agl total: 131 list_total: 30 fname_total: 106 hit_total: 5285 miss_total: 1277 mdc.lustre-MDT0000-mdc-ffff97b70bb6e000.batch_stats= snapshot_time: 1789268575.498003870 secs.nsecs start_time: 1789268483.988413230 secs.nsecs elapsed_time: 91.509590640 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 7 7 16: 2 5 12 32: 34 87 100 - open/close 778 (time 1789268588.03 total 10.02 last 77.67) - open/close 1533 (time 1789268598.04 total 20.02 last 75.46) - open/close 2316 (time 1789268608.04 total 30.03 last 78.27) - open/close 3130 (time 1789268618.05 total 40.04 last 81.29) - open/close 3901 (time 1789268628.05 total 50.04 last 77.08) - open/close 4599 (time 1789268638.06 total 60.05 last 69.78) - open/close 5322 (time 1789268648.06 total 70.05 last 72.30) - open/close 6115 (time 1789268658.07 total 80.05 last 79.24) - open/close 6929 (time 1789268668.07 total 90.05 last 81.40) - open/close 7774 (time 1789268678.07 total 100.06 last 84.47) - open/close 8586 (time 1789268688.07 total 110.06 last 81.18) - open/close 9423 (time 1789268698.09 total 120.07 last 83.57) total: 10000 open/close in 127.25 seconds: 78.59 ops/second llite.lustre-ffff97b70bb6e000.statahead_batch_max=0 llite.lustre-ffff97b70bb6e000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97b70bb6e000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.838s user 0m0.312s sys 0m14.540s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff97b70bb6e000.statahead_batch_max=32 llite.lustre-ffff97b70bb6e000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97b70bb6e000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff97b70bb6e000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m40.918s user 0m0.267s sys 0m13.052s batched statahead RPC= hit count=9979 mdc.lustre-MDT0000-mdc-ffff97b70bb6e000.batch_stats= snapshot_time: 1789268878.396052216 secs.nsecs start_time: 1789268766.604947172 secs.nsecs elapsed_time: 111.791105044 secs.nsecs subreqs per batch batches %% cum %% 1: 1 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff97b70bb6e000.batch_stats=0 llite.lustre-ffff97b70bb6e000.statahead_max=2048 llite.lustre-ffff97b70bb6e000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff97b70bb6e000.batch_stats=0 total: 100 open/close in 2.56 seconds: 39.00 ops/second llite.lustre-ffff97b70bb6e000.statahead_max=0 101 real 0m1.743s user 0m0.005s sys 0m0.271s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff97b70bb6e000.statahead_max=2048 llite.lustre-ffff97b70bb6e000.statahead_max=2048 101 real 0m0.883s user 0m0.005s sys 0m0.188s '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: 10078 miss_total: 22 swrong=0 ewrong=0 - open/close 817 (time 1789269178.82 total 10.00 last 81.69) total: 900 open/close in 11.06 seconds: 81.41 ops/second llite.lustre-ffff97b70bb6e000.statahead_max=0 1001 real 0m18.630s user 0m0.032s sys 0m2.739s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff97b70bb6e000.statahead_max=2048 llite.lustre-ffff97b70bb6e000.statahead_max=2048 1001 real 0m5.333s user 0m0.025s sys 0m1.404s '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: 11077 miss_total: 23 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 16 seconds llite.lustre-ffff97b70bb6e000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11077 miss_total: 23 mdc.lustre-MDT0000-mdc-ffff97b70bb6e000.batch_stats= snapshot_time: 1789269229.521946554 secs.nsecs start_time: 1789268880.778476181 secs.nsecs elapsed_time: 348.743470373 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 20 20 16: 2 20 40 32: 1 10 50 64: 0 0 50 128: 1 10 60 256: 4 40 100 - open/close 762 (time 1789269241.93 total 10.00 last 76.19) - open/close 1533 (time 1789269251.93 total 20.01 last 77.07) - open/close 2284 (time 1789269261.94 total 30.01 last 75.07) - open/close 3048 (time 1789269271.95 total 40.02 last 76.34) - open/close 3865 (time 1789269281.96 total 50.03 last 81.60) - open/close 4770 (time 1789269291.97 total 60.04 last 90.39) - open/close 5625 (time 1789269301.97 total 70.05 last 85.48) - open/close 6427 (time 1789269311.99 total 80.06 last 80.10) - open/close 7180 (time 1789269321.99 total 90.07 last 75.24) - open/close 7924 (time 1789269332.02 total 100.09 last 74.21) - open/close 8724 (time 1789269342.03 total 110.10 last 79.95) - open/close 9533 (time 1789269352.03 total 120.10 last 80.85) total: 10000 open/close in 126.28 seconds: 79.19 ops/second llite.lustre-ffff97b70bb6e000.statahead_batch_max=0 llite.lustre-ffff97b70bb6e000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97b70bb6e000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.836s user 0m0.274s sys 0m14.146s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff97b70bb6e000.statahead_batch_max=256 llite.lustre-ffff97b70bb6e000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff97b70bb6e000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff97b70bb6e000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m49.311s user 0m0.294s sys 0m14.510s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff97b70bb6e000.batch_stats= snapshot_time: 1789269485.393765758 secs.nsecs start_time: 1789269426.461691914 secs.nsecs elapsed_time: 58.932073844 secs.nsecs subreqs per batch batches %% cum %% 1: 84 40 40 2: 26 12 52 4: 14 6 59 8: 17 8 67 16: 12 5 73 32: 14 6 79 64: 7 3 83 128: 0 0 83 256: 35 16 100 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-ffff97b70bb6e000.statahead_batch_max=64 llite.lustre-ffff97b70bb6e000.statahead_max=128