== sanity test 123ad: Verify batching statahead works correctly ========================================================== 18:05:28 (1787609128) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffffa0f3c16fd800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0f3c16fd800.batch_stats=0 llite.lustre-ffffa0f3c16fd800.statahead_max=32 llite.lustre-ffffa0f3c16fd800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffffa0f3c16fd800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0f3c16fd800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.33 seconds: 30.02 ops/second llite.lustre-ffffa0f3c16fd800.statahead_max=0 101 real 0m2.406s user 0m0.003s sys 0m0.314s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffffa0f3c16fd800.statahead_max=32 llite.lustre-ffffa0f3c16fd800.statahead_max=32 101 real 0m1.302s user 0m0.005s sys 0m0.170s 'ls -l' 100 files with statahead: 2 sec statahead total: 151 statahead wrong: 2 agl total: 145 list_total: 31 fname_total: 118 hit_total: 3796 miss_total: 1708 swrong=2 ewrong=2 - open/close 656 (time 1787609157.81 total 10.01 last 65.51) total: 900 open/close in 14.13 seconds: 63.71 ops/second llite.lustre-ffffa0f3c16fd800.statahead_max=0 1001 real 0m22.818s user 0m0.049s sys 0m3.166s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffffa0f3c16fd800.statahead_max=32 llite.lustre-ffffa0f3c16fd800.statahead_max=32 1001 real 0m10.457s user 0m0.039s sys 0m1.511s 'ls -l' 1000 files with statahead: 11 sec statahead total: 152 statahead wrong: 2 agl total: 146 list_total: 32 fname_total: 118 hit_total: 4794 miss_total: 1710 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffffa0f3c16fd800.statahead_stats= statahead total: 152 statahead wrong: 2 agl total: 146 list_total: 32 fname_total: 118 hit_total: 4794 miss_total: 1710 mdc.lustre-MDT0000-mdc-ffffa0f3c16fd800.batch_stats= snapshot_time: 1787609232.685952129 secs.nsecs start_time: 1787609133.476793960 secs.nsecs elapsed_time: 99.209158169 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 2 5 10 4: 1 2 13 8: 2 5 18 16: 23 62 81 32: 7 18 100 mdc.lustre-MDT0001-mdc-ffffa0f3c16fd800.batch_stats= snapshot_time: 1787609232.686017003 secs.nsecs start_time: 1787609133.476920183 secs.nsecs elapsed_time: 99.209096820 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 1 2 5 8: 3 7 12 16: 14 35 47 32: 21 52 100 - open/close 777 (time 1787609245.78 total 10.00 last 77.69) - open/close 1396 (time 1787609255.80 total 20.02 last 61.78) - open/close 2035 (time 1787609265.80 total 30.02 last 63.89) - open/close 2716 (time 1787609275.81 total 40.03 last 68.05) - open/close 3334 (time 1787609285.81 total 50.03 last 61.78) - open/close 3961 (time 1787609295.83 total 60.05 last 62.57) - open/close 4663 (time 1787609305.84 total 70.06 last 70.18) - open/close 5241 (time 1787609315.85 total 80.07 last 57.74) - open/close 5909 (time 1787609325.86 total 90.08 last 66.75) - open/close 6656 (time 1787609335.87 total 100.09 last 74.58) - open/close 7411 (time 1787609345.88 total 110.10 last 75.46) - open/close 8279 (time 1787609355.88 total 120.10 last 86.77) - open/close 9098 (time 1787609365.88 total 130.10 last 81.90) - open/close 9795 (time 1787609375.89 total 140.11 last 69.67) total: 10000 open/close in 143.02 seconds: 69.92 ops/second llite.lustre-ffffa0f3c16fd800.statahead_batch_max=0 llite.lustre-ffffa0f3c16fd800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0f3c16fd800.stats=clear mdc.lustre-MDT0001-mdc-ffffa0f3c16fd800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m9.397s user 0m0.393s sys 0m15.684s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffffa0f3c16fd800.statahead_batch_max=32 llite.lustre-ffffa0f3c16fd800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0f3c16fd800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffffa0f3c16fd800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffffa0f3c16fd800.stats=clear mdc.lustre-MDT0001-mdc-ffffa0f3c16fd800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m46.503s user 0m0.341s sys 0m13.919s batched statahead RPC= hit count=9985 mdc.lustre-MDT0000-mdc-ffffa0f3c16fd800.batch_stats= snapshot_time: 1787609575.008954607 secs.nsecs start_time: 1787609457.002175002 secs.nsecs elapsed_time: 118.006779605 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-ffffa0f3c16fd800.batch_stats= snapshot_time: 1787609575.009030166 secs.nsecs start_time: 1787609457.002340287 secs.nsecs elapsed_time: 118.006689879 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffffa0f3c16fd800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0f3c16fd800.batch_stats=0 llite.lustre-ffffa0f3c16fd800.statahead_max=2048 llite.lustre-ffffa0f3c16fd800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffffa0f3c16fd800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0f3c16fd800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.53 seconds: 39.54 ops/second llite.lustre-ffffa0f3c16fd800.statahead_max=0 101 real 0m2.364s user 0m0.004s sys 0m0.308s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffffa0f3c16fd800.statahead_max=2048 llite.lustre-ffffa0f3c16fd800.statahead_max=2048 101 real 0m0.947s user 0m0.003s sys 0m0.150s '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: 10084 miss_total: 16 swrong=0 ewrong=0 - open/close 704 (time 1787609877.02 total 10.01 last 70.31) total: 900 open/close in 12.77 seconds: 70.49 ops/second llite.lustre-ffffa0f3c16fd800.statahead_max=0 1001 real 0m19.564s user 0m0.024s sys 0m2.805s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffffa0f3c16fd800.statahead_max=2048 llite.lustre-ffffa0f3c16fd800.statahead_max=2048 1001 real 0m5.989s user 0m0.031s sys 0m1.322s 'ls -l' 1000 files with statahead: 6 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11083 miss_total: 17 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffffa0f3c16fd800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11083 miss_total: 17 mdc.lustre-MDT0000-mdc-ffffa0f3c16fd800.batch_stats= snapshot_time: 1787609935.685807003 secs.nsecs start_time: 1787609577.667122144 secs.nsecs elapsed_time: 358.018684859 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 14 14 8: 3 42 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-ffffa0f3c16fd800.batch_stats= snapshot_time: 1787609935.685880650 secs.nsecs start_time: 1787609577.667301398 secs.nsecs elapsed_time: 358.018579252 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 14 14 4: 2 28 42 8: 1 14 57 16: 0 0 57 32: 0 0 57 64: 1 14 71 128: 0 0 71 256: 2 28 100 - open/close 871 (time 1787609947.91 total 10.00 last 87.10) - open/close 1745 (time 1787609957.92 total 20.01 last 87.35) - open/close 2636 (time 1787609967.92 total 30.01 last 89.08) - open/close 3508 (time 1787609977.92 total 40.01 last 87.15) - open/close 4243 (time 1787609987.93 total 50.02 last 73.47) - open/close 5013 (time 1787609997.93 total 60.02 last 76.99) - open/close 5927 (time 1787610007.95 total 70.04 last 91.19) - open/close 6821 (time 1787610017.96 total 80.05 last 89.34) - open/close 7711 (time 1787610027.97 total 90.06 last 88.93) - open/close 8599 (time 1787610037.97 total 100.06 last 88.79) - open/close 9329 (time 1787610047.98 total 110.07 last 72.91) total: 10000 open/close in 117.54 seconds: 85.07 ops/second llite.lustre-ffffa0f3c16fd800.statahead_batch_max=0 llite.lustre-ffffa0f3c16fd800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0f3c16fd800.stats=clear mdc.lustre-MDT0001-mdc-ffffa0f3c16fd800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m55.815s user 0m0.316s sys 0m14.498s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffffa0f3c16fd800.statahead_batch_max=256 llite.lustre-ffffa0f3c16fd800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0f3c16fd800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffffa0f3c16fd800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffffa0f3c16fd800.stats=clear mdc.lustre-MDT0001-mdc-ffffa0f3c16fd800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m46.027s user 0m0.258s sys 0m14.146s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffffa0f3c16fd800.batch_stats= snapshot_time: 1787610176.707323120 secs.nsecs start_time: 1787610119.581964618 secs.nsecs elapsed_time: 57.125358502 secs.nsecs subreqs per batch batches %% cum %% 1: 84 38 38 2: 42 19 57 4: 12 5 63 8: 12 5 68 16: 7 3 72 32: 18 8 80 64: 8 3 83 128: 1 0 84 256: 34 15 100 mdc.lustre-MDT0001-mdc-ffffa0f3c16fd800.batch_stats= snapshot_time: 1787610176.707390945 secs.nsecs start_time: 1787610119.582089350 secs.nsecs elapsed_time: 57.125301595 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-ffffa0f3c16fd800.statahead_batch_max=64 llite.lustre-ffffa0f3c16fd800.statahead_max=128