== sanity test 123ad: Verify batching statahead works correctly ========================================================== 02:46:16 (1787553976) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9dea0584f000.batch_stats=0 llite.lustre-ffff9dea0584f000.statahead_max=32 llite.lustre-ffff9dea0584f000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9dea0584f000.batch_stats=0 total: 100 open/close in 2.15 seconds: 46.49 ops/second llite.lustre-ffff9dea0584f000.statahead_max=0 101 real 0m2.267s user 0m0.006s sys 0m0.289s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9dea0584f000.statahead_max=32 llite.lustre-ffff9dea0584f000.statahead_max=32 101 real 0m1.053s user 0m0.004s sys 0m0.175s 'ls -l' 100 files with statahead: 1 sec statahead total: 114 statahead wrong: 2 agl total: 108 list_total: 30 fname_total: 79 hit_total: 3792 miss_total: 1388 swrong=2 ewrong=2 - open/close 826 (time 1787554000.25 total 10.02 last 82.42) total: 900 open/close in 10.95 seconds: 82.18 ops/second llite.lustre-ffff9dea0584f000.statahead_max=0 1001 real 0m19.392s user 0m0.026s sys 0m2.729s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff9dea0584f000.statahead_max=32 llite.lustre-ffff9dea0584f000.statahead_max=32 1001 real 0m9.272s user 0m0.027s sys 0m1.322s 'ls -l' 1000 files with statahead: 9 sec statahead total: 115 statahead wrong: 2 agl total: 109 list_total: 31 fname_total: 79 hit_total: 4788 miss_total: 1392 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff9dea0584f000.statahead_stats= statahead total: 115 statahead wrong: 2 agl total: 109 list_total: 31 fname_total: 79 hit_total: 4788 miss_total: 1392 mdc.lustre-MDT0000-mdc-ffff9dea0584f000.batch_stats= snapshot_time: 1787554058.965911830 secs.nsecs start_time: 1787553979.796503630 secs.nsecs elapsed_time: 79.169408200 secs.nsecs subreqs per batch batches %% cum %% 1: 2 4 4 2: 1 2 7 4: 0 0 7 8: 2 4 12 16: 2 4 17 32: 34 82 100 - open/close 741 (time 1787554071.27 total 10.00 last 74.08) - open/close 1489 (time 1787554081.28 total 20.01 last 74.77) - open/close 2180 (time 1787554091.28 total 30.01 last 69.06) - open/close 2792 (time 1787554101.29 total 40.03 last 61.12) - open/close 3499 (time 1787554111.30 total 50.03 last 70.65) - open/close 4280 (time 1787554121.31 total 60.05 last 78.01) - open/close 5072 (time 1787554131.32 total 70.05 last 79.18) - open/close 5920 (time 1787554141.33 total 80.06 last 84.72) - open/close 6748 (time 1787554151.33 total 90.07 last 82.73) - open/close 7584 (time 1787554161.33 total 100.07 last 83.59) - open/close 8376 (time 1787554171.34 total 110.07 last 79.13) - open/close 9135 (time 1787554181.35 total 120.08 last 75.86) - open/close 9944 (time 1787554191.35 total 130.08 last 80.86) total: 10000 open/close in 130.74 seconds: 76.49 ops/second llite.lustre-ffff9dea0584f000.statahead_batch_max=0 llite.lustre-ffff9dea0584f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9dea0584f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m48.446s user 0m0.303s sys 0m16.742s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9dea0584f000.statahead_batch_max=32 llite.lustre-ffff9dea0584f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9dea0584f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9dea0584f000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m20.110s user 0m0.251s sys 0m13.195s batched statahead RPC= hit count=9983 mdc.lustre-MDT0000-mdc-ffff9dea0584f000.batch_stats= snapshot_time: 1787554336.812751885 secs.nsecs start_time: 1787554248.313654321 secs.nsecs elapsed_time: 88.499097564 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 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9dea0584f000.batch_stats=0 llite.lustre-ffff9dea0584f000.statahead_max=2048 llite.lustre-ffff9dea0584f000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9dea0584f000.batch_stats=0 total: 100 open/close in 2.40 seconds: 41.61 ops/second llite.lustre-ffff9dea0584f000.statahead_max=0 101 real 0m2.016s user 0m0.004s sys 0m0.290s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9dea0584f000.statahead_max=2048 llite.lustre-ffff9dea0584f000.statahead_max=2048 101 real 0m0.798s user 0m0.005s sys 0m0.155s '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 739 (time 1787554614.38 total 10.01 last 73.80) total: 900 open/close in 12.12 seconds: 74.29 ops/second llite.lustre-ffff9dea0584f000.statahead_max=0 1001 real 0m18.605s user 0m0.027s sys 0m2.757s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff9dea0584f000.statahead_max=2048 llite.lustre-ffff9dea0584f000.statahead_max=2048 1001 real 0m5.916s user 0m0.021s sys 0m1.254s '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-ffff9dea0584f000.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-ffff9dea0584f000.batch_stats= snapshot_time: 1787554673.166673183 secs.nsecs start_time: 1787554338.855464585 secs.nsecs elapsed_time: 334.311208598 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 22 22 16: 2 22 44 32: 0 0 44 64: 0 0 44 128: 1 11 55 256: 4 44 100 - open/close 617 (time 1787554686.18 total 10.01 last 61.65) - open/close 1321 (time 1787554696.20 total 20.03 last 70.26) - open/close 2019 (time 1787554706.21 total 30.04 last 69.69) - open/close 2664 (time 1787554716.21 total 40.05 last 64.50) - open/close 3351 (time 1787554726.22 total 50.05 last 68.67) - open/close 4123 (time 1787554736.23 total 60.06 last 77.11) - open/close 4905 (time 1787554746.23 total 70.06 last 78.18) - open/close 5622 (time 1787554756.24 total 80.08 last 71.62) - open/close 6382 (time 1787554766.26 total 90.09 last 75.88) - open/close 7046 (time 1787554776.27 total 100.10 last 66.34) - open/close 7748 (time 1787554786.27 total 110.10 last 70.17) - open/close 8351 (time 1787554796.28 total 120.11 last 60.24) - open/close 9031 (time 1787554806.30 total 130.13 last 67.90) - open/close 9802 (time 1787554816.31 total 140.14 last 77.04) total: 10000 open/close in 142.53 seconds: 70.16 ops/second llite.lustre-ffff9dea0584f000.statahead_batch_max=0 llite.lustre-ffff9dea0584f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9dea0584f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m52.554s user 0m0.299s sys 0m15.942s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9dea0584f000.statahead_batch_max=256 llite.lustre-ffff9dea0584f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9dea0584f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9dea0584f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m47.653s user 0m0.284s sys 0m14.660s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9dea0584f000.batch_stats= snapshot_time: 1787554934.759985865 secs.nsecs start_time: 1787554876.672587895 secs.nsecs elapsed_time: 58.087397970 secs.nsecs subreqs per batch batches %% cum %% 1: 156 51 51 2: 40 13 65 4: 20 6 71 8: 18 5 77 16: 13 4 82 32: 12 3 86 64: 5 1 87 128: 2 0 88 256: 35 11 100 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-ffff9dea0584f000.statahead_batch_max=64 llite.lustre-ffff9dea0584f000.statahead_max=128