== sanity test 123ad: Verify batching statahead works correctly ========================================================== 17:51:52 (1788817912) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9079b5d20800.batch_stats=0 llite.lustre-ffff9079b5d20800.statahead_max=32 llite.lustre-ffff9079b5d20800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9079b5d20800.batch_stats=0 total: 100 open/close in 3.99 seconds: 25.04 ops/second llite.lustre-ffff9079b5d20800.statahead_max=0 101 real 0m2.931s user 0m0.006s sys 0m0.325s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9079b5d20800.statahead_max=32 llite.lustre-ffff9079b5d20800.statahead_max=32 101 real 0m1.004s user 0m0.004s sys 0m0.175s 'ls -l' 100 files with statahead: 1 sec statahead total: 130 statahead wrong: 2 agl total: 124 list_total: 29 fname_total: 79 hit_total: 3565 miss_total: 1533 swrong=2 ewrong=2 - open/close 571 (time 1788817943.16 total 10.01 last 57.05) total: 900 open/close in 15.76 seconds: 57.12 ops/second llite.lustre-ffff9079b5d20800.statahead_max=0 1001 real 0m26.475s user 0m0.034s sys 0m3.019s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff9079b5d20800.statahead_max=32 llite.lustre-ffff9079b5d20800.statahead_max=32 1001 real 0m10.953s user 0m0.025s sys 0m1.437s 'ls -l' 1000 files with statahead: 11 sec statahead total: 131 statahead wrong: 2 agl total: 125 list_total: 30 fname_total: 79 hit_total: 4564 miss_total: 1534 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 26 seconds llite.lustre-ffff9079b5d20800.statahead_stats= statahead total: 131 statahead wrong: 2 agl total: 125 list_total: 30 fname_total: 79 hit_total: 4564 miss_total: 1534 mdc.lustre-MDT0000-mdc-ffff9079b5d20800.batch_stats= snapshot_time: 1788818026.748459146 secs.nsecs start_time: 1788817918.516289843 secs.nsecs elapsed_time: 108.232169303 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 1 2 5 8: 2 5 10 16: 2 5 15 32: 34 85 100 - open/close 640 (time 1788818039.51 total 10.03 last 63.82) - open/close 1221 (time 1788818049.53 total 20.04 last 58.01) - open/close 1856 (time 1788818059.54 total 30.06 last 63.43) - open/close 2508 (time 1788818069.54 total 40.06 last 65.19) - open/close 3193 (time 1788818079.56 total 50.08 last 68.38) - open/close 3825 (time 1788818089.57 total 60.09 last 63.13) - open/close 4411 (time 1788818099.58 total 70.09 last 58.57) - open/close 5047 (time 1788818109.60 total 80.11 last 63.46) - open/close 5669 (time 1788818119.60 total 90.12 last 62.19) - open/close 6243 (time 1788818129.61 total 100.12 last 57.37) - open/close 6884 (time 1788818139.62 total 110.14 last 64.01) - open/close 7491 (time 1788818149.64 total 120.16 last 60.58) - open/close 8093 (time 1788818159.64 total 130.16 last 60.20) - open/close 8702 (time 1788818169.67 total 140.19 last 60.69) - open/close 9315 (time 1788818179.70 total 150.21 last 61.17) - open/close 9922 (time 1788818189.70 total 160.22 last 60.66) total: 10000 open/close in 161.36 seconds: 61.97 ops/second llite.lustre-ffff9079b5d20800.statahead_batch_max=0 llite.lustre-ffff9079b5d20800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9079b5d20800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.365s user 0m0.349s sys 0m15.877s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9079b5d20800.statahead_batch_max=32 llite.lustre-ffff9079b5d20800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9079b5d20800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9079b5d20800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m48.455s user 0m0.347s sys 0m14.689s batched statahead RPC= hit count=9983 mdc.lustre-MDT0000-mdc-ffff9079b5d20800.batch_stats= snapshot_time: 1788818384.441360582 secs.nsecs start_time: 1788818264.851807035 secs.nsecs elapsed_time: 119.589553547 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 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9079b5d20800.batch_stats=0 llite.lustre-ffff9079b5d20800.statahead_max=2048 llite.lustre-ffff9079b5d20800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9079b5d20800.batch_stats=0 total: 100 open/close in 3.30 seconds: 30.33 ops/second llite.lustre-ffff9079b5d20800.statahead_max=0 101 real 0m2.222s user 0m0.004s sys 0m0.303s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9079b5d20800.statahead_max=2048 llite.lustre-ffff9079b5d20800.statahead_max=2048 101 real 0m0.650s user 0m0.004s sys 0m0.169s '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: 10082 miss_total: 18 swrong=0 ewrong=0 - open/close 724 (time 1788818698.83 total 10.01 last 72.36) total: 900 open/close in 12.29 seconds: 73.21 ops/second llite.lustre-ffff9079b5d20800.statahead_max=0 1001 real 0m22.362s user 0m0.029s sys 0m2.929s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff9079b5d20800.statahead_max=2048 llite.lustre-ffff9079b5d20800.statahead_max=2048 1001 real 0m5.313s user 0m0.021s sys 0m1.362s 'ls -l' 1000 files with statahead: 5 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11081 miss_total: 19 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff9079b5d20800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11081 miss_total: 19 mdc.lustre-MDT0000-mdc-ffff9079b5d20800.batch_stats= snapshot_time: 1788818760.603902752 secs.nsecs start_time: 1788818387.226039448 secs.nsecs elapsed_time: 373.377863304 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 18 18 16: 1 9 27 32: 2 18 45 64: 0 0 45 128: 3 27 72 256: 3 27 100 - open/close 625 (time 1788818773.05 total 10.01 last 62.43) - open/close 1210 (time 1788818783.06 total 20.02 last 58.43) - open/close 1758 (time 1788818793.08 total 30.04 last 54.69) - open/close 2327 (time 1788818803.08 total 40.04 last 56.89) - open/close 2993 (time 1788818813.09 total 50.05 last 66.57) - open/close 3708 (time 1788818823.10 total 60.06 last 71.44) - open/close 4468 (time 1788818833.11 total 70.07 last 75.94) - open/close 5133 (time 1788818843.11 total 80.07 last 66.44) - open/close 5862 (time 1788818853.12 total 90.08 last 72.87) - open/close 6524 (time 1788818863.13 total 100.09 last 66.11) - open/close 7257 (time 1788818873.13 total 110.09 last 73.29) - open/close 7998 (time 1788818883.14 total 120.10 last 74.03) - open/close 8657 (time 1788818893.16 total 130.12 last 65.81) - open/close 9301 (time 1788818903.16 total 140.12 last 64.35) - open/close 9958 (time 1788818913.17 total 150.13 last 65.64) total: 10000 open/close in 150.63 seconds: 66.39 ops/second llite.lustre-ffff9079b5d20800.statahead_batch_max=0 llite.lustre-ffff9079b5d20800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9079b5d20800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.023s user 0m0.339s sys 0m14.595s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9079b5d20800.statahead_batch_max=256 llite.lustre-ffff9079b5d20800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9079b5d20800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9079b5d20800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m48.967s user 0m0.285s sys 0m15.150s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9079b5d20800.batch_stats= snapshot_time: 1788819044.758893106 secs.nsecs start_time: 1788818984.590611162 secs.nsecs elapsed_time: 60.168281944 secs.nsecs subreqs per batch batches %% cum %% 1: 148 45 45 2: 52 16 62 4: 33 10 72 8: 18 5 77 16: 14 4 82 32: 16 4 87 64: 7 2 89 128: 0 0 89 256: 34 10 100 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-ffff9079b5d20800.statahead_batch_max=64 llite.lustre-ffff9079b5d20800.statahead_max=128