== sanity test 123ad: Verify batching statahead works correctly ========================================================== 02:27:40 (1789453660) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8cbac2e71800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8cbac2e71800.batch_stats=0 llite.lustre-ffff8cbac2e71800.statahead_max=32 llite.lustre-ffff8cbac2e71800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8cbac2e71800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8cbac2e71800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.76 seconds: 36.28 ops/second llite.lustre-ffff8cbac2e71800.statahead_max=0 101 real 0m2.472s user 0m0.004s sys 0m0.308s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8cbac2e71800.statahead_max=32 llite.lustre-ffff8cbac2e71800.statahead_max=32 101 real 0m1.107s user 0m0.005s sys 0m0.182s 'ls -l' 100 files with statahead: 1 sec statahead total: 128 statahead wrong: 2 agl total: 122 list_total: 31 fname_total: 71 hit_total: 3878 miss_total: 1412 swrong=2 ewrong=2 - open/close 744 (time 1789453687.68 total 10.00 last 74.38) total: 900 open/close in 12.41 seconds: 72.55 ops/second llite.lustre-ffff8cbac2e71800.statahead_max=0 1001 real 0m21.421s user 0m0.038s sys 0m3.150s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff8cbac2e71800.statahead_max=32 llite.lustre-ffff8cbac2e71800.statahead_max=32 1001 real 0m8.232s user 0m0.028s sys 0m1.381s 'ls -l' 1000 files with statahead: 9 sec statahead total: 129 statahead wrong: 2 agl total: 123 list_total: 32 fname_total: 71 hit_total: 4875 miss_total: 1415 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff8cbac2e71800.statahead_stats= statahead total: 129 statahead wrong: 2 agl total: 123 list_total: 32 fname_total: 71 hit_total: 4875 miss_total: 1415 mdc.lustre-MDT0000-mdc-ffff8cbac2e71800.batch_stats= snapshot_time: 1789453755.103488538 secs.nsecs start_time: 1789453664.563969114 secs.nsecs elapsed_time: 90.539519424 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 2 5 10 4: 2 5 16 8: 1 2 18 16: 25 67 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff8cbac2e71800.batch_stats= snapshot_time: 1789453755.103561647 secs.nsecs start_time: 1789453664.564057707 secs.nsecs elapsed_time: 90.539503940 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 2 5 7 8: 3 7 15 16: 10 25 40 32: 24 60 100 - open/close 663 (time 1789453767.34 total 10.00 last 66.29) - open/close 1403 (time 1789453777.35 total 20.01 last 73.90) - open/close 2125 (time 1789453787.36 total 30.02 last 72.14) - open/close 2850 (time 1789453797.38 total 40.04 last 72.37) - open/close 3584 (time 1789453807.39 total 50.05 last 73.31) - open/close 4327 (time 1789453817.39 total 60.06 last 74.26) - open/close 5067 (time 1789453827.39 total 70.06 last 74.00) - open/close 5826 (time 1789453837.41 total 80.07 last 75.79) - open/close 6507 (time 1789453847.41 total 90.07 last 68.08) - open/close 7247 (time 1789453857.41 total 100.08 last 73.99) - open/close 7972 (time 1789453867.44 total 110.10 last 72.30) - open/close 8716 (time 1789453877.45 total 120.11 last 74.33) - open/close 9783 (time 1789453887.46 total 130.12 last 106.63) total: 10000 open/close in 132.62 seconds: 75.40 ops/second llite.lustre-ffff8cbac2e71800.statahead_batch_max=0 llite.lustre-ffff8cbac2e71800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cbac2e71800.stats=clear mdc.lustre-MDT0001-mdc-ffff8cbac2e71800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m9.752s user 0m0.338s sys 0m16.422s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8cbac2e71800.statahead_batch_max=32 llite.lustre-ffff8cbac2e71800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cbac2e71800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8cbac2e71800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8cbac2e71800.stats=clear mdc.lustre-MDT0001-mdc-ffff8cbac2e71800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m23.319s user 0m0.320s sys 0m14.951s batched statahead RPC= hit count=9982 mdc.lustre-MDT0000-mdc-ffff8cbac2e71800.batch_stats= snapshot_time: 1789454057.627720236 secs.nsecs start_time: 1789453967.073315123 secs.nsecs elapsed_time: 90.554405113 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-ffff8cbac2e71800.batch_stats= snapshot_time: 1789454057.627783858 secs.nsecs start_time: 1789453967.073395671 secs.nsecs elapsed_time: 90.554388187 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8cbac2e71800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8cbac2e71800.batch_stats=0 llite.lustre-ffff8cbac2e71800.statahead_max=2048 llite.lustre-ffff8cbac2e71800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8cbac2e71800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8cbac2e71800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.12 seconds: 32.09 ops/second llite.lustre-ffff8cbac2e71800.statahead_max=0 101 real 0m2.578s user 0m0.005s sys 0m0.327s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8cbac2e71800.statahead_max=2048 llite.lustre-ffff8cbac2e71800.statahead_max=2048 101 real 0m1.009s user 0m0.005s sys 0m0.179s '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: 10081 miss_total: 19 swrong=0 ewrong=0 - open/close 724 (time 1789454363.08 total 10.01 last 72.33) total: 900 open/close in 12.37 seconds: 72.77 ops/second llite.lustre-ffff8cbac2e71800.statahead_max=0 1001 real 0m24.640s user 0m0.030s sys 0m3.123s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff8cbac2e71800.statahead_max=2048 llite.lustre-ffff8cbac2e71800.statahead_max=2048 1001 real 0m5.826s user 0m0.025s sys 0m1.430s '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: 11080 miss_total: 20 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff8cbac2e71800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11080 miss_total: 20 mdc.lustre-MDT0000-mdc-ffff8cbac2e71800.batch_stats= snapshot_time: 1789454425.485680783 secs.nsecs start_time: 1789454060.191834504 secs.nsecs elapsed_time: 365.293846279 secs.nsecs subreqs per batch batches %% cum %% 1: 1 20 20 2: 0 0 20 4: 1 20 40 8: 1 20 60 16: 0 0 60 32: 0 0 60 64: 0 0 60 128: 0 0 60 256: 2 40 100 mdc.lustre-MDT0001-mdc-ffff8cbac2e71800.batch_stats= snapshot_time: 1789454425.485767593 secs.nsecs start_time: 1789454060.194326974 secs.nsecs elapsed_time: 365.291440619 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 12 12 8: 2 25 37 16: 1 12 50 32: 0 0 50 64: 1 12 62 128: 1 12 75 256: 2 25 100 - open/close 778 (time 1789454437.69 total 10.00 last 77.78) - open/close 1533 (time 1789454447.69 total 20.01 last 75.47) - open/close 2297 (time 1789454457.69 total 30.01 last 76.38) - open/close 3039 (time 1789454467.70 total 40.01 last 74.19) - open/close 3787 (time 1789454477.70 total 50.02 last 74.74) - open/close 4505 (time 1789454487.72 total 60.03 last 71.69) - open/close 5214 (time 1789454497.73 total 70.04 last 70.84) - open/close 5840 (time 1789454507.73 total 80.05 last 62.58) - open/close 6537 (time 1789454517.74 total 90.05 last 69.64) - open/close 7216 (time 1789454527.74 total 100.06 last 67.88) - open/close 7973 (time 1789454537.74 total 110.06 last 75.69) - open/close 8739 (time 1789454547.76 total 120.07 last 76.51) - open/close 9448 (time 1789454557.76 total 130.07 last 70.87) total: 10000 open/close in 137.52 seconds: 72.71 ops/second llite.lustre-ffff8cbac2e71800.statahead_batch_max=0 llite.lustre-ffff8cbac2e71800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cbac2e71800.stats=clear mdc.lustre-MDT0001-mdc-ffff8cbac2e71800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.946s user 0m0.320s sys 0m15.803s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8cbac2e71800.statahead_batch_max=256 llite.lustre-ffff8cbac2e71800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cbac2e71800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8cbac2e71800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8cbac2e71800.stats=clear mdc.lustre-MDT0001-mdc-ffff8cbac2e71800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m56.649s user 0m0.314s sys 0m14.730s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8cbac2e71800.batch_stats= snapshot_time: 1789454700.999096622 secs.nsecs start_time: 1789454633.250525402 secs.nsecs elapsed_time: 67.748571220 secs.nsecs subreqs per batch batches %% cum %% 1: 98 35 35 2: 60 21 56 4: 21 7 63 8: 22 7 71 16: 21 7 79 32: 11 3 83 64: 12 4 87 128: 2 0 88 256: 33 11 100 mdc.lustre-MDT0001-mdc-ffff8cbac2e71800.batch_stats= snapshot_time: 1789454700.999212312 secs.nsecs start_time: 1789454633.250603308 secs.nsecs elapsed_time: 67.748609004 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-ffff8cbac2e71800.statahead_batch_max=64 llite.lustre-ffff8cbac2e71800.statahead_max=128