== sanity test 123ad: Verify batching statahead works correctly ========================================================== 01:21:03 (1790745663) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff91f81035b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff91f81035b800.batch_stats=0 llite.lustre-ffff91f81035b800.statahead_max=32 llite.lustre-ffff91f81035b800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff91f81035b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff91f81035b800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.47 seconds: 40.49 ops/second llite.lustre-ffff91f81035b800.statahead_max=0 101 real 0m2.183s user 0m0.005s sys 0m0.328s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff91f81035b800.statahead_max=32 llite.lustre-ffff91f81035b800.statahead_max=32 101 real 0m1.148s user 0m0.004s sys 0m0.176s 'ls -l' 100 files with statahead: 1 sec statahead total: 124 statahead wrong: 2 agl total: 119 list_total: 31 fname_total: 93 hit_total: 4190 miss_total: 1290 swrong=2 ewrong=2 - open/close 889 (time 1790745691.35 total 10.01 last 88.83) total: 900 open/close in 10.14 seconds: 88.77 ops/second llite.lustre-ffff91f81035b800.statahead_max=0 1001 real 0m19.841s user 0m0.028s sys 0m2.970s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff91f81035b800.statahead_max=32 llite.lustre-ffff91f81035b800.statahead_max=32 1001 real 0m8.340s user 0m0.023s sys 0m1.483s 'ls -l' 1000 files with statahead: 9 sec statahead total: 125 statahead wrong: 2 agl total: 120 list_total: 32 fname_total: 93 hit_total: 5189 miss_total: 1291 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff91f81035b800.statahead_stats= statahead total: 125 statahead wrong: 2 agl total: 120 list_total: 32 fname_total: 93 hit_total: 5189 miss_total: 1291 mdc.lustre-MDT0000-mdc-ffff91f81035b800.batch_stats= snapshot_time: 1790745748.913018017 secs.nsecs start_time: 1790745668.665475163 secs.nsecs elapsed_time: 80.247542854 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 1 2 5 8: 6 15 20 16: 18 45 65 32: 14 35 100 mdc.lustre-MDT0001-mdc-ffff91f81035b800.batch_stats= snapshot_time: 1790745748.913094069 secs.nsecs start_time: 1790745668.665696899 secs.nsecs elapsed_time: 80.247397170 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 3 7 10 8: 1 2 13 16: 19 50 63 32: 14 36 100 - open/close 705 (time 1790745761.48 total 10.02 last 70.38) - open/close 1376 (time 1790745771.48 total 20.02 last 67.07) - open/close 2295 (time 1790745781.49 total 30.03 last 91.87) - open/close 3155 (time 1790745791.49 total 40.03 last 85.96) - open/close 4175 (time 1790745801.50 total 50.04 last 101.94) - open/close 5107 (time 1790745811.50 total 60.04 last 93.16) - open/close 6065 (time 1790745821.50 total 70.04 last 95.76) - open/close 7027 (time 1790745831.51 total 80.05 last 96.16) - open/close 7968 (time 1790745841.51 total 90.05 last 94.09) - open/close 8858 (time 1790745851.52 total 100.06 last 88.94) - open/close 9520 (time 1790745861.53 total 110.07 last 66.13) total: 10000 open/close in 118.02 seconds: 84.73 ops/second llite.lustre-ffff91f81035b800.statahead_batch_max=0 llite.lustre-ffff91f81035b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff91f81035b800.stats=clear mdc.lustre-MDT0001-mdc-ffff91f81035b800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m56.367s user 0m0.293s sys 0m16.712s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff91f81035b800.statahead_batch_max=32 llite.lustre-ffff91f81035b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff91f81035b800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff91f81035b800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff91f81035b800.stats=clear mdc.lustre-MDT0001-mdc-ffff91f81035b800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m31.266s user 0m0.267s sys 0m14.766s batched statahead RPC= hit count=9986 mdc.lustre-MDT0000-mdc-ffff91f81035b800.batch_stats= snapshot_time: 1790746033.526904320 secs.nsecs start_time: 1790745932.089174840 secs.nsecs elapsed_time: 101.437729480 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-ffff91f81035b800.batch_stats= snapshot_time: 1790746033.527033512 secs.nsecs start_time: 1790745932.089695590 secs.nsecs elapsed_time: 101.437337922 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff91f81035b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff91f81035b800.batch_stats=0 llite.lustre-ffff91f81035b800.statahead_max=2048 llite.lustre-ffff91f81035b800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff91f81035b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff91f81035b800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 1.99 seconds: 50.18 ops/second llite.lustre-ffff91f81035b800.statahead_max=0 101 real 0m2.239s user 0m0.005s sys 0m0.322s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff91f81035b800.statahead_max=2048 llite.lustre-ffff91f81035b800.statahead_max=2048 101 real 0m0.906s user 0m0.007s sys 0m0.164s '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: 10085 miss_total: 15 swrong=0 ewrong=0 total: 900 open/close in 9.37 seconds: 96.07 ops/second llite.lustre-ffff91f81035b800.statahead_max=0 1001 real 0m20.412s user 0m0.034s sys 0m2.938s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff91f81035b800.statahead_max=2048 llite.lustre-ffff91f81035b800.statahead_max=2048 1001 real 0m6.088s user 0m0.027s sys 0m1.503s '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: 11084 miss_total: 16 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff91f81035b800.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-ffff91f81035b800.batch_stats= snapshot_time: 1790746365.958080938 secs.nsecs start_time: 1790746036.011106772 secs.nsecs elapsed_time: 329.946974166 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 5 62 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-ffff91f81035b800.batch_stats= snapshot_time: 1790746365.958148734 secs.nsecs start_time: 1790746036.011284981 secs.nsecs elapsed_time: 329.946863753 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 4 50 50 8: 0 0 50 16: 1 12 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 - open/close 973 (time 1790746378.36 total 10.00 last 97.30) - open/close 1843 (time 1790746388.36 total 20.00 last 86.96) - open/close 2671 (time 1790746398.36 total 30.01 last 82.79) - open/close 3485 (time 1790746408.36 total 40.01 last 81.39) - open/close 4310 (time 1790746418.37 total 50.01 last 82.49) - open/close 5008 (time 1790746428.37 total 60.01 last 69.80) - open/close 5794 (time 1790746438.37 total 70.01 last 78.58) - open/close 6741 (time 1790746448.38 total 80.02 last 94.60) - open/close 7618 (time 1790746458.38 total 90.02 last 87.70) - open/close 8382 (time 1790746468.38 total 100.02 last 76.38) - open/close 9192 (time 1790746478.38 total 110.02 last 81.00) - open/close 9942 (time 1790746488.39 total 120.03 last 74.94) total: 10000 open/close in 120.79 seconds: 82.79 ops/second llite.lustre-ffff91f81035b800.statahead_batch_max=0 llite.lustre-ffff91f81035b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff91f81035b800.stats=clear mdc.lustre-MDT0001-mdc-ffff91f81035b800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.746s user 0m0.283s sys 0m16.242s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff91f81035b800.statahead_batch_max=256 llite.lustre-ffff91f81035b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff91f81035b800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff91f81035b800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff91f81035b800.stats=clear mdc.lustre-MDT0001-mdc-ffff91f81035b800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m50.705s user 0m0.286s sys 0m16.247s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff91f81035b800.batch_stats= snapshot_time: 1790746621.050631874 secs.nsecs start_time: 1790746561.100043066 secs.nsecs elapsed_time: 59.950588808 secs.nsecs subreqs per batch batches %% cum %% 1: 83 37 37 2: 33 15 52 4: 24 10 63 8: 11 5 68 16: 5 2 71 32: 20 9 80 64: 6 2 83 128: 3 1 84 256: 34 15 100 mdc.lustre-MDT0001-mdc-ffff91f81035b800.batch_stats= snapshot_time: 1790746621.050695604 secs.nsecs start_time: 1790746561.100183147 secs.nsecs elapsed_time: 59.950512457 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-ffff91f81035b800.statahead_batch_max=64 llite.lustre-ffff91f81035b800.statahead_max=128