== sanity test 123ad: Verify batching statahead works correctly ========================================================== 08:19:43 (1789129183) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8c5a467d5000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c5a467d5000.batch_stats=0 llite.lustre-ffff8c5a467d5000.statahead_max=32 llite.lustre-ffff8c5a467d5000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8c5a467d5000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c5a467d5000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.60 seconds: 38.41 ops/second llite.lustre-ffff8c5a467d5000.statahead_max=0 101 real 0m2.842s user 0m0.004s sys 0m0.326s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8c5a467d5000.statahead_max=32 llite.lustre-ffff8c5a467d5000.statahead_max=32 101 real 0m1.167s user 0m0.002s sys 0m0.191s 'ls -l' 100 files with statahead: 1 sec statahead total: 134 statahead wrong: 2 agl total: 128 list_total: 31 fname_total: 100 hit_total: 4023 miss_total: 1439 swrong=2 ewrong=2 total: 900 open/close in 9.73 seconds: 92.47 ops/second llite.lustre-ffff8c5a467d5000.statahead_max=0 1001 real 0m23.102s user 0m0.029s sys 0m2.914s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff8c5a467d5000.statahead_max=32 llite.lustre-ffff8c5a467d5000.statahead_max=32 1001 real 0m11.709s user 0m0.032s sys 0m1.404s 'ls -l' 1000 files with statahead: 12 sec statahead total: 135 statahead wrong: 2 agl total: 129 list_total: 32 fname_total: 100 hit_total: 5021 miss_total: 1441 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff8c5a467d5000.statahead_stats= statahead total: 135 statahead wrong: 2 agl total: 129 list_total: 32 fname_total: 100 hit_total: 5021 miss_total: 1441 mdc.lustre-MDT0000-mdc-ffff8c5a467d5000.batch_stats= snapshot_time: 1789129278.067991998 secs.nsecs start_time: 1789129187.862011506 secs.nsecs elapsed_time: 90.205980492 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 2 5 7 4: 1 2 10 8: 3 7 17 16: 21 52 70 32: 12 30 100 mdc.lustre-MDT0001-mdc-ffff8c5a467d5000.batch_stats= snapshot_time: 1789129278.068063339 secs.nsecs start_time: 1789129187.862106531 secs.nsecs elapsed_time: 90.205956808 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 2 5 7 8: 3 7 15 16: 18 46 61 32: 15 38 100 - open/close 834 (time 1789129291.53 total 10.01 last 83.31) - open/close 1712 (time 1789129301.53 total 20.02 last 87.73) - open/close 2557 (time 1789129311.54 total 30.02 last 84.46) - open/close 3373 (time 1789129321.54 total 40.03 last 81.58) - open/close 4190 (time 1789129331.54 total 50.03 last 81.69) - open/close 4794 (time 1789129341.55 total 60.03 last 60.37) - open/close 5464 (time 1789129351.55 total 70.04 last 66.96) - open/close 6406 (time 1789129361.56 total 80.05 last 94.13) - open/close 7209 (time 1789129371.57 total 90.05 last 80.25) - open/close 8115 (time 1789129381.58 total 100.06 last 90.49) - open/close 9040 (time 1789129391.58 total 110.07 last 92.46) - open/close 9951 (time 1789129401.59 total 120.08 last 91.02) total: 10000 open/close in 120.64 seconds: 82.89 ops/second llite.lustre-ffff8c5a467d5000.statahead_batch_max=0 llite.lustre-ffff8c5a467d5000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c5a467d5000.stats=clear mdc.lustre-MDT0001-mdc-ffff8c5a467d5000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.360s user 0m0.298s sys 0m14.270s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8c5a467d5000.statahead_batch_max=32 llite.lustre-ffff8c5a467d5000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c5a467d5000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8c5a467d5000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8c5a467d5000.stats=clear mdc.lustre-MDT0001-mdc-ffff8c5a467d5000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m34.858s user 0m0.286s sys 0m13.178s batched statahead RPC= hit count=9980 mdc.lustre-MDT0000-mdc-ffff8c5a467d5000.batch_stats= snapshot_time: 1789129574.298129040 secs.nsecs start_time: 1789129468.759345929 secs.nsecs elapsed_time: 105.538783111 secs.nsecs subreqs per batch batches %% cum %% 1: 1 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-ffff8c5a467d5000.batch_stats= snapshot_time: 1789129574.298202997 secs.nsecs start_time: 1789129468.759417744 secs.nsecs elapsed_time: 105.538785253 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8c5a467d5000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c5a467d5000.batch_stats=0 llite.lustre-ffff8c5a467d5000.statahead_max=2048 llite.lustre-ffff8c5a467d5000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8c5a467d5000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c5a467d5000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.29 seconds: 43.68 ops/second llite.lustre-ffff8c5a467d5000.statahead_max=0 101 real 0m1.823s user 0m0.003s sys 0m0.308s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8c5a467d5000.statahead_max=2048 llite.lustre-ffff8c5a467d5000.statahead_max=2048 101 real 0m0.811s user 0m0.003s sys 0m0.139s '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: 10079 miss_total: 21 swrong=0 ewrong=0 total: 900 open/close in 9.76 seconds: 92.24 ops/second llite.lustre-ffff8c5a467d5000.statahead_max=0 1001 real 0m20.566s user 0m0.023s sys 0m2.828s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff8c5a467d5000.statahead_max=2048 llite.lustre-ffff8c5a467d5000.statahead_max=2048 1001 real 0m6.889s user 0m0.027s sys 0m1.377s '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: 11078 miss_total: 22 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff8c5a467d5000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11078 miss_total: 22 mdc.lustre-MDT0000-mdc-ffff8c5a467d5000.batch_stats= snapshot_time: 1789129925.295524893 secs.nsecs start_time: 1789129576.614381575 secs.nsecs elapsed_time: 348.681143318 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 12 12 4: 1 12 25 8: 3 37 62 16: 0 0 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff8c5a467d5000.batch_stats= snapshot_time: 1789129925.295647293 secs.nsecs start_time: 1789129576.617219096 secs.nsecs elapsed_time: 348.678428197 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 12 12 4: 1 12 25 8: 2 25 50 16: 1 12 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 - open/close 765 (time 1789129938.08 total 10.01 last 76.46) - open/close 1540 (time 1789129948.08 total 20.01 last 77.48) - open/close 2298 (time 1789129958.09 total 30.02 last 75.71) - open/close 3365 (time 1789129968.09 total 40.02 last 106.66) - open/close 4442 (time 1789129978.10 total 50.03 last 107.65) - open/close 5341 (time 1789129988.10 total 60.03 last 89.90) - open/close 6072 (time 1789129998.10 total 70.03 last 73.10) - open/close 7025 (time 1789130008.10 total 80.03 last 95.25) - open/close 7908 (time 1789130018.11 total 90.04 last 88.23) - open/close 8608 (time 1789130028.12 total 100.05 last 69.93) - open/close 9326 (time 1789130038.14 total 110.07 last 71.64) - open/close 9944 (time 1789130048.16 total 120.09 last 61.70) total: 10000 open/close in 121.35 seconds: 82.41 ops/second llite.lustre-ffff8c5a467d5000.statahead_batch_max=0 llite.lustre-ffff8c5a467d5000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c5a467d5000.stats=clear mdc.lustre-MDT0001-mdc-ffff8c5a467d5000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m10.689s user 0m0.295s sys 0m14.468s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8c5a467d5000.statahead_batch_max=256 llite.lustre-ffff8c5a467d5000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c5a467d5000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8c5a467d5000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8c5a467d5000.stats=clear mdc.lustre-MDT0001-mdc-ffff8c5a467d5000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m57.944s user 0m0.317s sys 0m14.558s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8c5a467d5000.batch_stats= snapshot_time: 1789130197.900990928 secs.nsecs start_time: 1789130128.284269890 secs.nsecs elapsed_time: 69.616721038 secs.nsecs subreqs per batch batches %% cum %% 1: 35 24 24 2: 18 12 37 4: 15 10 47 8: 11 7 55 16: 4 2 58 32: 18 12 70 64: 4 2 73 128: 3 2 75 256: 35 24 100 mdc.lustre-MDT0001-mdc-ffff8c5a467d5000.batch_stats= snapshot_time: 1789130197.901087914 secs.nsecs start_time: 1789130128.284356648 secs.nsecs elapsed_time: 69.616731266 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-ffff8c5a467d5000.statahead_batch_max=64 llite.lustre-ffff8c5a467d5000.statahead_max=128