== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:33:30 (1787369610) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8f756131f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8f756131f000.batch_stats=0 llite.lustre-ffff8f756131f000.statahead_max=32 llite.lustre-ffff8f756131f000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8f756131f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8f756131f000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 3.20 seconds: 31.25 ops/second llite.lustre-ffff8f756131f000.statahead_max=0 101 real 0m2.989s user 0m0.007s sys 0m0.361s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8f756131f000.statahead_max=32 llite.lustre-ffff8f756131f000.statahead_max=32 101 real 0m1.387s user 0m0.004s sys 0m0.165s 'ls -l' 100 files with statahead: 1 sec statahead total: 135 statahead wrong: 2 agl total: 129 list_total: 31 fname_total: 85 hit_total: 3850 miss_total: 1622 swrong=2 ewrong=2 - open/close 651 (time 1787369641.85 total 10.00 last 65.09) total: 900 open/close in 14.02 seconds: 64.18 ops/second llite.lustre-ffff8f756131f000.statahead_max=0 1001 real 0m27.066s user 0m0.034s sys 0m3.158s 'ls -l' 1000 files without statahead: 27 sec llite.lustre-ffff8f756131f000.statahead_max=32 llite.lustre-ffff8f756131f000.statahead_max=32 1001 real 0m10.467s user 0m0.037s sys 0m1.577s 'ls -l' 1000 files with statahead: 10 sec statahead total: 136 statahead wrong: 2 agl total: 130 list_total: 32 fname_total: 85 hit_total: 4847 miss_total: 1625 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 26 seconds llite.lustre-ffff8f756131f000.statahead_stats= statahead total: 136 statahead wrong: 2 agl total: 130 list_total: 32 fname_total: 85 hit_total: 4847 miss_total: 1625 mdc.lustre-MDT0000-mdc-ffff8f756131f000.batch_stats= snapshot_time: 1787369723.482008083 secs.nsecs start_time: 1787369616.387562192 secs.nsecs elapsed_time: 107.094445891 secs.nsecs subreqs per batch batches %% cum %% 1: 4 10 10 2: 1 2 13 4: 0 0 13 8: 2 5 18 16: 24 63 81 32: 7 18 100 mdc.lustre-MDT0001-mdc-ffff8f756131f000.batch_stats= snapshot_time: 1787369723.482078986 secs.nsecs start_time: 1787369616.394588483 secs.nsecs elapsed_time: 107.087490503 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 5 5 8: 4 10 15 16: 9 23 38 32: 24 61 100 - open/close 602 (time 1787369736.81 total 10.00 last 60.18) - open/close 1186 (time 1787369746.83 total 20.02 last 58.31) - open/close 1834 (time 1787369756.83 total 30.02 last 64.79) - open/close 2416 (time 1787369766.84 total 40.03 last 58.16) - open/close 2943 (time 1787369776.84 total 50.03 last 52.69) - open/close 3535 (time 1787369786.85 total 60.04 last 59.15) - open/close 4044 (time 1787369796.85 total 70.04 last 50.87) - open/close 4653 (time 1787369806.86 total 80.05 last 60.88) - open/close 5213 (time 1787369816.88 total 90.07 last 55.88) - open/close 5928 (time 1787369826.90 total 100.09 last 71.35) - open/close 6564 (time 1787369836.90 total 110.09 last 63.58) - open/close 7209 (time 1787369846.91 total 120.10 last 64.44) - open/close 7813 (time 1787369856.93 total 130.12 last 60.30) - open/close 8456 (time 1787369866.93 total 140.12 last 64.30) - open/close 9106 (time 1787369876.93 total 150.12 last 64.97) - open/close 9688 (time 1787369886.94 total 160.13 last 58.17) total: 10000 open/close in 165.75 seconds: 60.33 ops/second llite.lustre-ffff8f756131f000.statahead_batch_max=0 llite.lustre-ffff8f756131f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f756131f000.stats=clear mdc.lustre-MDT0001-mdc-ffff8f756131f000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m15.339s user 0m0.346s sys 0m16.279s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8f756131f000.statahead_batch_max=32 llite.lustre-ffff8f756131f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f756131f000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8f756131f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8f756131f000.stats=clear mdc.lustre-MDT0001-mdc-ffff8f756131f000.stats=clear ls -l files in d123ad.sanity: 10001 real 2m12.488s user 0m0.360s sys 0m15.183s batched statahead RPC= hit count=9983 mdc.lustre-MDT0000-mdc-ffff8f756131f000.batch_stats= snapshot_time: 1787370124.045342492 secs.nsecs start_time: 1787369978.353701564 secs.nsecs elapsed_time: 145.691640928 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-ffff8f756131f000.batch_stats= snapshot_time: 1787370124.045427173 secs.nsecs start_time: 1787369978.353839550 secs.nsecs elapsed_time: 145.691587623 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8f756131f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8f756131f000.batch_stats=0 llite.lustre-ffff8f756131f000.statahead_max=2048 llite.lustre-ffff8f756131f000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8f756131f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8f756131f000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.64 seconds: 27.49 ops/second llite.lustre-ffff8f756131f000.statahead_max=0 101 real 0m3.232s user 0m0.006s sys 0m0.361s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8f756131f000.statahead_max=2048 llite.lustre-ffff8f756131f000.statahead_max=2048 101 real 0m1.107s user 0m0.004s 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: 10082 miss_total: 18 swrong=0 ewrong=0 - open/close 666 (time 1787370502.84 total 10.00 last 66.59) total: 900 open/close in 12.95 seconds: 69.52 ops/second llite.lustre-ffff8f756131f000.statahead_max=0 1001 real 0m28.422s user 0m0.037s sys 0m3.107s 'ls -l' 1000 files without statahead: 29 sec llite.lustre-ffff8f756131f000.statahead_max=2048 llite.lustre-ffff8f756131f000.statahead_max=2048 1001 real 0m7.138s user 0m0.026s sys 0m1.543s '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: 11081 miss_total: 19 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff8f756131f000.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-ffff8f756131f000.batch_stats= snapshot_time: 1787370577.996319026 secs.nsecs start_time: 1787370127.370465406 secs.nsecs elapsed_time: 450.625853620 secs.nsecs subreqs per batch batches %% cum %% 1: 1 14 14 2: 0 0 14 4: 1 14 28 8: 2 28 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-ffff8f756131f000.batch_stats= snapshot_time: 1787370577.996416034 secs.nsecs start_time: 1787370127.371044766 secs.nsecs elapsed_time: 450.625371268 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 22 22 8: 3 33 55 16: 0 0 55 32: 0 0 55 64: 1 11 66 128: 1 11 77 256: 2 22 100 - open/close 673 (time 1787370591.36 total 10.02 last 67.13) - open/close 1425 (time 1787370601.38 total 20.04 last 75.11) - open/close 2138 (time 1787370611.38 total 30.05 last 71.23) - open/close 2797 (time 1787370621.39 total 40.05 last 65.87) - open/close 3503 (time 1787370631.39 total 50.06 last 70.57) - open/close 4123 (time 1787370641.40 total 60.06 last 61.95) - open/close 4854 (time 1787370651.40 total 70.07 last 73.08) - open/close 5540 (time 1787370661.42 total 80.08 last 68.51) - open/close 6212 (time 1787370671.43 total 90.09 last 67.14) - open/close 6891 (time 1787370681.43 total 100.09 last 67.87) - open/close 7589 (time 1787370691.46 total 110.12 last 69.62) - open/close 8282 (time 1787370701.46 total 120.12 last 69.29) - open/close 9015 (time 1787370711.47 total 130.13 last 73.21) - open/close 9690 (time 1787370721.48 total 140.14 last 67.45) total: 10000 open/close in 145.71 seconds: 68.63 ops/second llite.lustre-ffff8f756131f000.statahead_batch_max=0 llite.lustre-ffff8f756131f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f756131f000.stats=clear mdc.lustre-MDT0001-mdc-ffff8f756131f000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m15.522s user 0m0.348s sys 0m16.895s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8f756131f000.statahead_batch_max=256 llite.lustre-ffff8f756131f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f756131f000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8f756131f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8f756131f000.stats=clear mdc.lustre-MDT0001-mdc-ffff8f756131f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m48.415s user 0m0.293s sys 0m15.950s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8f756131f000.batch_stats= snapshot_time: 1787370873.290476074 secs.nsecs start_time: 1787370811.951845727 secs.nsecs elapsed_time: 61.338630347 secs.nsecs subreqs per batch batches %% cum %% 1: 119 47 47 2: 39 15 62 4: 19 7 70 8: 8 3 73 16: 6 2 75 32: 17 6 82 64: 9 3 86 128: 1 0 86 256: 34 13 100 mdc.lustre-MDT0001-mdc-ffff8f756131f000.batch_stats= snapshot_time: 1787370873.290937924 secs.nsecs start_time: 1787370811.951961444 secs.nsecs elapsed_time: 61.338976480 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-ffff8f756131f000.statahead_batch_max=64 llite.lustre-ffff8f756131f000.statahead_max=128