== sanity test 123ad: Verify batching statahead works correctly ========================================================== 02:18:45 (1788848325) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffffa0d937c45000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0d937c45000.batch_stats=0 llite.lustre-ffffa0d937c45000.statahead_max=32 llite.lustre-ffffa0d937c45000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffffa0d937c45000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0d937c45000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.20 seconds: 45.47 ops/second llite.lustre-ffffa0d937c45000.statahead_max=0 101 real 0m1.497s user 0m0.003s sys 0m0.288s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffffa0d937c45000.statahead_max=32 llite.lustre-ffffa0d937c45000.statahead_max=32 101 real 0m0.952s user 0m0.004s sys 0m0.157s 'ls -l' 100 files with statahead: 1 sec statahead total: 143 statahead wrong: 2 agl total: 137 list_total: 31 fname_total: 93 hit_total: 3975 miss_total: 1236 swrong=2 ewrong=2 - open/close 870 (time 1788848351.51 total 10.01 last 86.93) total: 900 open/close in 10.45 seconds: 86.12 ops/second llite.lustre-ffffa0d937c45000.statahead_max=0 1001 real 0m21.802s user 0m0.042s sys 0m2.848s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffffa0d937c45000.statahead_max=32 llite.lustre-ffffa0d937c45000.statahead_max=32 1001 real 0m8.221s user 0m0.031s sys 0m1.365s 'ls -l' 1000 files with statahead: 8 sec statahead total: 144 statahead wrong: 2 agl total: 138 list_total: 32 fname_total: 93 hit_total: 4972 miss_total: 1239 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffffa0d937c45000.statahead_stats= statahead total: 144 statahead wrong: 2 agl total: 138 list_total: 32 fname_total: 93 hit_total: 4972 miss_total: 1239 mdc.lustre-MDT0000-mdc-ffffa0d937c45000.batch_stats= snapshot_time: 1788848413.135205702 secs.nsecs start_time: 1788848330.472287939 secs.nsecs elapsed_time: 82.662917763 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 2 5 5 4: 1 2 7 8: 2 5 12 16: 21 53 66 32: 13 33 100 mdc.lustre-MDT0001-mdc-ffffa0d937c45000.batch_stats= snapshot_time: 1788848413.135275740 secs.nsecs start_time: 1788848330.472592849 secs.nsecs elapsed_time: 82.662682891 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 3 7 10 8: 4 10 20 16: 18 45 65 32: 14 35 100 - open/close 891 (time 1788848425.41 total 10.00 last 89.09) - open/close 1835 (time 1788848435.41 total 20.00 last 94.37) - open/close 2630 (time 1788848445.44 total 30.03 last 79.28) - open/close 3588 (time 1788848455.44 total 40.04 last 95.76) - open/close 4550 (time 1788848465.45 total 50.04 last 96.16) - open/close 5457 (time 1788848475.46 total 60.05 last 90.60) - open/close 6384 (time 1788848485.46 total 70.06 last 92.66) - open/close 7285 (time 1788848495.47 total 80.06 last 90.04) - open/close 8188 (time 1788848505.48 total 90.07 last 90.20) - open/close 9132 (time 1788848515.48 total 100.08 last 94.38) - open/close 9974 (time 1788848525.49 total 110.08 last 84.16) total: 10000 open/close in 110.27 seconds: 90.68 ops/second llite.lustre-ffffa0d937c45000.statahead_batch_max=0 llite.lustre-ffffa0d937c45000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0d937c45000.stats=clear mdc.lustre-MDT0001-mdc-ffffa0d937c45000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m15.633s user 0m0.301s sys 0m14.023s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffffa0d937c45000.statahead_batch_max=32 llite.lustre-ffffa0d937c45000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0d937c45000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffffa0d937c45000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffffa0d937c45000.stats=clear mdc.lustre-MDT0001-mdc-ffffa0d937c45000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m39.375s user 0m0.289s sys 0m13.664s batched statahead RPC= hit count=9981 mdc.lustre-MDT0000-mdc-ffffa0d937c45000.batch_stats= snapshot_time: 1788848720.766851398 secs.nsecs start_time: 1788848610.999147767 secs.nsecs elapsed_time: 109.767703631 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-ffffa0d937c45000.batch_stats= snapshot_time: 1788848720.766917948 secs.nsecs start_time: 1788848610.999271971 secs.nsecs elapsed_time: 109.767645977 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffffa0d937c45000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0d937c45000.batch_stats=0 llite.lustre-ffffa0d937c45000.statahead_max=2048 llite.lustre-ffffa0d937c45000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffffa0d937c45000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffffa0d937c45000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.05 seconds: 48.84 ops/second llite.lustre-ffffa0d937c45000.statahead_max=0 101 real 0m1.730s user 0m0.005s sys 0m0.303s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffffa0d937c45000.statahead_max=2048 llite.lustre-ffffa0d937c45000.statahead_max=2048 101 real 0m0.867s user 0m0.002s sys 0m0.171s '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.33 seconds: 96.45 ops/second llite.lustre-ffffa0d937c45000.statahead_max=0 1001 real 0m19.766s user 0m0.027s sys 0m2.874s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffffa0d937c45000.statahead_max=2048 llite.lustre-ffffa0d937c45000.statahead_max=2048 1001 real 0m6.589s user 0m0.027s sys 0m1.266s '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: 11079 miss_total: 21 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffffa0d937c45000.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-ffffa0d937c45000.batch_stats= snapshot_time: 1788849049.274783714 secs.nsecs start_time: 1788848723.593619477 secs.nsecs elapsed_time: 325.681164237 secs.nsecs subreqs per batch batches %% cum %% 1: 1 16 16 2: 0 0 16 4: 2 33 50 8: 1 16 66 16: 0 0 66 32: 0 0 66 64: 0 0 66 128: 0 0 66 256: 2 33 100 mdc.lustre-MDT0001-mdc-ffffa0d937c45000.batch_stats= snapshot_time: 1788849049.274849211 secs.nsecs start_time: 1788848723.593775207 secs.nsecs elapsed_time: 325.681074004 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 22 22 8: 1 11 33 16: 2 22 55 32: 0 0 55 64: 2 22 77 128: 0 0 77 256: 2 22 100 - open/close 783 (time 1788849062.07 total 10.02 last 78.15) - open/close 1662 (time 1788849072.08 total 20.03 last 87.82) - open/close 2491 (time 1788849082.08 total 30.03 last 82.89) - open/close 3280 (time 1788849092.08 total 40.03 last 78.90) - open/close 4153 (time 1788849102.08 total 50.03 last 87.30) - open/close 5043 (time 1788849112.09 total 60.04 last 88.95) - open/close 6029 (time 1788849122.09 total 70.04 last 98.58) - open/close 6990 (time 1788849132.10 total 80.04 last 96.03) - open/close 7964 (time 1788849142.11 total 90.05 last 97.31) - open/close 8889 (time 1788849152.11 total 100.06 last 92.48) - open/close 9785 (time 1788849162.12 total 110.06 last 89.53) total: 10000 open/close in 112.50 seconds: 88.89 ops/second llite.lustre-ffffa0d937c45000.statahead_batch_max=0 llite.lustre-ffffa0d937c45000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0d937c45000.stats=clear mdc.lustre-MDT0001-mdc-ffffa0d937c45000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m57.698s user 0m0.288s sys 0m14.643s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffffa0d937c45000.statahead_batch_max=256 llite.lustre-ffffa0d937c45000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffffa0d937c45000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffffa0d937c45000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffffa0d937c45000.stats=clear mdc.lustre-MDT0001-mdc-ffffa0d937c45000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m44.568s user 0m0.286s sys 0m15.024s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffffa0d937c45000.batch_stats= snapshot_time: 1788849285.276843285 secs.nsecs start_time: 1788849230.250978441 secs.nsecs elapsed_time: 55.025864844 secs.nsecs subreqs per batch batches %% cum %% 1: 195 48 48 2: 52 13 62 4: 54 13 75 8: 33 8 83 16: 8 2 85 32: 11 2 88 64: 11 2 91 128: 1 0 91 256: 33 8 100 mdc.lustre-MDT0001-mdc-ffffa0d937c45000.batch_stats= snapshot_time: 1788849285.276912968 secs.nsecs start_time: 1788849230.251110345 secs.nsecs elapsed_time: 55.025802623 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-ffffa0d937c45000.statahead_batch_max=64 llite.lustre-ffffa0d937c45000.statahead_max=128