== sanity test 123ad: Verify batching statahead works correctly ========================================================== 09:34:06 (1788615246) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff991a20f15800.batch_stats=0 llite.lustre-ffff991a20f15800.statahead_max=32 llite.lustre-ffff991a20f15800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff991a20f15800.batch_stats=0 total: 100 open/close in 3.05 seconds: 32.83 ops/second llite.lustre-ffff991a20f15800.statahead_max=0 101 real 0m1.923s user 0m0.006s sys 0m0.284s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff991a20f15800.statahead_max=32 llite.lustre-ffff991a20f15800.statahead_max=32 101 real 0m1.051s user 0m0.007s sys 0m0.154s 'ls -l' 100 files with statahead: 1 sec statahead total: 138 statahead wrong: 2 agl total: 132 list_total: 31 fname_total: 107 hit_total: 4246 miss_total: 1293 swrong=2 ewrong=2 - open/close 682 (time 1788615273.74 total 10.01 last 68.13) total: 900 open/close in 12.64 seconds: 71.20 ops/second llite.lustre-ffff991a20f15800.statahead_max=0 1001 real 0m17.641s user 0m0.031s sys 0m2.730s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff991a20f15800.statahead_max=32 llite.lustre-ffff991a20f15800.statahead_max=32 1001 real 0m9.915s user 0m0.036s sys 0m1.272s 'ls -l' 1000 files with statahead: 10 sec statahead total: 139 statahead wrong: 2 agl total: 133 list_total: 32 fname_total: 107 hit_total: 5243 miss_total: 1296 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff991a20f15800.statahead_stats= statahead total: 139 statahead wrong: 2 agl total: 133 list_total: 32 fname_total: 107 hit_total: 5243 miss_total: 1296 mdc.lustre-MDT0000-mdc-ffff991a20f15800.batch_stats= snapshot_time: 1788615335.077145186 secs.nsecs start_time: 1788615250.875990065 secs.nsecs elapsed_time: 84.201155121 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 1 2 5 8: 2 5 10 16: 2 5 15 32: 34 85 100 - open/close 844 (time 1788615347.86 total 10.01 last 84.33) - open/close 1568 (time 1788615357.86 total 20.01 last 72.37) - open/close 2329 (time 1788615367.87 total 30.01 last 76.09) - open/close 3173 (time 1788615377.87 total 40.01 last 84.40) - open/close 3939 (time 1788615387.87 total 50.02 last 76.57) - open/close 4795 (time 1788615397.88 total 60.03 last 85.51) - open/close 5650 (time 1788615407.88 total 70.03 last 85.45) - open/close 6551 (time 1788615417.89 total 80.03 last 90.09) - open/close 7454 (time 1788615427.89 total 90.04 last 90.24) - open/close 8394 (time 1788615437.92 total 100.06 last 93.78) - open/close 9096 (time 1788615447.92 total 110.07 last 70.16) - open/close 9960 (time 1788615457.93 total 120.08 last 86.34) total: 10000 open/close in 120.60 seconds: 82.92 ops/second llite.lustre-ffff991a20f15800.statahead_batch_max=0 llite.lustre-ffff991a20f15800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff991a20f15800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m54.655s user 0m0.300s sys 0m13.584s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff991a20f15800.statahead_batch_max=32 llite.lustre-ffff991a20f15800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff991a20f15800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff991a20f15800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m39.459s user 0m0.299s sys 0m12.836s batched statahead RPC= hit count=9981 mdc.lustre-MDT0000-mdc-ffff991a20f15800.batch_stats= snapshot_time: 1788615632.275924226 secs.nsecs start_time: 1788615522.455776190 secs.nsecs elapsed_time: 109.820148036 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-ffff991a20f15800.batch_stats=0 llite.lustre-ffff991a20f15800.statahead_max=2048 llite.lustre-ffff991a20f15800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff991a20f15800.batch_stats=0 total: 100 open/close in 2.15 seconds: 46.50 ops/second llite.lustre-ffff991a20f15800.statahead_max=0 101 real 0m2.874s user 0m0.006s sys 0m0.312s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff991a20f15800.statahead_max=2048 llite.lustre-ffff991a20f15800.statahead_max=2048 101 real 0m1.020s user 0m0.003s sys 0m0.148s '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.61 seconds: 93.64 ops/second llite.lustre-ffff991a20f15800.statahead_max=0 1001 real 0m25.218s user 0m0.032s sys 0m2.884s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff991a20f15800.statahead_max=2048 llite.lustre-ffff991a20f15800.statahead_max=2048 1001 real 0m5.392s user 0m0.023s sys 0m1.278s '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-ffff991a20f15800.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-ffff991a20f15800.batch_stats= snapshot_time: 1788615980.308578970 secs.nsecs start_time: 1788615634.382333083 secs.nsecs elapsed_time: 345.926245887 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 771 (time 1788615993.27 total 10.01 last 77.06) - open/close 1610 (time 1788616003.27 total 20.01 last 83.84) - open/close 2497 (time 1788616013.28 total 30.02 last 88.64) - open/close 3322 (time 1788616023.28 total 40.02 last 82.49) - open/close 4127 (time 1788616033.28 total 50.02 last 80.49) - open/close 4893 (time 1788616043.29 total 60.03 last 76.56) - open/close 5670 (time 1788616053.29 total 70.03 last 77.70) - open/close 6499 (time 1788616063.29 total 80.03 last 82.88) - open/close 7360 (time 1788616073.29 total 90.03 last 86.10) - open/close 8267 (time 1788616083.29 total 100.03 last 90.67) - open/close 9147 (time 1788616093.32 total 110.06 last 87.75) - open/close 9918 (time 1788616103.33 total 120.07 last 77.02) total: 10000 open/close in 121.10 seconds: 82.58 ops/second llite.lustre-ffff991a20f15800.statahead_batch_max=0 llite.lustre-ffff991a20f15800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff991a20f15800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.193s user 0m0.299s sys 0m13.542s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff991a20f15800.statahead_batch_max=256 llite.lustre-ffff991a20f15800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff991a20f15800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff991a20f15800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m47.139s user 0m0.284s sys 0m13.400s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff991a20f15800.batch_stats= snapshot_time: 1788616232.737698383 secs.nsecs start_time: 1788616174.757199124 secs.nsecs elapsed_time: 57.980499259 secs.nsecs subreqs per batch batches %% cum %% 1: 138 48 48 2: 31 10 59 4: 26 9 68 8: 22 7 76 16: 10 3 79 32: 20 7 86 64: 2 0 87 128: 0 0 87 256: 35 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-ffff991a20f15800.statahead_batch_max=64 llite.lustre-ffff991a20f15800.statahead_max=128