== sanity test 123ad: Verify batching statahead works correctly ========================================================== 02:37:41 (1789022261) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff99471842e000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99471842e000.batch_stats=0 llite.lustre-ffff99471842e000.statahead_max=32 llite.lustre-ffff99471842e000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff99471842e000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99471842e000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.77 seconds: 36.09 ops/second llite.lustre-ffff99471842e000.statahead_max=0 101 real 0m2.729s user 0m0.009s sys 0m0.362s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff99471842e000.statahead_max=32 llite.lustre-ffff99471842e000.statahead_max=32 101 real 0m1.085s user 0m0.008s sys 0m0.171s 'ls -l' 100 files with statahead: 1 sec statahead total: 143 statahead wrong: 2 agl total: 137 list_total: 31 fname_total: 107 hit_total: 4545 miss_total: 1280 swrong=2 ewrong=2 - open/close 690 (time 1789022291.94 total 10.02 last 68.86) total: 900 open/close in 13.54 seconds: 66.45 ops/second llite.lustre-ffff99471842e000.statahead_max=0 1001 real 0m25.793s user 0m0.038s sys 0m2.958s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff99471842e000.statahead_max=32 llite.lustre-ffff99471842e000.statahead_max=32 1001 real 0m10.799s user 0m0.031s sys 0m1.444s 'ls -l' 1000 files with statahead: 10 sec statahead total: 144 statahead wrong: 2 agl total: 138 list_total: 32 fname_total: 107 hit_total: 5542 miss_total: 1283 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff99471842e000.statahead_stats= statahead total: 144 statahead wrong: 2 agl total: 138 list_total: 32 fname_total: 107 hit_total: 5542 miss_total: 1283 mdc.lustre-MDT0000-mdc-ffff99471842e000.batch_stats= snapshot_time: 1789022371.220189030 secs.nsecs start_time: 1789022268.310629176 secs.nsecs elapsed_time: 102.909559854 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 3 7 12 8: 3 7 20 16: 17 42 62 32: 15 37 100 mdc.lustre-MDT0001-mdc-ffff99471842e000.batch_stats= snapshot_time: 1789022371.220270965 secs.nsecs start_time: 1789022268.310730341 secs.nsecs elapsed_time: 102.909540624 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 7 7 8: 2 5 12 16: 23 58 71 32: 11 28 100 - open/close 536 (time 1789022384.14 total 10.00 last 53.59) - open/close 1190 (time 1789022394.14 total 20.00 last 65.40) - open/close 1882 (time 1789022404.15 total 30.01 last 69.14) - open/close 2475 (time 1789022414.16 total 40.02 last 59.25) - open/close 2944 (time 1789022424.17 total 50.03 last 46.83) - open/close 3405 (time 1789022434.17 total 60.04 last 46.09) - open/close 3901 (time 1789022444.18 total 70.04 last 49.57) - open/close 4504 (time 1789022454.20 total 80.06 last 60.19) - open/close 5021 (time 1789022464.21 total 90.08 last 51.63) - open/close 5542 (time 1789022474.25 total 100.11 last 51.91) - open/close 6058 (time 1789022484.26 total 110.13 last 51.52) - open/close 6606 (time 1789022494.27 total 120.13 last 54.79) - open/close 7254 (time 1789022504.27 total 130.14 last 64.76) - open/close 7923 (time 1789022514.28 total 140.14 last 66.88) - open/close 8633 (time 1789022524.28 total 150.14 last 70.98) - open/close 9347 (time 1789022534.29 total 160.15 last 71.32) total: 10000 open/close in 169.57 seconds: 58.97 ops/second llite.lustre-ffff99471842e000.statahead_batch_max=0 llite.lustre-ffff99471842e000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99471842e000.stats=clear mdc.lustre-MDT0001-mdc-ffff99471842e000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m19.466s user 0m0.328s sys 0m14.733s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff99471842e000.statahead_batch_max=32 llite.lustre-ffff99471842e000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99471842e000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff99471842e000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff99471842e000.stats=clear mdc.lustre-MDT0001-mdc-ffff99471842e000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m56.696s user 0m0.320s sys 0m13.975s batched statahead RPC= hit count=9977 mdc.lustre-MDT0000-mdc-ffff99471842e000.batch_stats= snapshot_time: 1789022759.314217909 secs.nsecs start_time: 1789022632.644357055 secs.nsecs elapsed_time: 126.669860854 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff99471842e000.batch_stats= snapshot_time: 1789022759.314279237 secs.nsecs start_time: 1789022632.644429081 secs.nsecs elapsed_time: 126.669850156 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff99471842e000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99471842e000.batch_stats=0 llite.lustre-ffff99471842e000.statahead_max=2048 llite.lustre-ffff99471842e000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff99471842e000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff99471842e000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.16 seconds: 31.61 ops/second llite.lustre-ffff99471842e000.statahead_max=0 101 real 0m3.238s user 0m0.004s sys 0m0.326s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff99471842e000.statahead_max=2048 llite.lustre-ffff99471842e000.statahead_max=2048 101 real 0m1.078s user 0m0.007s sys 0m0.194s '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: 10076 miss_total: 24 swrong=0 ewrong=0 - open/close 518 (time 1789023098.29 total 10.01 last 51.74) total: 900 open/close in 16.25 seconds: 55.39 ops/second llite.lustre-ffff99471842e000.statahead_max=0 1001 real 0m29.549s user 0m0.032s sys 0m3.175s 'ls -l' 1000 files without statahead: 30 sec llite.lustre-ffff99471842e000.statahead_max=2048 llite.lustre-ffff99471842e000.statahead_max=2048 1001 real 0m6.634s user 0m0.032s sys 0m1.399s '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: 11075 miss_total: 25 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 26 seconds llite.lustre-ffff99471842e000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11075 miss_total: 25 mdc.lustre-MDT0000-mdc-ffff99471842e000.batch_stats= snapshot_time: 1789023180.285763797 secs.nsecs start_time: 1789022761.930529564 secs.nsecs elapsed_time: 418.355234233 secs.nsecs subreqs per batch batches %% cum %% 1: 2 28 28 2: 0 0 28 4: 2 28 57 8: 0 0 57 16: 0 0 57 32: 0 0 57 64: 1 14 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff99471842e000.batch_stats= snapshot_time: 1789023180.285845643 secs.nsecs start_time: 1789022761.930745191 secs.nsecs elapsed_time: 418.355100452 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 33 33 16: 2 22 55 32: 0 0 55 64: 2 22 77 128: 0 0 77 256: 2 22 100 - open/close 714 (time 1789023193.22 total 10.01 last 71.35) - open/close 1361 (time 1789023203.23 total 20.02 last 64.65) - open/close 2057 (time 1789023213.24 total 30.02 last 69.56) - open/close 2709 (time 1789023223.25 total 40.03 last 65.16) - open/close 3401 (time 1789023233.27 total 50.05 last 69.05) - open/close 4113 (time 1789023243.28 total 60.06 last 71.13) - open/close 4734 (time 1789023253.29 total 70.07 last 62.03) - open/close 5379 (time 1789023263.29 total 80.07 last 64.48) - open/close 6016 (time 1789023273.30 total 90.08 last 63.65) - open/close 6716 (time 1789023283.30 total 100.09 last 69.97) - open/close 7433 (time 1789023293.31 total 110.09 last 71.67) - open/close 8134 (time 1789023303.31 total 120.09 last 70.08) - open/close 8811 (time 1789023313.32 total 130.10 last 67.66) - open/close 9461 (time 1789023323.32 total 140.10 last 64.98) total: 10000 open/close in 147.82 seconds: 67.65 ops/second llite.lustre-ffff99471842e000.statahead_batch_max=0 llite.lustre-ffff99471842e000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99471842e000.stats=clear mdc.lustre-MDT0001-mdc-ffff99471842e000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m11.503s user 0m0.338s sys 0m15.102s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff99471842e000.statahead_batch_max=256 llite.lustre-ffff99471842e000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99471842e000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff99471842e000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff99471842e000.stats=clear mdc.lustre-MDT0001-mdc-ffff99471842e000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m51.236s user 0m0.316s sys 0m15.021s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff99471842e000.batch_stats= snapshot_time: 1789023471.871177940 secs.nsecs start_time: 1789023411.421749178 secs.nsecs elapsed_time: 60.449428762 secs.nsecs subreqs per batch batches %% cum %% 1: 92 41 41 2: 33 15 56 4: 17 7 64 8: 14 6 70 16: 6 2 73 32: 14 6 80 64: 7 3 83 128: 3 1 84 256: 34 15 100 mdc.lustre-MDT0001-mdc-ffff99471842e000.batch_stats= snapshot_time: 1789023471.874292039 secs.nsecs start_time: 1789023411.421846817 secs.nsecs elapsed_time: 60.452445222 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-ffff99471842e000.statahead_batch_max=64 llite.lustre-ffff99471842e000.statahead_max=128