== sanity test 123ad: Verify batching statahead works correctly ========================================================== 19:26:10 (1787786770) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8a77430fa000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a77430fa000.batch_stats=0 llite.lustre-ffff8a77430fa000.statahead_max=32 llite.lustre-ffff8a77430fa000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8a77430fa000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a77430fa000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.04 seconds: 49.02 ops/second llite.lustre-ffff8a77430fa000.statahead_max=0 101 real 0m1.915s user 0m0.003s sys 0m0.314s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8a77430fa000.statahead_max=32 llite.lustre-ffff8a77430fa000.statahead_max=32 101 real 0m0.933s user 0m0.005s sys 0m0.150s 'ls -l' 100 files with statahead: 1 sec statahead total: 142 statahead wrong: 2 agl total: 136 list_total: 30 fname_total: 103 hit_total: 4083 miss_total: 1533 swrong=2 ewrong=2 total: 900 open/close in 8.60 seconds: 104.61 ops/second llite.lustre-ffff8a77430fa000.statahead_max=0 1001 real 0m19.478s user 0m0.034s sys 0m2.915s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff8a77430fa000.statahead_max=32 llite.lustre-ffff8a77430fa000.statahead_max=32 1001 real 0m9.053s user 0m0.024s sys 0m1.229s 'ls -l' 1000 files with statahead: 9 sec statahead total: 143 statahead wrong: 2 agl total: 137 list_total: 31 fname_total: 103 hit_total: 5080 miss_total: 1536 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff8a77430fa000.statahead_stats= statahead total: 143 statahead wrong: 2 agl total: 137 list_total: 31 fname_total: 103 hit_total: 5080 miss_total: 1536 mdc.lustre-MDT0000-mdc-ffff8a77430fa000.batch_stats= snapshot_time: 1787786854.612021709 secs.nsecs start_time: 1787786775.206018207 secs.nsecs elapsed_time: 79.406003502 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 2 5 10 8: 2 5 15 16: 22 55 70 32: 12 30 100 mdc.lustre-MDT0001-mdc-ffff8a77430fa000.batch_stats= snapshot_time: 1787786854.612098694 secs.nsecs start_time: 1787786775.206096365 secs.nsecs elapsed_time: 79.406002329 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 7 7 8: 2 5 12 16: 21 53 66 32: 13 33 100 - open/close 834 (time 1787786867.03 total 10.00 last 83.39) - open/close 1825 (time 1787786877.03 total 20.00 last 99.08) - open/close 2627 (time 1787786887.06 total 30.03 last 80.00) - open/close 3372 (time 1787786897.07 total 40.04 last 74.41) - open/close 4447 (time 1787786907.08 total 50.04 last 107.47) - open/close 5308 (time 1787786917.11 total 60.08 last 85.77) - open/close 6239 (time 1787786927.12 total 70.08 last 93.09) - open/close 7236 (time 1787786937.12 total 80.09 last 99.68) - open/close 8027 (time 1787786947.12 total 90.09 last 79.08) - open/close 8807 (time 1787786957.13 total 100.09 last 77.95) - open/close 9692 (time 1787786967.14 total 110.11 last 88.39) total: 10000 open/close in 113.35 seconds: 88.22 ops/second llite.lustre-ffff8a77430fa000.statahead_batch_max=0 llite.lustre-ffff8a77430fa000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a77430fa000.stats=clear mdc.lustre-MDT0001-mdc-ffff8a77430fa000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m10.591s user 0m0.318s sys 0m14.543s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8a77430fa000.statahead_batch_max=32 llite.lustre-ffff8a77430fa000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a77430fa000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8a77430fa000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8a77430fa000.stats=clear mdc.lustre-MDT0001-mdc-ffff8a77430fa000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m44.524s user 0m0.298s sys 0m13.178s batched statahead RPC= hit count=9981 mdc.lustre-MDT0000-mdc-ffff8a77430fa000.batch_stats= snapshot_time: 1787787169.138705448 secs.nsecs start_time: 1787787051.010378806 secs.nsecs elapsed_time: 118.128326642 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-ffff8a77430fa000.batch_stats= snapshot_time: 1787787169.138774795 secs.nsecs start_time: 1787787051.010543112 secs.nsecs elapsed_time: 118.128231683 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8a77430fa000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a77430fa000.batch_stats=0 llite.lustre-ffff8a77430fa000.statahead_max=2048 llite.lustre-ffff8a77430fa000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8a77430fa000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a77430fa000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 1.87 seconds: 53.49 ops/second llite.lustre-ffff8a77430fa000.statahead_max=0 101 real 0m2.063s user 0m0.004s sys 0m0.333s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8a77430fa000.statahead_max=2048 llite.lustre-ffff8a77430fa000.statahead_max=2048 101 real 0m1.000s user 0m0.003s sys 0m0.189s '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: 10080 miss_total: 20 swrong=0 ewrong=0 total: 900 open/close in 9.73 seconds: 92.50 ops/second llite.lustre-ffff8a77430fa000.statahead_max=0 1001 real 0m24.033s user 0m0.026s sys 0m2.950s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff8a77430fa000.statahead_max=2048 llite.lustre-ffff8a77430fa000.statahead_max=2048 1001 real 0m5.965s user 0m0.026s sys 0m1.216s '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: 11079 miss_total: 21 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff8a77430fa000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11079 miss_total: 21 mdc.lustre-MDT0000-mdc-ffff8a77430fa000.batch_stats= snapshot_time: 1787787519.177080344 secs.nsecs start_time: 1787787171.773076568 secs.nsecs elapsed_time: 347.404003776 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 28 28 8: 2 28 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-ffff8a77430fa000.batch_stats= snapshot_time: 1787787519.177218105 secs.nsecs start_time: 1787787171.773472866 secs.nsecs elapsed_time: 347.403745239 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 10 10 8: 2 20 30 16: 2 20 50 32: 1 10 60 64: 2 20 80 128: 0 0 80 256: 2 20 100 - open/close 874 (time 1787787532.07 total 10.01 last 87.33) - open/close 1773 (time 1787787542.07 total 20.01 last 89.87) - open/close 2532 (time 1787787552.09 total 30.03 last 75.79) - open/close 3288 (time 1787787562.09 total 40.03 last 75.55) - open/close 4074 (time 1787787572.10 total 50.04 last 78.55) - open/close 4898 (time 1787787582.10 total 60.04 last 82.36) - open/close 5634 (time 1787787592.11 total 70.05 last 73.55) - open/close 6385 (time 1787787602.11 total 80.05 last 75.08) - open/close 7224 (time 1787787612.12 total 90.06 last 83.84) - open/close 8085 (time 1787787622.14 total 100.08 last 85.95) - open/close 8884 (time 1787787632.15 total 110.09 last 79.78) - open/close 9774 (time 1787787642.16 total 120.10 last 88.91) total: 10000 open/close in 122.61 seconds: 81.56 ops/second llite.lustre-ffff8a77430fa000.statahead_batch_max=0 llite.lustre-ffff8a77430fa000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a77430fa000.stats=clear mdc.lustre-MDT0001-mdc-ffff8a77430fa000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m11.283s user 0m0.317s sys 0m14.052s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8a77430fa000.statahead_batch_max=256 llite.lustre-ffff8a77430fa000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a77430fa000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8a77430fa000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8a77430fa000.stats=clear mdc.lustre-MDT0001-mdc-ffff8a77430fa000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.287s user 0m0.325s sys 0m13.910s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8a77430fa000.batch_stats= snapshot_time: 1787787798.326912852 secs.nsecs start_time: 1787787726.653905841 secs.nsecs elapsed_time: 71.673007011 secs.nsecs subreqs per batch batches %% cum %% 1: 153 49 49 2: 39 12 61 4: 31 9 71 8: 20 6 77 16: 14 4 82 32: 12 3 86 64: 8 2 88 128: 1 0 89 256: 34 10 100 mdc.lustre-MDT0001-mdc-ffff8a77430fa000.batch_stats= snapshot_time: 1787787798.326986642 secs.nsecs start_time: 1787787726.655527122 secs.nsecs elapsed_time: 71.671459520 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-ffff8a77430fa000.statahead_batch_max=64 llite.lustre-ffff8a77430fa000.statahead_max=128