== sanity test 123ad: Verify batching statahead works correctly ========================================================== 09:11:14 (1787836274) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff982b188d7000.batch_stats=0 llite.lustre-ffff982b188d7000.statahead_max=32 llite.lustre-ffff982b188d7000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff982b188d7000.batch_stats=0 total: 100 open/close in 2.45 seconds: 40.84 ops/second llite.lustre-ffff982b188d7000.statahead_max=0 101 real 0m1.971s user 0m0.003s sys 0m0.287s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff982b188d7000.statahead_max=32 llite.lustre-ffff982b188d7000.statahead_max=32 101 real 0m0.976s user 0m0.005s sys 0m0.169s 'ls -l' 100 files with statahead: 1 sec statahead total: 118 statahead wrong: 2 agl total: 112 list_total: 30 fname_total: 76 hit_total: 3842 miss_total: 1205 swrong=2 ewrong=2 - open/close 818 (time 1787836299.78 total 10.00 last 81.77) total: 900 open/close in 11.05 seconds: 81.43 ops/second llite.lustre-ffff982b188d7000.statahead_max=0 1001 real 0m18.805s user 0m0.026s sys 0m2.713s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff982b188d7000.statahead_max=32 llite.lustre-ffff982b188d7000.statahead_max=32 1001 real 0m8.284s user 0m0.030s sys 0m1.356s 'ls -l' 1000 files with statahead: 8 sec statahead total: 119 statahead wrong: 2 agl total: 113 list_total: 31 fname_total: 76 hit_total: 4840 miss_total: 1207 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff982b188d7000.statahead_stats= statahead total: 119 statahead wrong: 2 agl total: 113 list_total: 31 fname_total: 76 hit_total: 4840 miss_total: 1207 mdc.lustre-MDT0000-mdc-ffff982b188d7000.batch_stats= snapshot_time: 1787836359.025919008 secs.nsecs start_time: 1787836278.746622001 secs.nsecs elapsed_time: 80.279297007 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 786 (time 1787836371.61 total 10.00 last 78.56) - open/close 1447 (time 1787836381.63 total 20.02 last 65.98) - open/close 2144 (time 1787836391.63 total 30.03 last 69.67) - open/close 2811 (time 1787836401.64 total 40.04 last 66.65) - open/close 3489 (time 1787836411.64 total 50.04 last 67.79) - open/close 4282 (time 1787836421.65 total 60.04 last 79.25) - open/close 5110 (time 1787836431.66 total 70.05 last 82.72) - open/close 6003 (time 1787836441.68 total 80.07 last 89.12) - open/close 6798 (time 1787836451.69 total 90.08 last 79.44) - open/close 7568 (time 1787836461.71 total 100.10 last 76.83) - open/close 8421 (time 1787836471.71 total 110.10 last 85.29) - open/close 9245 (time 1787836481.73 total 120.12 last 82.22) total: 10000 open/close in 129.70 seconds: 77.10 ops/second llite.lustre-ffff982b188d7000.statahead_batch_max=0 llite.lustre-ffff982b188d7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff982b188d7000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m54.121s user 0m0.302s sys 0m14.993s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff982b188d7000.statahead_batch_max=32 llite.lustre-ffff982b188d7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff982b188d7000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff982b188d7000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m26.891s user 0m0.269s sys 0m13.334s batched statahead RPC= hit count=9982 mdc.lustre-MDT0000-mdc-ffff982b188d7000.batch_stats= snapshot_time: 1787836650.168144283 secs.nsecs start_time: 1787836553.786138008 secs.nsecs elapsed_time: 96.382006275 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-ffff982b188d7000.batch_stats=0 llite.lustre-ffff982b188d7000.statahead_max=2048 llite.lustre-ffff982b188d7000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff982b188d7000.batch_stats=0 total: 100 open/close in 2.72 seconds: 36.81 ops/second llite.lustre-ffff982b188d7000.statahead_max=0 101 real 0m2.069s user 0m0.003s sys 0m0.293s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff982b188d7000.statahead_max=2048 llite.lustre-ffff982b188d7000.statahead_max=2048 101 real 0m1.101s user 0m0.005s sys 0m0.170s '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 853 (time 1787836938.08 total 10.01 last 85.18) total: 900 open/close in 10.59 seconds: 85.01 ops/second llite.lustre-ffff982b188d7000.statahead_max=0 1001 real 0m22.490s user 0m0.033s sys 0m2.844s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff982b188d7000.statahead_max=2048 llite.lustre-ffff982b188d7000.statahead_max=2048 1001 real 0m6.464s user 0m0.023s sys 0m1.296s '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: 11080 miss_total: 20 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff982b188d7000.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-ffff982b188d7000.batch_stats= snapshot_time: 1787836998.822697285 secs.nsecs start_time: 1787836652.556280603 secs.nsecs elapsed_time: 346.266416682 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 16 16 16: 2 16 33 32: 2 16 50 64: 2 16 66 128: 0 0 66 256: 4 33 100 - open/close 739 (time 1787837011.35 total 10.01 last 73.86) - open/close 1612 (time 1787837021.35 total 20.01 last 87.24) - open/close 2403 (time 1787837031.36 total 30.02 last 79.06) - open/close 3160 (time 1787837041.37 total 40.03 last 75.64) - open/close 3852 (time 1787837051.38 total 50.04 last 69.12) - open/close 4600 (time 1787837061.40 total 60.06 last 74.66) - open/close 5335 (time 1787837071.40 total 70.06 last 73.44) - open/close 6177 (time 1787837081.41 total 80.07 last 84.15) - open/close 6942 (time 1787837091.43 total 90.08 last 76.39) - open/close 7680 (time 1787837101.43 total 100.08 last 73.80) - open/close 8480 (time 1787837111.44 total 110.10 last 79.91) - open/close 9340 (time 1787837121.46 total 120.12 last 85.78) total: 10000 open/close in 128.56 seconds: 77.78 ops/second llite.lustre-ffff982b188d7000.statahead_batch_max=0 llite.lustre-ffff982b188d7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff982b188d7000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m55.802s user 0m0.285s sys 0m14.663s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff982b188d7000.statahead_batch_max=256 llite.lustre-ffff982b188d7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff982b188d7000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff982b188d7000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m44.973s user 0m0.276s sys 0m15.069s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff982b188d7000.batch_stats= snapshot_time: 1787837246.630892134 secs.nsecs start_time: 1787837192.827990769 secs.nsecs elapsed_time: 53.802901365 secs.nsecs subreqs per batch batches %% cum %% 1: 121 41 41 2: 36 12 54 4: 44 15 69 8: 22 7 76 16: 8 2 79 32: 18 6 85 64: 6 2 87 128: 1 0 88 256: 34 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-ffff982b188d7000.statahead_batch_max=64 llite.lustre-ffff982b188d7000.statahead_max=128