== sanity test 123ad: Verify batching statahead works correctly ========================================================== 15:24:34 (1788290674) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9acce008c000.batch_stats=0 llite.lustre-ffff9acce008c000.statahead_max=32 llite.lustre-ffff9acce008c000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9acce008c000.batch_stats=0 total: 100 open/close in 3.51 seconds: 28.52 ops/second llite.lustre-ffff9acce008c000.statahead_max=0 101 real 0m2.703s user 0m0.003s sys 0m0.296s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9acce008c000.statahead_max=32 llite.lustre-ffff9acce008c000.statahead_max=32 101 real 0m1.094s user 0m0.005s sys 0m0.186s 'ls -l' 100 files with statahead: 1 sec statahead total: 133 statahead wrong: 2 agl total: 127 list_total: 30 fname_total: 90 hit_total: 3682 miss_total: 1371 swrong=2 ewrong=2 - open/close 563 (time 1788290704.61 total 10.01 last 56.24) total: 900 open/close in 15.28 seconds: 58.90 ops/second llite.lustre-ffff9acce008c000.statahead_max=0 1001 real 0m25.391s user 0m0.047s sys 0m3.190s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff9acce008c000.statahead_max=32 llite.lustre-ffff9acce008c000.statahead_max=32 1001 real 0m11.722s user 0m0.031s sys 0m1.400s 'ls -l' 1000 files with statahead: 11 sec statahead total: 134 statahead wrong: 2 agl total: 128 list_total: 31 fname_total: 90 hit_total: 4676 miss_total: 1377 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 26 seconds llite.lustre-ffff9acce008c000.statahead_stats= statahead total: 134 statahead wrong: 2 agl total: 128 list_total: 31 fname_total: 90 hit_total: 4676 miss_total: 1377 mdc.lustre-MDT0000-mdc-ffff9acce008c000.batch_stats= snapshot_time: 1788290786.945973455 secs.nsecs start_time: 1788290680.619478303 secs.nsecs elapsed_time: 106.326495152 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 2 5 7 16: 3 7 15 32: 34 85 100 - open/close 593 (time 1788290799.90 total 10.01 last 59.23) - open/close 1204 (time 1788290809.91 total 20.02 last 61.08) - open/close 1822 (time 1788290819.92 total 30.03 last 61.71) - open/close 2480 (time 1788290829.94 total 40.04 last 65.71) - open/close 3136 (time 1788290839.94 total 50.05 last 65.56) - open/close 3744 (time 1788290849.95 total 60.06 last 60.75) - open/close 4489 (time 1788290859.95 total 70.06 last 74.49) - open/close 5188 (time 1788290869.96 total 80.06 last 69.88) - open/close 5700 (time 1788290879.99 total 90.10 last 51.01) - open/close 6267 (time 1788290890.00 total 100.11 last 56.67) - open/close 6894 (time 1788290900.01 total 110.12 last 62.61) - open/close 7477 (time 1788290910.04 total 120.14 last 58.17) - open/close 8043 (time 1788290920.05 total 130.15 last 56.55) - open/close 8590 (time 1788290930.07 total 140.18 last 54.55) - open/close 9069 (time 1788290940.09 total 150.20 last 47.80) - open/close 9614 (time 1788290950.11 total 160.22 last 54.41) total: 10000 open/close in 166.69 seconds: 59.99 ops/second llite.lustre-ffff9acce008c000.statahead_batch_max=0 llite.lustre-ffff9acce008c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9acce008c000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m9.035s user 0m0.321s sys 0m13.444s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9acce008c000.statahead_batch_max=32 llite.lustre-ffff9acce008c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9acce008c000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9acce008c000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m53.872s user 0m0.327s sys 0m13.152s batched statahead RPC= hit count=9982 mdc.lustre-MDT0000-mdc-ffff9acce008c000.batch_stats= snapshot_time: 1788291160.452256063 secs.nsecs start_time: 1788291035.628774895 secs.nsecs elapsed_time: 124.823481168 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-ffff9acce008c000.batch_stats=0 llite.lustre-ffff9acce008c000.statahead_max=2048 llite.lustre-ffff9acce008c000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9acce008c000.batch_stats=0 total: 100 open/close in 2.92 seconds: 34.21 ops/second llite.lustre-ffff9acce008c000.statahead_max=0 101 real 0m2.348s user 0m0.003s sys 0m0.299s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9acce008c000.statahead_max=2048 llite.lustre-ffff9acce008c000.statahead_max=2048 101 real 0m0.876s user 0m0.004s sys 0m0.133s '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: 10081 miss_total: 19 swrong=0 ewrong=0 - open/close 559 (time 1788291524.92 total 10.13 last 55.18) total: 900 open/close in 15.89 seconds: 56.63 ops/second llite.lustre-ffff9acce008c000.statahead_max=0 1001 real 0m26.439s user 0m0.035s sys 0m2.906s 'ls -l' 1000 files without statahead: 27 sec llite.lustre-ffff9acce008c000.statahead_max=2048 llite.lustre-ffff9acce008c000.statahead_max=2048 1001 real 0m7.484s user 0m0.026s sys 0m1.236s '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: 11080 miss_total: 20 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 25 seconds llite.lustre-ffff9acce008c000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11080 miss_total: 20 mdc.lustre-MDT0000-mdc-ffff9acce008c000.batch_stats= snapshot_time: 1788291603.855547866 secs.nsecs start_time: 1788291163.100929016 secs.nsecs elapsed_time: 440.754618850 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 18 18 16: 2 18 36 32: 2 18 54 64: 1 9 63 128: 0 0 63 256: 4 36 100 - open/close 614 (time 1788291617.29 total 10.00 last 61.39) - open/close 1152 (time 1788291627.32 total 20.03 last 53.65) - open/close 1670 (time 1788291637.32 total 30.03 last 51.80) - open/close 2309 (time 1788291647.33 total 40.04 last 63.82) - open/close 2933 (time 1788291657.34 total 50.05 last 62.35) - open/close 3498 (time 1788291667.34 total 60.05 last 56.49) - open/close 4277 (time 1788291677.35 total 70.06 last 77.85) - open/close 4916 (time 1788291687.37 total 80.08 last 63.75) - open/close 5593 (time 1788291697.38 total 90.09 last 67.64) - open/close 6237 (time 1788291707.39 total 100.10 last 64.33) - open/close 6853 (time 1788291717.40 total 110.12 last 61.52) - open/close 7454 (time 1788291727.41 total 120.12 last 60.05) - open/close 8124 (time 1788291737.42 total 130.13 last 66.94) - open/close 8664 (time 1788291747.44 total 140.15 last 53.90) - open/close 9278 (time 1788291757.45 total 150.16 last 61.36) - open/close 9805 (time 1788291767.46 total 160.17 last 52.61) total: 10000 open/close in 163.42 seconds: 61.19 ops/second llite.lustre-ffff9acce008c000.statahead_batch_max=0 llite.lustre-ffff9acce008c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9acce008c000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.206s user 0m0.297s sys 0m13.190s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9acce008c000.statahead_batch_max=256 llite.lustre-ffff9acce008c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9acce008c000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9acce008c000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m49.019s user 0m0.255s sys 0m13.568s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9acce008c000.batch_stats= snapshot_time: 1788291908.595920904 secs.nsecs start_time: 1788291847.373151591 secs.nsecs elapsed_time: 61.222769313 secs.nsecs subreqs per batch batches %% cum %% 1: 78 37 37 2: 22 10 48 4: 22 10 58 8: 18 8 67 16: 8 3 71 32: 20 9 81 64: 4 1 83 128: 0 0 83 256: 35 16 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-ffff9acce008c000.statahead_batch_max=64 llite.lustre-ffff9acce008c000.statahead_max=128