== sanity test 123ad: Verify batching statahead works correctly ========================================================== 12:04:16 (1788797056) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff89a887ab0800.batch_stats=0 llite.lustre-ffff89a887ab0800.statahead_max=32 llite.lustre-ffff89a887ab0800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff89a887ab0800.batch_stats=0 total: 100 open/close in 2.58 seconds: 38.76 ops/second llite.lustre-ffff89a887ab0800.statahead_max=0 101 real 0m2.249s user 0m0.006s sys 0m0.318s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff89a887ab0800.statahead_max=32 llite.lustre-ffff89a887ab0800.statahead_max=32 101 real 0m0.984s user 0m0.007s sys 0m0.137s 'ls -l' 100 files with statahead: 1 sec statahead total: 123 statahead wrong: 2 agl total: 117 list_total: 30 fname_total: 93 hit_total: 3923 miss_total: 1580 swrong=2 ewrong=2 - open/close 609 (time 1788797085.53 total 10.01 last 60.85) total: 900 open/close in 13.83 seconds: 65.10 ops/second llite.lustre-ffff89a887ab0800.statahead_max=0 1001 real 0m24.780s user 0m0.031s sys 0m2.982s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff89a887ab0800.statahead_max=32 llite.lustre-ffff89a887ab0800.statahead_max=32 1001 real 0m9.955s user 0m0.040s sys 0m1.360s 'ls -l' 1000 files with statahead: 10 sec statahead total: 124 statahead wrong: 2 agl total: 118 list_total: 31 fname_total: 93 hit_total: 4921 miss_total: 1582 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff89a887ab0800.statahead_stats= statahead total: 124 statahead wrong: 2 agl total: 118 list_total: 31 fname_total: 93 hit_total: 4921 miss_total: 1582 mdc.lustre-MDT0000-mdc-ffff89a887ab0800.batch_stats= snapshot_time: 1788797162.963167773 secs.nsecs start_time: 1788797062.297104193 secs.nsecs elapsed_time: 100.666063580 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 7 7 16: 1 2 10 32: 34 89 100 - open/close 668 (time 1788797177.04 total 10.01 last 66.71) - open/close 1209 (time 1788797187.04 total 20.02 last 54.05) - open/close 1769 (time 1788797197.07 total 30.05 last 55.85) - open/close 2347 (time 1788797207.07 total 40.05 last 57.78) - open/close 2959 (time 1788797217.08 total 50.05 last 61.18) - open/close 3589 (time 1788797227.08 total 60.06 last 62.97) - open/close 4270 (time 1788797237.08 total 70.06 last 68.08) - open/close 4913 (time 1788797247.09 total 80.07 last 64.23) - open/close 5557 (time 1788797257.10 total 90.08 last 64.36) - open/close 6283 (time 1788797267.12 total 100.09 last 72.50) - open/close 6786 (time 1788797277.13 total 110.11 last 50.23) - open/close 7520 (time 1788797287.15 total 120.13 last 73.22) - open/close 8203 (time 1788797297.16 total 130.14 last 68.28) - open/close 8764 (time 1788797307.17 total 140.14 last 56.05) - open/close 9454 (time 1788797317.18 total 150.16 last 68.93) total: 10000 open/close in 159.36 seconds: 62.75 ops/second llite.lustre-ffff89a887ab0800.statahead_batch_max=0 llite.lustre-ffff89a887ab0800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89a887ab0800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m14.447s user 0m0.385s sys 0m14.355s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff89a887ab0800.statahead_batch_max=32 llite.lustre-ffff89a887ab0800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89a887ab0800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff89a887ab0800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m57.496s user 0m0.347s sys 0m13.499s batched statahead RPC= hit count=9976 mdc.lustre-MDT0000-mdc-ffff89a887ab0800.batch_stats= snapshot_time: 1788797538.699968645 secs.nsecs start_time: 1788797409.325751731 secs.nsecs elapsed_time: 129.374216914 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 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-ffff89a887ab0800.batch_stats=0 llite.lustre-ffff89a887ab0800.statahead_max=2048 llite.lustre-ffff89a887ab0800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff89a887ab0800.batch_stats=0 total: 100 open/close in 2.84 seconds: 35.26 ops/second llite.lustre-ffff89a887ab0800.statahead_max=0 101 real 0m3.124s user 0m0.006s sys 0m0.336s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff89a887ab0800.statahead_max=2048 llite.lustre-ffff89a887ab0800.statahead_max=2048 101 real 0m1.065s user 0m0.005s sys 0m0.169s '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: 10075 miss_total: 25 swrong=0 ewrong=0 - open/close 619 (time 1788797896.01 total 10.01 last 61.86) total: 900 open/close in 15.87 seconds: 56.72 ops/second llite.lustre-ffff89a887ab0800.statahead_max=0 1001 real 0m31.052s user 0m0.034s sys 0m2.973s 'ls -l' 1000 files without statahead: 31 sec llite.lustre-ffff89a887ab0800.statahead_max=2048 llite.lustre-ffff89a887ab0800.statahead_max=2048 1001 real 0m7.550s user 0m0.042s sys 0m1.486s '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: 11074 miss_total: 26 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff89a887ab0800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11074 miss_total: 26 mdc.lustre-MDT0000-mdc-ffff89a887ab0800.batch_stats= snapshot_time: 1788797976.713262045 secs.nsecs start_time: 1788797542.989398575 secs.nsecs elapsed_time: 433.723863470 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 20 20 16: 2 20 40 32: 1 10 50 64: 1 10 60 128: 0 0 60 256: 4 40 100 - open/close 657 (time 1788797989.16 total 10.01 last 65.62) - open/close 1260 (time 1788797999.18 total 20.03 last 60.18) - open/close 1882 (time 1788798009.18 total 30.03 last 62.19) - open/close 2488 (time 1788798019.23 total 40.08 last 60.35) - open/close 3151 (time 1788798029.23 total 50.08 last 66.28) - open/close 3798 (time 1788798039.23 total 60.08 last 64.69) - open/close 4447 (time 1788798049.23 total 70.09 last 64.87) - open/close 5014 (time 1788798059.24 total 80.09 last 56.65) - open/close 5686 (time 1788798069.25 total 90.10 last 67.19) - open/close 6440 (time 1788798079.25 total 100.10 last 75.37) - open/close 7199 (time 1788798089.25 total 110.10 last 75.89) - open/close 8008 (time 1788798099.26 total 120.11 last 80.84) - open/close 8777 (time 1788798109.26 total 130.11 last 76.89) - open/close 9573 (time 1788798119.26 total 140.11 last 79.58) total: 10000 open/close in 145.43 seconds: 68.76 ops/second llite.lustre-ffff89a887ab0800.statahead_batch_max=0 llite.lustre-ffff89a887ab0800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89a887ab0800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.464s user 0m0.320s sys 0m13.915s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff89a887ab0800.statahead_batch_max=256 llite.lustre-ffff89a887ab0800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff89a887ab0800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff89a887ab0800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m49.771s user 0m0.298s sys 0m13.830s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff89a887ab0800.batch_stats= snapshot_time: 1788798254.490192033 secs.nsecs start_time: 1788798193.966908338 secs.nsecs elapsed_time: 60.523283695 secs.nsecs subreqs per batch batches %% cum %% 1: 168 45 45 2: 58 15 61 4: 48 12 74 8: 29 7 81 16: 11 2 84 32: 19 5 90 64: 3 0 90 128: 0 0 90 256: 34 9 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-ffff89a887ab0800.statahead_batch_max=64 llite.lustre-ffff89a887ab0800.statahead_max=128