== sanity test 123ad: Verify batching statahead works correctly ========================================================== 16:50:53 (1788468653) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8965080a1800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8965080a1800.batch_stats=0 llite.lustre-ffff8965080a1800.statahead_max=32 llite.lustre-ffff8965080a1800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8965080a1800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8965080a1800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.21 seconds: 45.31 ops/second llite.lustre-ffff8965080a1800.statahead_max=0 101 real 0m1.820s user 0m0.003s sys 0m0.303s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8965080a1800.statahead_max=32 llite.lustre-ffff8965080a1800.statahead_max=32 101 real 0m0.934s user 0m0.004s sys 0m0.173s 'ls -l' 100 files with statahead: 1 sec statahead total: 103 statahead wrong: 2 agl total: 96 list_total: 31 fname_total: 60 hit_total: 3857 miss_total: 1101 swrong=2 ewrong=2 total: 900 open/close in 8.82 seconds: 102.06 ops/second llite.lustre-ffff8965080a1800.statahead_max=0 1001 real 0m24.890s user 0m0.036s sys 0m3.026s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff8965080a1800.statahead_max=32 llite.lustre-ffff8965080a1800.statahead_max=32 1001 real 0m8.012s user 0m0.029s sys 0m1.249s 'ls -l' 1000 files with statahead: 8 sec statahead total: 104 statahead wrong: 2 agl total: 97 list_total: 32 fname_total: 60 hit_total: 4856 miss_total: 1102 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff8965080a1800.statahead_stats= statahead total: 104 statahead wrong: 2 agl total: 97 list_total: 32 fname_total: 60 hit_total: 4856 miss_total: 1102 mdc.lustre-MDT0000-mdc-ffff8965080a1800.batch_stats= snapshot_time: 1788468739.643548666 secs.nsecs start_time: 1788468658.139821893 secs.nsecs elapsed_time: 81.503726773 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 0 0 5 4: 3 7 12 8: 2 5 17 16: 20 50 67 32: 13 32 100 mdc.lustre-MDT0001-mdc-ffff8965080a1800.batch_stats= snapshot_time: 1788468739.645600287 secs.nsecs start_time: 1788468658.139907729 secs.nsecs elapsed_time: 81.505692558 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 5 5 8: 4 10 15 16: 17 43 58 32: 16 41 100 - open/close 971 (time 1788468752.81 total 10.01 last 96.98) - open/close 1733 (time 1788468762.81 total 20.01 last 76.19) - open/close 2511 (time 1788468772.82 total 30.03 last 77.70) - open/close 3400 (time 1788468782.82 total 40.03 last 88.86) - open/close 4313 (time 1788468792.83 total 50.03 last 91.27) - open/close 5210 (time 1788468802.84 total 60.04 last 89.62) - open/close 6186 (time 1788468812.84 total 70.04 last 97.58) - open/close 7112 (time 1788468822.84 total 80.05 last 92.55) - open/close 7897 (time 1788468832.85 total 90.05 last 78.46) - open/close 8726 (time 1788468842.85 total 100.06 last 82.89) - open/close 9561 (time 1788468852.85 total 110.06 last 83.47) total: 10000 open/close in 114.30 seconds: 87.49 ops/second llite.lustre-ffff8965080a1800.statahead_batch_max=0 llite.lustre-ffff8965080a1800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8965080a1800.stats=clear mdc.lustre-MDT0001-mdc-ffff8965080a1800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m16.592s user 0m0.354s sys 0m14.722s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8965080a1800.statahead_batch_max=32 llite.lustre-ffff8965080a1800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8965080a1800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8965080a1800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8965080a1800.stats=clear mdc.lustre-MDT0001-mdc-ffff8965080a1800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m54.758s user 0m0.312s sys 0m13.540s batched statahead RPC= hit count=9983 mdc.lustre-MDT0000-mdc-ffff8965080a1800.batch_stats= snapshot_time: 1788469068.828335300 secs.nsecs start_time: 1788468943.226828646 secs.nsecs elapsed_time: 125.601506654 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 mdc.lustre-MDT0001-mdc-ffff8965080a1800.batch_stats= snapshot_time: 1788469068.828472487 secs.nsecs start_time: 1788468943.226919992 secs.nsecs elapsed_time: 125.601552495 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8965080a1800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8965080a1800.batch_stats=0 llite.lustre-ffff8965080a1800.statahead_max=2048 llite.lustre-ffff8965080a1800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8965080a1800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8965080a1800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.11 seconds: 47.40 ops/second llite.lustre-ffff8965080a1800.statahead_max=0 101 real 0m2.011s user 0m0.004s sys 0m0.319s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8965080a1800.statahead_max=2048 llite.lustre-ffff8965080a1800.statahead_max=2048 101 real 0m1.083s user 0m0.005s sys 0m0.166s '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: 10082 miss_total: 18 swrong=0 ewrong=0 total: 900 open/close in 9.36 seconds: 96.11 ops/second llite.lustre-ffff8965080a1800.statahead_max=0 1001 real 0m18.633s user 0m0.030s sys 0m2.845s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff8965080a1800.statahead_max=2048 llite.lustre-ffff8965080a1800.statahead_max=2048 1001 real 0m5.890s user 0m0.030s sys 0m1.308s 'ls -l' 1000 files with statahead: 5 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11081 miss_total: 19 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff8965080a1800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11081 miss_total: 19 mdc.lustre-MDT0000-mdc-ffff8965080a1800.batch_stats= snapshot_time: 1788469435.953855883 secs.nsecs start_time: 1788469072.444791156 secs.nsecs elapsed_time: 363.509064727 secs.nsecs subreqs per batch batches %% cum %% 1: 2 28 28 2: 0 0 28 4: 3 42 71 8: 0 0 71 16: 0 0 71 32: 0 0 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff8965080a1800.batch_stats= snapshot_time: 1788469435.953932086 secs.nsecs start_time: 1788469072.444936149 secs.nsecs elapsed_time: 363.508995937 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 12 12 8: 3 37 50 16: 0 0 50 32: 0 0 50 64: 1 12 62 128: 1 12 75 256: 2 25 100 - open/close 990 (time 1788469449.32 total 10.00 last 99.00) - open/close 1986 (time 1788469459.33 total 20.01 last 99.49) - open/close 2887 (time 1788469469.34 total 30.02 last 89.99) - open/close 3500 (time 1788469479.35 total 40.03 last 61.28) - open/close 4145 (time 1788469489.35 total 50.03 last 64.48) - open/close 4953 (time 1788469499.39 total 60.07 last 80.48) - open/close 5714 (time 1788469509.40 total 70.08 last 76.02) - open/close 6392 (time 1788469519.40 total 80.08 last 67.78) - open/close 6954 (time 1788469529.47 total 90.16 last 55.80) - open/close 7644 (time 1788469539.48 total 100.16 last 68.94) - open/close 8419 (time 1788469549.50 total 110.19 last 77.33) - open/close 9250 (time 1788469559.53 total 120.21 last 82.87) total: 10000 open/close in 129.72 seconds: 77.09 ops/second llite.lustre-ffff8965080a1800.statahead_batch_max=0 llite.lustre-ffff8965080a1800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8965080a1800.stats=clear mdc.lustre-MDT0001-mdc-ffff8965080a1800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m19.240s user 0m0.342s sys 0m14.949s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8965080a1800.statahead_batch_max=256 llite.lustre-ffff8965080a1800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8965080a1800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8965080a1800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8965080a1800.stats=clear mdc.lustre-MDT0001-mdc-ffff8965080a1800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m56.800s user 0m0.322s sys 0m14.534s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8965080a1800.batch_stats= snapshot_time: 1788469728.105626553 secs.nsecs start_time: 1788469657.201767027 secs.nsecs elapsed_time: 70.903859526 secs.nsecs subreqs per batch batches %% cum %% 1: 114 46 46 2: 28 11 58 4: 25 10 68 8: 12 4 73 16: 9 3 77 32: 14 5 82 64: 7 2 85 128: 0 0 85 256: 35 14 100 mdc.lustre-MDT0001-mdc-ffff8965080a1800.batch_stats= snapshot_time: 1788469728.105706158 secs.nsecs start_time: 1788469657.201848188 secs.nsecs elapsed_time: 70.903857970 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 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-ffff8965080a1800.statahead_batch_max=64 llite.lustre-ffff8965080a1800.statahead_max=128