== sanity test 123ad: Verify batching statahead works correctly ========================================================== 11:40:57 (1789400457) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9fb0eb787800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9fb0eb787800.batch_stats=0 llite.lustre-ffff9fb0eb787800.statahead_max=32 llite.lustre-ffff9fb0eb787800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9fb0eb787800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9fb0eb787800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.78 seconds: 35.99 ops/second llite.lustre-ffff9fb0eb787800.statahead_max=0 101 real 0m2.545s user 0m0.004s sys 0m0.343s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9fb0eb787800.statahead_max=32 llite.lustre-ffff9fb0eb787800.statahead_max=32 101 real 0m0.952s user 0m0.006s sys 0m0.176s 'ls -l' 100 files with statahead: 1 sec statahead total: 114 statahead wrong: 2 agl total: 108 list_total: 31 fname_total: 70 hit_total: 3861 miss_total: 1418 swrong=2 ewrong=2 - open/close 686 (time 1789400485.54 total 10.02 last 68.47) total: 900 open/close in 13.38 seconds: 67.26 ops/second llite.lustre-ffff9fb0eb787800.statahead_max=0 1001 real 0m23.602s user 0m0.037s sys 0m3.139s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff9fb0eb787800.statahead_max=32 llite.lustre-ffff9fb0eb787800.statahead_max=32 1001 real 0m8.920s user 0m0.027s sys 0m1.468s 'ls -l' 1000 files with statahead: 9 sec statahead total: 115 statahead wrong: 2 agl total: 109 list_total: 32 fname_total: 70 hit_total: 4858 miss_total: 1421 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff9fb0eb787800.statahead_stats= statahead total: 115 statahead wrong: 2 agl total: 109 list_total: 32 fname_total: 70 hit_total: 4858 miss_total: 1421 mdc.lustre-MDT0000-mdc-ffff9fb0eb787800.batch_stats= snapshot_time: 1789400554.284767351 secs.nsecs start_time: 1789400462.955932329 secs.nsecs elapsed_time: 91.328835022 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 7 7 8: 3 7 15 16: 19 48 64 32: 14 35 100 mdc.lustre-MDT0001-mdc-ffff9fb0eb787800.batch_stats= snapshot_time: 1789400554.284841044 secs.nsecs start_time: 1789400462.956064829 secs.nsecs elapsed_time: 91.328776215 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 3 7 10 8: 1 2 12 16: 20 51 64 32: 14 35 100 - open/close 655 (time 1789400567.10 total 10.01 last 65.45) - open/close 1371 (time 1789400577.10 total 20.01 last 71.58) - open/close 2103 (time 1789400587.11 total 30.02 last 73.11) - open/close 2734 (time 1789400597.12 total 40.03 last 63.02) - open/close 3294 (time 1789400607.13 total 50.04 last 55.97) - open/close 3854 (time 1789400617.13 total 60.04 last 55.99) - open/close 4383 (time 1789400627.14 total 70.05 last 52.87) - open/close 4815 (time 1789400637.15 total 80.06 last 43.15) - open/close 5298 (time 1789400647.16 total 90.07 last 48.23) - open/close 5917 (time 1789400657.17 total 100.08 last 61.87) - open/close 6433 (time 1789400667.17 total 110.08 last 51.57) - open/close 6915 (time 1789400677.20 total 120.11 last 48.07) - open/close 7417 (time 1789400687.21 total 130.12 last 50.12) - open/close 8032 (time 1789400697.22 total 140.13 last 61.47) - open/close 8730 (time 1789400707.22 total 150.13 last 69.80) - open/close 9483 (time 1789400717.22 total 160.13 last 75.26) total: 10000 open/close in 166.93 seconds: 59.90 ops/second llite.lustre-ffff9fb0eb787800.statahead_batch_max=0 llite.lustre-ffff9fb0eb787800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fb0eb787800.stats=clear mdc.lustre-MDT0001-mdc-ffff9fb0eb787800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.441s user 0m0.318s sys 0m15.871s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9fb0eb787800.statahead_batch_max=32 llite.lustre-ffff9fb0eb787800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fb0eb787800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9fb0eb787800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9fb0eb787800.stats=clear mdc.lustre-MDT0001-mdc-ffff9fb0eb787800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m41.980s user 0m0.310s sys 0m14.425s batched statahead RPC= hit count=9979 mdc.lustre-MDT0000-mdc-ffff9fb0eb787800.batch_stats= snapshot_time: 1789400911.194220551 secs.nsecs start_time: 1789400798.731949283 secs.nsecs elapsed_time: 112.462271268 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-ffff9fb0eb787800.batch_stats= snapshot_time: 1789400911.194495252 secs.nsecs start_time: 1789400798.732335102 secs.nsecs elapsed_time: 112.462160150 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9fb0eb787800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9fb0eb787800.batch_stats=0 llite.lustre-ffff9fb0eb787800.statahead_max=2048 llite.lustre-ffff9fb0eb787800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9fb0eb787800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9fb0eb787800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 3.07 seconds: 32.56 ops/second llite.lustre-ffff9fb0eb787800.statahead_max=0 101 real 0m3.190s user 0m0.008s sys 0m0.341s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9fb0eb787800.statahead_max=2048 llite.lustre-ffff9fb0eb787800.statahead_max=2048 101 real 0m1.543s user 0m0.003s sys 0m0.178s '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: 10078 miss_total: 22 swrong=0 ewrong=0 - open/close 789 (time 1789401225.18 total 10.01 last 78.83) total: 900 open/close in 11.37 seconds: 79.18 ops/second llite.lustre-ffff9fb0eb787800.statahead_max=0 1001 real 0m30.175s user 0m0.044s sys 0m3.309s 'ls -l' 1000 files without statahead: 30 sec llite.lustre-ffff9fb0eb787800.statahead_max=2048 llite.lustre-ffff9fb0eb787800.statahead_max=2048 1001 real 0m7.701s user 0m0.038s sys 0m1.384s 'ls -l' 1000 files with statahead: 8 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11077 miss_total: 23 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff9fb0eb787800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11077 miss_total: 23 mdc.lustre-MDT0000-mdc-ffff9fb0eb787800.batch_stats= snapshot_time: 1789401298.641991331 secs.nsecs start_time: 1789400913.431213060 secs.nsecs elapsed_time: 385.210778271 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 25 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-ffff9fb0eb787800.batch_stats= snapshot_time: 1789401298.642072651 secs.nsecs start_time: 1789400913.431391046 secs.nsecs elapsed_time: 385.210681605 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 12 12 4: 2 25 37 8: 1 12 50 16: 1 12 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 - open/close 654 (time 1789401311.42 total 10.01 last 65.35) - open/close 1344 (time 1789401321.43 total 20.01 last 68.97) - open/close 2099 (time 1789401331.43 total 30.01 last 75.49) - open/close 2816 (time 1789401341.43 total 40.02 last 71.68) - open/close 3546 (time 1789401351.44 total 50.02 last 72.95) - open/close 4212 (time 1789401361.44 total 60.02 last 66.59) - open/close 4851 (time 1789401371.44 total 70.02 last 63.89) - open/close 5441 (time 1789401381.45 total 80.04 last 58.94) - open/close 5917 (time 1789401391.45 total 90.04 last 47.59) - open/close 6434 (time 1789401401.46 total 100.04 last 51.68) - open/close 7114 (time 1789401411.46 total 110.05 last 67.95) - open/close 7745 (time 1789401421.47 total 120.06 last 63.06) - open/close 8432 (time 1789401431.48 total 130.06 last 68.66) - open/close 9158 (time 1789401441.48 total 140.07 last 72.57) - open/close 9884 (time 1789401451.49 total 150.07 last 72.55) total: 10000 open/close in 151.73 seconds: 65.91 ops/second llite.lustre-ffff9fb0eb787800.statahead_batch_max=0 llite.lustre-ffff9fb0eb787800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fb0eb787800.stats=clear mdc.lustre-MDT0001-mdc-ffff9fb0eb787800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m9.957s user 0m0.327s sys 0m15.629s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9fb0eb787800.statahead_batch_max=256 llite.lustre-ffff9fb0eb787800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fb0eb787800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9fb0eb787800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9fb0eb787800.stats=clear mdc.lustre-MDT0001-mdc-ffff9fb0eb787800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m5.423s user 0m0.362s sys 0m14.768s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9fb0eb787800.batch_stats= snapshot_time: 1789401609.496938430 secs.nsecs start_time: 1789401532.540399794 secs.nsecs elapsed_time: 76.956538636 secs.nsecs subreqs per batch batches %% cum %% 1: 71 36 36 2: 23 11 48 4: 24 12 60 8: 12 6 66 16: 5 2 69 32: 19 9 78 64: 5 2 81 128: 1 0 82 256: 35 17 100 mdc.lustre-MDT0001-mdc-ffff9fb0eb787800.batch_stats= snapshot_time: 1789401609.497019550 secs.nsecs start_time: 1789401532.540709622 secs.nsecs elapsed_time: 76.956309928 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-ffff9fb0eb787800.statahead_batch_max=64 llite.lustre-ffff9fb0eb787800.statahead_max=128