== sanity test 123ad: Verify batching statahead works correctly ========================================================== 10:49:24 (1789138164) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff93de3be74000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93de3be74000.batch_stats=0 llite.lustre-ffff93de3be74000.statahead_max=32 llite.lustre-ffff93de3be74000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff93de3be74000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93de3be74000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.80 seconds: 35.69 ops/second llite.lustre-ffff93de3be74000.statahead_max=0 101 real 0m2.839s user 0m0.005s sys 0m0.382s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff93de3be74000.statahead_max=32 llite.lustre-ffff93de3be74000.statahead_max=32 101 real 0m0.892s user 0m0.005s sys 0m0.170s 'ls -l' 100 files with statahead: 1 sec statahead total: 143 statahead wrong: 2 agl total: 136 list_total: 31 fname_total: 102 hit_total: 3644 miss_total: 1397 swrong=2 ewrong=2 - open/close 761 (time 1789138193.73 total 10.00 last 76.08) total: 900 open/close in 12.69 seconds: 70.93 ops/second llite.lustre-ffff93de3be74000.statahead_max=0 1001 real 0m23.628s user 0m0.039s sys 0m3.143s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff93de3be74000.statahead_max=32 llite.lustre-ffff93de3be74000.statahead_max=32 1001 real 0m8.647s user 0m0.023s sys 0m1.316s 'ls -l' 1000 files with statahead: 9 sec statahead total: 144 statahead wrong: 2 agl total: 137 list_total: 32 fname_total: 102 hit_total: 4639 miss_total: 1402 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff93de3be74000.statahead_stats= statahead total: 144 statahead wrong: 2 agl total: 137 list_total: 32 fname_total: 102 hit_total: 4639 miss_total: 1402 mdc.lustre-MDT0000-mdc-ffff93de3be74000.batch_stats= snapshot_time: 1789138265.852826655 secs.nsecs start_time: 1789138169.439690816 secs.nsecs elapsed_time: 96.413135839 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 4 10 10 8: 1 2 12 16: 22 56 69 32: 12 30 100 mdc.lustre-MDT0001-mdc-ffff93de3be74000.batch_stats= snapshot_time: 1789138265.852900855 secs.nsecs start_time: 1789138169.440488049 secs.nsecs elapsed_time: 96.412412806 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 0 0 7 4: 2 4 12 8: 3 7 19 16: 22 53 73 32: 11 26 100 - open/close 592 (time 1789138278.79 total 10.00 last 59.19) - open/close 1301 (time 1789138288.80 total 20.01 last 70.85) - open/close 1970 (time 1789138298.83 total 30.04 last 66.71) - open/close 2777 (time 1789138308.85 total 40.06 last 80.50) - open/close 3547 (time 1789138318.88 total 50.09 last 76.79) - open/close 4282 (time 1789138328.89 total 60.10 last 73.45) - open/close 4877 (time 1789138338.90 total 70.11 last 59.44) - open/close 5350 (time 1789138348.91 total 80.12 last 47.22) - open/close 5962 (time 1789138358.92 total 90.13 last 61.14) - open/close 6739 (time 1789138368.93 total 100.14 last 77.62) - open/close 7320 (time 1789138378.95 total 110.16 last 57.99) - open/close 8033 (time 1789138388.96 total 120.17 last 71.28) - open/close 8719 (time 1789138398.99 total 130.20 last 68.38) - open/close 9276 (time 1789138409.01 total 140.22 last 55.57) - open/close 9796 (time 1789138419.05 total 150.26 last 51.83) total: 10000 open/close in 155.01 seconds: 64.51 ops/second llite.lustre-ffff93de3be74000.statahead_batch_max=0 llite.lustre-ffff93de3be74000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93de3be74000.stats=clear mdc.lustre-MDT0001-mdc-ffff93de3be74000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.972s user 0m0.363s sys 0m15.788s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff93de3be74000.statahead_batch_max=32 llite.lustre-ffff93de3be74000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93de3be74000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff93de3be74000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff93de3be74000.stats=clear mdc.lustre-MDT0001-mdc-ffff93de3be74000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m53.217s user 0m0.343s sys 0m14.712s batched statahead RPC= hit count=9980 mdc.lustre-MDT0000-mdc-ffff93de3be74000.batch_stats= snapshot_time: 1789138626.534821053 secs.nsecs start_time: 1789138502.308691768 secs.nsecs elapsed_time: 124.226129285 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-ffff93de3be74000.batch_stats= snapshot_time: 1789138626.534885576 secs.nsecs start_time: 1789138502.308833247 secs.nsecs elapsed_time: 124.226052329 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff93de3be74000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93de3be74000.batch_stats=0 llite.lustre-ffff93de3be74000.statahead_max=2048 llite.lustre-ffff93de3be74000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff93de3be74000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff93de3be74000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.46 seconds: 28.87 ops/second llite.lustre-ffff93de3be74000.statahead_max=0 101 real 0m3.257s user 0m0.007s sys 0m0.390s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff93de3be74000.statahead_max=2048 llite.lustre-ffff93de3be74000.statahead_max=2048 101 real 0m1.219s user 0m0.004s sys 0m0.183s '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: 10079 miss_total: 21 swrong=0 ewrong=0 - open/close 544 (time 1789138933.49 total 10.01 last 54.34) total: 900 open/close in 15.81 seconds: 56.92 ops/second llite.lustre-ffff93de3be74000.statahead_max=0 1001 real 0m35.110s user 0m0.042s sys 0m3.195s 'ls -l' 1000 files without statahead: 36 sec llite.lustre-ffff93de3be74000.statahead_max=2048 llite.lustre-ffff93de3be74000.statahead_max=2048 1001 real 0m6.908s user 0m0.028s sys 0m1.471s 'ls -l' 1000 files with statahead: 6 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: 23 seconds llite.lustre-ffff93de3be74000.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-ffff93de3be74000.batch_stats= snapshot_time: 1789139021.542734621 secs.nsecs start_time: 1789138629.148378556 secs.nsecs elapsed_time: 392.394356065 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 4 36 36 8: 0 0 36 16: 4 36 72 32: 1 9 81 64: 0 0 81 128: 0 0 81 256: 2 18 100 mdc.lustre-MDT0001-mdc-ffff93de3be74000.batch_stats= snapshot_time: 1789139021.542817114 secs.nsecs start_time: 1789138629.148529500 secs.nsecs elapsed_time: 392.394287614 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 18 18 8: 4 36 54 16: 2 18 72 32: 1 9 81 64: 0 0 81 128: 0 0 81 256: 2 18 100 - open/close 813 (time 1789139034.40 total 10.01 last 81.23) - open/close 1555 (time 1789139044.41 total 20.02 last 74.14) - open/close 2177 (time 1789139054.41 total 30.02 last 62.18) - open/close 2883 (time 1789139064.42 total 40.02 last 70.59) - open/close 3594 (time 1789139074.43 total 50.04 last 70.98) - open/close 4235 (time 1789139084.45 total 60.05 last 64.00) - open/close 4851 (time 1789139094.45 total 70.06 last 61.57) - open/close 5481 (time 1789139104.46 total 80.07 last 62.95) - open/close 6183 (time 1789139114.47 total 90.07 last 70.14) - open/close 6809 (time 1789139124.48 total 100.08 last 62.56) - open/close 7407 (time 1789139134.49 total 110.09 last 59.72) - open/close 8003 (time 1789139144.50 total 120.11 last 59.53) - open/close 8574 (time 1789139154.51 total 130.11 last 57.06) - open/close 9096 (time 1789139164.51 total 140.12 last 52.18) - open/close 9713 (time 1789139174.51 total 150.12 last 61.68) total: 10000 open/close in 153.77 seconds: 65.03 ops/second llite.lustre-ffff93de3be74000.statahead_batch_max=0 llite.lustre-ffff93de3be74000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93de3be74000.stats=clear mdc.lustre-MDT0001-mdc-ffff93de3be74000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.133s user 0m0.352s sys 0m15.649s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff93de3be74000.statahead_batch_max=256 llite.lustre-ffff93de3be74000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff93de3be74000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff93de3be74000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff93de3be74000.stats=clear mdc.lustre-MDT0001-mdc-ffff93de3be74000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m14.009s user 0m0.387s sys 0m16.697s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff93de3be74000.batch_stats= snapshot_time: 1789139339.862395289 secs.nsecs start_time: 1789139253.027867943 secs.nsecs elapsed_time: 86.834527346 secs.nsecs subreqs per batch batches %% cum %% 1: 86 39 39 2: 32 14 53 4: 25 11 65 8: 12 5 70 16: 9 4 74 32: 16 7 82 64: 3 1 83 128: 0 0 83 256: 36 16 100 mdc.lustre-MDT0001-mdc-ffff93de3be74000.batch_stats= snapshot_time: 1789139339.862463589 secs.nsecs start_time: 1789139253.027961847 secs.nsecs elapsed_time: 86.834501742 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-ffff93de3be74000.statahead_batch_max=64 llite.lustre-ffff93de3be74000.statahead_max=128