== sanity test 123ad: Verify batching statahead works correctly ========================================================== 21:02:23 (1789606943) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9c9ce003f800.batch_stats=0 llite.lustre-ffff9c9ce003f800.statahead_max=32 llite.lustre-ffff9c9ce003f800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9c9ce003f800.batch_stats=0 total: 100 open/close in 3.44 seconds: 29.11 ops/second llite.lustre-ffff9c9ce003f800.statahead_max=0 101 real 0m3.392s user 0m0.006s sys 0m0.375s 'ls -l' 100 files without statahead: 4 sec llite.lustre-ffff9c9ce003f800.statahead_max=32 llite.lustre-ffff9c9ce003f800.statahead_max=32 101 real 0m0.998s user 0m0.005s sys 0m0.163s 'ls -l' 100 files with statahead: 1 sec statahead total: 119 statahead wrong: 1 agl total: 113 list_total: 31 fname_total: 68 hit_total: 4056 miss_total: 266 swrong=1 ewrong=1 - open/close 626 (time 1789606973.49 total 10.01 last 62.55) total: 900 open/close in 14.67 seconds: 61.33 ops/second llite.lustre-ffff9c9ce003f800.statahead_max=0 1001 real 0m25.065s user 0m0.029s sys 0m2.976s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff9c9ce003f800.statahead_max=32 llite.lustre-ffff9c9ce003f800.statahead_max=32 1001 real 0m9.769s user 0m0.033s sys 0m1.575s 'ls -l' 1000 files with statahead: 10 sec statahead total: 120 statahead wrong: 1 agl total: 114 list_total: 32 fname_total: 68 hit_total: 5053 miss_total: 269 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff9c9ce003f800.statahead_stats= statahead total: 120 statahead wrong: 1 agl total: 114 list_total: 32 fname_total: 68 hit_total: 5053 miss_total: 269 mdc.lustre-MDT0000-mdc-ffff9c9ce003f800.batch_stats= snapshot_time: 1789607049.126354758 secs.nsecs start_time: 1789606948.577415744 secs.nsecs elapsed_time: 100.548939014 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 3 7 10 16: 2 5 15 32: 34 85 100 - open/close 538 (time 1789607062.10 total 10.03 last 53.62) - open/close 1106 (time 1789607072.11 total 20.04 last 56.76) - open/close 1683 (time 1789607082.12 total 30.05 last 57.64) - open/close 2318 (time 1789607092.13 total 40.06 last 63.44) - open/close 2941 (time 1789607102.15 total 50.08 last 62.19) - open/close 3565 (time 1789607112.15 total 60.08 last 62.36) - open/close 4183 (time 1789607122.17 total 70.10 last 61.71) - open/close 4827 (time 1789607132.17 total 80.10 last 64.38) - open/close 5461 (time 1789607142.19 total 90.12 last 63.29) - open/close 6118 (time 1789607152.20 total 100.13 last 65.62) - open/close 6763 (time 1789607162.21 total 110.14 last 64.46) - open/close 7424 (time 1789607172.22 total 120.15 last 66.02) - open/close 8044 (time 1789607182.23 total 130.16 last 61.94) - open/close 8656 (time 1789607192.23 total 140.16 last 61.18) - open/close 9271 (time 1789607202.24 total 150.17 last 61.46) - open/close 9819 (time 1789607212.25 total 160.18 last 54.75) total: 10000 open/close in 163.48 seconds: 61.17 ops/second llite.lustre-ffff9c9ce003f800.statahead_batch_max=0 llite.lustre-ffff9c9ce003f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c9ce003f800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m17.872s user 0m0.340s sys 0m14.995s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9c9ce003f800.statahead_batch_max=32 llite.lustre-ffff9c9ce003f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c9ce003f800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9c9ce003f800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m53.102s user 0m0.319s sys 0m14.174s batched statahead RPC= hit count=9981 mdc.lustre-MDT0000-mdc-ffff9c9ce003f800.batch_stats= snapshot_time: 1789607430.539905502 secs.nsecs start_time: 1789607306.514673028 secs.nsecs elapsed_time: 124.025232474 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-ffff9c9ce003f800.batch_stats=0 llite.lustre-ffff9c9ce003f800.statahead_max=2048 llite.lustre-ffff9c9ce003f800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9c9ce003f800.batch_stats=0 total: 100 open/close in 3.46 seconds: 28.89 ops/second llite.lustre-ffff9c9ce003f800.statahead_max=0 101 real 0m3.192s user 0m0.005s sys 0m0.323s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9c9ce003f800.statahead_max=2048 llite.lustre-ffff9c9ce003f800.statahead_max=2048 101 real 0m1.201s user 0m0.006s sys 0m0.165s 'ls -l' 100 files with statahead: 2 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 - open/close 587 (time 1789607797.31 total 10.01 last 58.64) total: 900 open/close in 15.32 seconds: 58.76 ops/second llite.lustre-ffff9c9ce003f800.statahead_max=0 1001 real 0m26.183s user 0m0.034s sys 0m3.169s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff9c9ce003f800.statahead_max=2048 llite.lustre-ffff9c9ce003f800.statahead_max=2048 1001 real 0m6.415s user 0m0.037s sys 0m1.413s '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: 25 seconds llite.lustre-ffff9c9ce003f800.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-ffff9c9ce003f800.batch_stats= snapshot_time: 1789607875.218358024 secs.nsecs start_time: 1789607433.688976672 secs.nsecs elapsed_time: 441.529381352 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 15 15 16: 2 15 30 32: 2 15 46 64: 2 15 61 128: 2 15 76 256: 3 23 100 - open/close 475 (time 1789607888.82 total 10.01 last 47.47) - open/close 1015 (time 1789607898.82 total 20.01 last 53.96) - open/close 1598 (time 1789607908.83 total 30.02 last 58.27) - open/close 2236 (time 1789607918.83 total 40.02 last 63.78) - open/close 2767 (time 1789607928.84 total 50.03 last 53.06) - open/close 3393 (time 1789607938.84 total 60.03 last 62.58) - open/close 3966 (time 1789607948.85 total 70.04 last 57.23) - open/close 4574 (time 1789607958.87 total 80.06 last 60.72) - open/close 5232 (time 1789607968.87 total 90.06 last 65.78) - open/close 5764 (time 1789607978.87 total 100.06 last 53.18) - open/close 6321 (time 1789607988.88 total 110.07 last 55.65) - open/close 6979 (time 1789607998.89 total 120.08 last 65.75) - open/close 7575 (time 1789608008.90 total 130.09 last 59.53) - open/close 8183 (time 1789608018.90 total 140.09 last 60.80) - open/close 8724 (time 1789608028.91 total 150.10 last 54.04) - open/close 9287 (time 1789608038.91 total 160.10 last 56.28) - open/close 9885 (time 1789608048.97 total 170.16 last 59.46) total: 10000 open/close in 171.75 seconds: 58.22 ops/second llite.lustre-ffff9c9ce003f800.statahead_batch_max=0 llite.lustre-ffff9c9ce003f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c9ce003f800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.369s user 0m0.349s sys 0m14.938s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9c9ce003f800.statahead_batch_max=256 llite.lustre-ffff9c9ce003f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c9ce003f800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9c9ce003f800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m48.279s user 0m0.318s sys 0m15.082s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9c9ce003f800.batch_stats= snapshot_time: 1789608186.100251738 secs.nsecs start_time: 1789608126.516399634 secs.nsecs elapsed_time: 59.583852104 secs.nsecs subreqs per batch batches %% cum %% 1: 136 46 46 2: 36 12 58 4: 33 11 70 8: 21 7 77 16: 13 4 81 32: 14 4 86 64: 3 1 87 128: 1 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-ffff9c9ce003f800.statahead_batch_max=64 llite.lustre-ffff9c9ce003f800.statahead_max=128