== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:45:35 (1788839135) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff909500be3800.batch_stats=0 llite.lustre-ffff909500be3800.statahead_max=32 llite.lustre-ffff909500be3800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff909500be3800.batch_stats=0 total: 100 open/close in 2.42 seconds: 41.41 ops/second llite.lustre-ffff909500be3800.statahead_max=0 101 real 0m1.552s user 0m0.004s sys 0m0.274s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff909500be3800.statahead_max=32 llite.lustre-ffff909500be3800.statahead_max=32 101 real 0m1.193s user 0m0.007s sys 0m0.169s 'ls -l' 100 files with statahead: 1 sec statahead total: 114 statahead wrong: 1 agl total: 108 list_total: 29 fname_total: 65 hit_total: 3851 miss_total: 250 swrong=1 ewrong=1 - open/close 855 (time 1788839160.76 total 10.00 last 85.50) total: 900 open/close in 10.78 seconds: 83.46 ops/second llite.lustre-ffff909500be3800.statahead_max=0 1001 real 0m19.004s user 0m0.041s sys 0m2.707s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff909500be3800.statahead_max=32 llite.lustre-ffff909500be3800.statahead_max=32 1001 real 0m11.166s user 0m0.031s sys 0m1.334s 'ls -l' 1000 files with statahead: 12 sec statahead total: 115 statahead wrong: 1 agl total: 109 list_total: 30 fname_total: 65 hit_total: 4848 miss_total: 253 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 26 seconds llite.lustre-ffff909500be3800.statahead_stats= statahead total: 115 statahead wrong: 1 agl total: 109 list_total: 30 fname_total: 65 hit_total: 4848 miss_total: 253 mdc.lustre-MDT0000-mdc-ffff909500be3800.batch_stats= snapshot_time: 1788839231.288875498 secs.nsecs start_time: 1788839139.578863547 secs.nsecs elapsed_time: 91.710011951 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 754 (time 1788839244.44 total 10.00 last 75.38) - open/close 1441 (time 1788839254.44 total 20.01 last 68.67) - open/close 2242 (time 1788839264.46 total 30.02 last 80.00) - open/close 3029 (time 1788839274.46 total 40.02 last 78.69) - open/close 3934 (time 1788839284.46 total 50.03 last 90.47) - open/close 4651 (time 1788839294.47 total 60.03 last 71.64) - open/close 5238 (time 1788839304.47 total 70.04 last 58.68) - open/close 5859 (time 1788839314.49 total 80.05 last 62.02) - open/close 6404 (time 1788839324.49 total 90.05 last 54.48) - open/close 7118 (time 1788839334.50 total 100.06 last 71.33) - open/close 7879 (time 1788839344.53 total 110.09 last 75.90) - open/close 8534 (time 1788839354.53 total 120.10 last 65.44) - open/close 9215 (time 1788839364.57 total 130.13 last 67.86) - open/close 9856 (time 1788839374.57 total 140.14 last 64.07) total: 10000 open/close in 141.88 seconds: 70.48 ops/second llite.lustre-ffff909500be3800.statahead_batch_max=0 llite.lustre-ffff909500be3800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff909500be3800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.687s user 0m0.338s sys 0m13.445s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff909500be3800.statahead_batch_max=32 llite.lustre-ffff909500be3800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff909500be3800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff909500be3800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m40.006s user 0m0.297s sys 0m12.838s batched statahead RPC= hit count=9981 mdc.lustre-MDT0000-mdc-ffff909500be3800.batch_stats= snapshot_time: 1788839559.291523705 secs.nsecs start_time: 1788839447.796853011 secs.nsecs elapsed_time: 111.494670694 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 0 0 0 32: 313 99 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff909500be3800.batch_stats=0 llite.lustre-ffff909500be3800.statahead_max=2048 llite.lustre-ffff909500be3800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff909500be3800.batch_stats=0 total: 100 open/close in 2.55 seconds: 39.26 ops/second llite.lustre-ffff909500be3800.statahead_max=0 101 real 0m1.583s user 0m0.003s sys 0m0.309s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff909500be3800.statahead_max=2048 llite.lustre-ffff909500be3800.statahead_max=2048 101 real 0m1.051s user 0m0.004s sys 0m0.175s '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 - open/close 758 (time 1788839830.58 total 10.00 last 75.77) total: 900 open/close in 11.97 seconds: 75.17 ops/second llite.lustre-ffff909500be3800.statahead_max=0 1001 real 0m19.115s user 0m0.032s sys 0m2.841s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff909500be3800.statahead_max=2048 llite.lustre-ffff909500be3800.statahead_max=2048 1001 real 0m6.485s user 0m0.030s sys 0m1.341s '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: 18 seconds llite.lustre-ffff909500be3800.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-ffff909500be3800.batch_stats= snapshot_time: 1788839888.742422187 secs.nsecs start_time: 1788839562.021808445 secs.nsecs elapsed_time: 326.720613742 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 826 (time 1788839901.43 total 10.02 last 82.43) - open/close 1657 (time 1788839911.44 total 20.03 last 83.01) - open/close 2572 (time 1788839921.45 total 30.04 last 91.43) - open/close 3475 (time 1788839931.45 total 40.04 last 90.27) - open/close 4250 (time 1788839941.47 total 50.06 last 77.38) - open/close 5026 (time 1788839951.48 total 60.07 last 77.49) - open/close 5498 (time 1788839961.50 total 70.09 last 47.10) - open/close 5944 (time 1788839971.50 total 80.09 last 44.60) - open/close 6618 (time 1788839981.51 total 90.10 last 67.36) - open/close 7440 (time 1788839991.52 total 100.11 last 82.15) - open/close 8373 (time 1788840001.52 total 110.11 last 93.23) - open/close 9157 (time 1788840011.52 total 120.11 last 78.39) total: 10000 open/close in 129.83 seconds: 77.02 ops/second llite.lustre-ffff909500be3800.statahead_batch_max=0 llite.lustre-ffff909500be3800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff909500be3800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m54.152s user 0m0.323s sys 0m14.200s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff909500be3800.statahead_batch_max=256 llite.lustre-ffff909500be3800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff909500be3800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff909500be3800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m46.955s user 0m0.300s sys 0m14.004s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff909500be3800.batch_stats= snapshot_time: 1788840138.345218332 secs.nsecs start_time: 1788840083.499722248 secs.nsecs elapsed_time: 54.845496084 secs.nsecs subreqs per batch batches %% cum %% 1: 99 37 37 2: 42 15 53 4: 35 13 66 8: 13 4 71 16: 17 6 77 32: 19 7 84 64: 7 2 87 128: 0 0 87 256: 34 12 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-ffff909500be3800.statahead_batch_max=64 llite.lustre-ffff909500be3800.statahead_max=128