== sanity test 123ad: Verify batching statahead works correctly ========================================================== 05:34:32 (1780997672) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff891c88062000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff891c88062000.batch_stats=0 llite.lustre-ffff891c88062000.statahead_max=32 llite.lustre-ffff891c88062000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff891c88062000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff891c88062000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.26 seconds: 44.34 ops/second llite.lustre-ffff891c88062000.statahead_max=0 101 real 0m2.342s user 0m0.005s sys 0m0.340s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff891c88062000.statahead_max=32 llite.lustre-ffff891c88062000.statahead_max=32 101 real 0m0.971s user 0m0.006s sys 0m0.173s 'ls -l' 100 files with statahead: 1 sec statahead total: 147 statahead wrong: 2 agl total: 141 list_total: 31 fname_total: 115 hit_total: 4349 miss_total: 1285 swrong=2 ewrong=2 - open/close 839 (time 1780997697.65 total 10.02 last 83.72) total: 900 open/close in 10.88 seconds: 82.74 ops/second llite.lustre-ffff891c88062000.statahead_max=0 1001 real 0m22.442s user 0m0.038s sys 0m3.240s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff891c88062000.statahead_max=32 llite.lustre-ffff891c88062000.statahead_max=32 1001 real 0m9.119s user 0m0.024s sys 0m1.545s 'ls -l' 1000 files with statahead: 9 sec statahead total: 148 statahead wrong: 2 agl total: 142 list_total: 32 fname_total: 115 hit_total: 5346 miss_total: 1288 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff891c88062000.statahead_stats= statahead total: 148 statahead wrong: 2 agl total: 142 list_total: 32 fname_total: 115 hit_total: 5346 miss_total: 1288 mdc.lustre-MDT0000-mdc-ffff891c88062000.batch_stats= snapshot_time: 1780997765.122163411 secs.nsecs start_time: 1780997676.270458707 secs.nsecs elapsed_time: 88.851704704 secs.nsecs subreqs per batch batches % cum % 1: 2 5 5 2: 1 2 8 4: 1 2 10 8: 3 8 18 16: 26 70 89 32: 4 10 100 mdc.lustre-MDT0001-mdc-ffff891c88062000.batch_stats= snapshot_time: 1780997765.122219015 secs.nsecs start_time: 1780997676.271168697 secs.nsecs elapsed_time: 88.851050318 secs.nsecs subreqs per batch batches % cum % 1: 2 5 5 2: 0 0 5 4: 2 5 10 8: 1 2 12 16: 10 25 37 32: 25 62 100 - open/close 759 (time 1780997777.62 total 10.00 last 75.88) - open/close 1578 (time 1780997787.63 total 20.01 last 81.82) - open/close 2477 (time 1780997797.64 total 30.02 last 89.82) - open/close 3325 (time 1780997807.64 total 40.03 last 84.74) - open/close 4143 (time 1780997817.66 total 50.05 last 81.66) - open/close 4796 (time 1780997827.66 total 60.05 last 65.29) - open/close 5462 (time 1780997837.67 total 70.06 last 66.53) - open/close 6354 (time 1780997847.68 total 80.06 last 89.15) - open/close 7164 (time 1780997857.70 total 90.09 last 80.79) - open/close 7942 (time 1780997867.71 total 100.09 last 77.79) - open/close 8801 (time 1780997877.71 total 110.10 last 85.83) - open/close 9674 (time 1780997887.72 total 120.10 last 87.27) total: 10000 open/close in 125.01 seconds: 79.99 ops/second llite.lustre-ffff891c88062000.statahead_batch_max=0 llite.lustre-ffff891c88062000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff891c88062000.stats=clear mdc.lustre-MDT0001-mdc-ffff891c88062000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.896s user 0m0.311s sys 0m14.961s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff891c88062000.statahead_batch_max=32 llite.lustre-ffff891c88062000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff891c88062000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff891c88062000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff891c88062000.stats=clear mdc.lustre-MDT0001-mdc-ffff891c88062000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m37.468s user 0m0.313s sys 0m14.318s batched statahead RPC= hit count=9983 mdc.lustre-MDT0000-mdc-ffff891c88062000.batch_stats= snapshot_time: 1780998077.863214833 secs.nsecs start_time: 1780997965.450238389 secs.nsecs elapsed_time: 112.412976444 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-ffff891c88062000.batch_stats= snapshot_time: 1780998077.863277752 secs.nsecs start_time: 1780997965.450326404 secs.nsecs elapsed_time: 112.412951348 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff891c88062000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff891c88062000.batch_stats=0 llite.lustre-ffff891c88062000.statahead_max=2048 llite.lustre-ffff891c88062000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff891c88062000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff891c88062000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.83 seconds: 35.37 ops/second llite.lustre-ffff891c88062000.statahead_max=0 101 real 0m2.372s user 0m0.005s sys 0m0.319s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff891c88062000.statahead_max=2048 llite.lustre-ffff891c88062000.statahead_max=2048 101 real 0m1.440s user 0m0.003s sys 0m0.190s 'ls -l' 100 files with statahead: 2 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10082 miss_total: 18 swrong=0 ewrong=0 - open/close 483 (time 1780998394.05 total 10.00 last 48.28) total: 900 open/close in 16.63 seconds: 54.10 ops/second llite.lustre-ffff891c88062000.statahead_max=0 1001 real 0m20.697s user 0m0.030s sys 0m3.049s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff891c88062000.statahead_max=2048 llite.lustre-ffff891c88062000.statahead_max=2048 1001 real 0m5.835s user 0m0.023s sys 0m1.475s '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: 11081 miss_total: 19 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff891c88062000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11081 miss_total: 19 mdc.lustre-MDT0000-mdc-ffff891c88062000.batch_stats= snapshot_time: 1780998459.645533208 secs.nsecs start_time: 1780998081.772413897 secs.nsecs elapsed_time: 377.873119311 secs.nsecs subreqs per batch batches % cum % 1: 2 28 28 2: 0 0 28 4: 2 28 57 8: 0 0 57 16: 1 14 71 32: 0 0 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff891c88062000.batch_stats= snapshot_time: 1780998459.648229310 secs.nsecs start_time: 1780998081.772583859 secs.nsecs elapsed_time: 377.875645451 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 1 11 11 4: 1 11 22 8: 2 22 44 16: 1 11 55 32: 1 11 66 64: 0 0 66 128: 1 11 77 256: 2 22 100 - open/close 846 (time 1780998471.79 total 10.02 last 84.41) - open/close 1748 (time 1780998481.80 total 20.03 last 90.15) - open/close 2724 (time 1780998491.80 total 30.03 last 97.54) - open/close 3660 (time 1780998501.81 total 40.04 last 93.55) - open/close 4594 (time 1780998511.81 total 50.04 last 93.38) - open/close 5505 (time 1780998521.81 total 60.05 last 91.05) - open/close 6540 (time 1780998531.82 total 70.05 last 103.48) - open/close 7445 (time 1780998541.83 total 80.06 last 90.42) - open/close 8324 (time 1780998551.83 total 90.06 last 87.90) - open/close 9274 (time 1780998561.83 total 100.06 last 94.95) total: 10000 open/close in 108.38 seconds: 92.27 ops/second llite.lustre-ffff891c88062000.statahead_batch_max=0 llite.lustre-ffff891c88062000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff891c88062000.stats=clear mdc.lustre-MDT0001-mdc-ffff891c88062000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m56.820s user 0m0.302s sys 0m14.902s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff891c88062000.statahead_batch_max=256 llite.lustre-ffff891c88062000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff891c88062000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff891c88062000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff891c88062000.stats=clear mdc.lustre-MDT0001-mdc-ffff891c88062000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m46.982s user 0m0.276s sys 0m15.049s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff891c88062000.batch_stats= snapshot_time: 1780998699.546536026 secs.nsecs start_time: 1780998638.193157509 secs.nsecs elapsed_time: 61.353378517 secs.nsecs subreqs per batch batches % cum % 1: 230 54 54 2: 61 14 68 4: 46 10 79 8: 16 3 83 16: 14 3 86 32: 17 4 90 64: 5 1 91 128: 0 0 91 256: 34 8 100 mdc.lustre-MDT0001-mdc-ffff891c88062000.batch_stats= snapshot_time: 1780998699.546773119 secs.nsecs start_time: 1780998638.193295214 secs.nsecs elapsed_time: 61.353477905 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-ffff891c88062000.statahead_batch_max=64 llite.lustre-ffff891c88062000.statahead_max=128