== sanity test 123ad: Verify batching statahead works correctly ========================================================== 11:11:51 (1788534711) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff96f588229000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff96f588229000.batch_stats=0 llite.lustre-ffff96f588229000.statahead_max=32 llite.lustre-ffff96f588229000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff96f588229000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff96f588229000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.96 seconds: 33.82 ops/second llite.lustre-ffff96f588229000.statahead_max=0 101 real 0m2.595s user 0m0.005s sys 0m0.356s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff96f588229000.statahead_max=32 llite.lustre-ffff96f588229000.statahead_max=32 101 real 0m0.978s user 0m0.004s sys 0m0.159s 'ls -l' 100 files with statahead: 1 sec statahead total: 129 statahead wrong: 2 agl total: 123 list_total: 30 fname_total: 93 hit_total: 3607 miss_total: 1431 swrong=2 ewrong=2 - open/close 789 (time 1788534740.15 total 10.00 last 78.87) total: 900 open/close in 11.60 seconds: 77.59 ops/second llite.lustre-ffff96f588229000.statahead_max=0 1001 real 0m22.424s user 0m0.034s sys 0m3.219s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff96f588229000.statahead_max=32 llite.lustre-ffff96f588229000.statahead_max=32 1001 real 0m10.268s user 0m0.031s sys 0m1.536s 'ls -l' 1000 files with statahead: 11 sec statahead total: 130 statahead wrong: 2 agl total: 124 list_total: 31 fname_total: 93 hit_total: 4604 miss_total: 1434 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff96f588229000.statahead_stats= statahead total: 130 statahead wrong: 2 agl total: 124 list_total: 31 fname_total: 93 hit_total: 4604 miss_total: 1434 mdc.lustre-MDT0000-mdc-ffff96f588229000.batch_stats= snapshot_time: 1788534808.463131024 secs.nsecs start_time: 1788534716.470954667 secs.nsecs elapsed_time: 91.992176357 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 2 5 13 4: 2 5 18 8: 1 2 21 16: 22 57 78 32: 8 21 100 mdc.lustre-MDT0001-mdc-ffff96f588229000.batch_stats= snapshot_time: 1788534808.463274846 secs.nsecs start_time: 1788534716.471036138 secs.nsecs elapsed_time: 91.992238708 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 1 2 9 4: 0 0 9 8: 3 7 16 16: 12 28 45 32: 23 54 100 - open/close 811 (time 1788534821.45 total 10.01 last 81.02) - open/close 1596 (time 1788534831.46 total 20.01 last 78.49) - open/close 2331 (time 1788534841.46 total 30.02 last 73.46) - open/close 3132 (time 1788534851.47 total 40.03 last 80.04) - open/close 3921 (time 1788534861.48 total 50.03 last 78.84) - open/close 4668 (time 1788534871.48 total 60.04 last 74.65) - open/close 5430 (time 1788534881.49 total 70.05 last 76.17) - open/close 6165 (time 1788534891.50 total 80.06 last 73.38) - open/close 6941 (time 1788534901.51 total 90.06 last 77.59) - open/close 7752 (time 1788534911.51 total 100.07 last 81.04) - open/close 8508 (time 1788534921.52 total 110.07 last 75.57) - open/close 9251 (time 1788534931.52 total 120.08 last 74.26) - open/close 9956 (time 1788534941.53 total 130.09 last 70.45) total: 10000 open/close in 130.60 seconds: 76.57 ops/second llite.lustre-ffff96f588229000.statahead_batch_max=0 llite.lustre-ffff96f588229000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96f588229000.stats=clear mdc.lustre-MDT0001-mdc-ffff96f588229000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m9.684s user 0m0.380s sys 0m15.864s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff96f588229000.statahead_batch_max=32 llite.lustre-ffff96f588229000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96f588229000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff96f588229000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff96f588229000.stats=clear mdc.lustre-MDT0001-mdc-ffff96f588229000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m51.429s user 0m0.380s sys 0m14.874s batched statahead RPC= hit count=9986 mdc.lustre-MDT0000-mdc-ffff96f588229000.batch_stats= snapshot_time: 1788535146.332019364 secs.nsecs start_time: 1788535024.302016980 secs.nsecs elapsed_time: 122.030002384 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-ffff96f588229000.batch_stats= snapshot_time: 1788535146.332086788 secs.nsecs start_time: 1788535024.302112946 secs.nsecs elapsed_time: 122.029973842 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff96f588229000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff96f588229000.batch_stats=0 llite.lustre-ffff96f588229000.statahead_max=2048 llite.lustre-ffff96f588229000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff96f588229000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff96f588229000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.60 seconds: 38.42 ops/second llite.lustre-ffff96f588229000.statahead_max=0 101 real 0m2.501s user 0m0.006s sys 0m0.377s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff96f588229000.statahead_max=2048 llite.lustre-ffff96f588229000.statahead_max=2048 101 real 0m1.169s user 0m0.005s sys 0m0.215s 'ls -l' 100 files with statahead: 2 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10085 miss_total: 15 swrong=0 ewrong=0 - open/close 717 (time 1788535477.54 total 10.01 last 71.64) total: 900 open/close in 12.61 seconds: 71.39 ops/second llite.lustre-ffff96f588229000.statahead_max=0 1001 real 0m24.534s user 0m0.036s sys 0m3.354s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff96f588229000.statahead_max=2048 llite.lustre-ffff96f588229000.statahead_max=2048 1001 real 0m7.283s user 0m0.033s sys 0m1.475s '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: 11084 miss_total: 16 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff96f588229000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11084 miss_total: 16 mdc.lustre-MDT0000-mdc-ffff96f588229000.batch_stats= snapshot_time: 1788535549.580684913 secs.nsecs start_time: 1788535149.226190045 secs.nsecs elapsed_time: 400.354494868 secs.nsecs subreqs per batch batches %% cum %% 1: 2 28 28 2: 1 14 42 4: 1 14 57 8: 0 0 57 16: 1 14 71 32: 0 0 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff96f588229000.batch_stats= snapshot_time: 1788535549.580778217 secs.nsecs start_time: 1788535149.226347900 secs.nsecs elapsed_time: 400.354430317 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 22 22 16: 3 33 55 32: 1 11 66 64: 1 11 77 128: 0 0 77 256: 2 22 100 - open/close 648 (time 1788535563.48 total 10.00 last 64.80) - open/close 1354 (time 1788535573.50 total 20.02 last 70.46) - open/close 2035 (time 1788535583.52 total 30.04 last 67.98) - open/close 2682 (time 1788535593.52 total 40.04 last 64.65) - open/close 3540 (time 1788535603.53 total 50.05 last 85.74) - open/close 4157 (time 1788535613.54 total 60.06 last 61.64) - open/close 4799 (time 1788535623.55 total 70.07 last 64.17) - open/close 5491 (time 1788535633.55 total 80.07 last 69.14) - open/close 6196 (time 1788535643.56 total 90.08 last 70.42) - open/close 6791 (time 1788535653.57 total 100.09 last 59.47) - open/close 7374 (time 1788535663.58 total 110.10 last 58.23) - open/close 7967 (time 1788535673.59 total 120.11 last 59.24) - open/close 8563 (time 1788535683.60 total 130.12 last 59.54) - open/close 9185 (time 1788535693.61 total 140.13 last 62.14) - open/close 9749 (time 1788535703.61 total 150.13 last 56.39) total: 10000 open/close in 154.06 seconds: 64.91 ops/second llite.lustre-ffff96f588229000.statahead_batch_max=0 llite.lustre-ffff96f588229000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96f588229000.stats=clear mdc.lustre-MDT0001-mdc-ffff96f588229000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m15.664s user 0m0.405s sys 0m16.465s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff96f588229000.statahead_batch_max=256 llite.lustre-ffff96f588229000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96f588229000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff96f588229000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff96f588229000.stats=clear mdc.lustre-MDT0001-mdc-ffff96f588229000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m1.794s user 0m0.395s sys 0m16.606s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff96f588229000.batch_stats= snapshot_time: 1788535868.002708928 secs.nsecs start_time: 1788535793.004323108 secs.nsecs elapsed_time: 74.998385820 secs.nsecs subreqs per batch batches %% cum %% 1: 104 43 43 2: 33 13 57 4: 21 8 66 8: 15 6 72 16: 7 2 75 32: 15 6 81 64: 6 2 84 128: 2 0 85 256: 35 14 100 mdc.lustre-MDT0001-mdc-ffff96f588229000.batch_stats= snapshot_time: 1788535868.002781418 secs.nsecs start_time: 1788535793.004480205 secs.nsecs elapsed_time: 74.998301213 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-ffff96f588229000.statahead_batch_max=64 llite.lustre-ffff96f588229000.statahead_max=128