== sanity test 123ad: Verify batching statahead works correctly ========================================================== 10:31:04 (1788618664) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff99ba17af6800.batch_stats=0 llite.lustre-ffff99ba17af6800.statahead_max=32 llite.lustre-ffff99ba17af6800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff99ba17af6800.batch_stats=0 total: 100 open/close in 2.77 seconds: 36.04 ops/second llite.lustre-ffff99ba17af6800.statahead_max=0 101 real 0m2.325s user 0m0.004s sys 0m0.343s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff99ba17af6800.statahead_max=32 llite.lustre-ffff99ba17af6800.statahead_max=32 101 real 0m1.105s user 0m0.006s sys 0m0.148s 'ls -l' 100 files with statahead: 1 sec statahead total: 118 statahead wrong: 2 agl total: 112 list_total: 30 fname_total: 87 hit_total: 4133 miss_total: 1562 swrong=2 ewrong=2 - open/close 653 (time 1788618690.50 total 10.01 last 65.26) total: 900 open/close in 14.33 seconds: 62.80 ops/second llite.lustre-ffff99ba17af6800.statahead_max=0 1001 real 0m22.519s user 0m0.040s sys 0m2.880s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff99ba17af6800.statahead_max=32 llite.lustre-ffff99ba17af6800.statahead_max=32 1001 real 0m10.859s user 0m0.025s sys 0m1.422s 'ls -l' 1000 files with statahead: 11 sec statahead total: 119 statahead wrong: 2 agl total: 113 list_total: 31 fname_total: 87 hit_total: 5129 miss_total: 1566 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff99ba17af6800.statahead_stats= statahead total: 119 statahead wrong: 2 agl total: 113 list_total: 31 fname_total: 87 hit_total: 5129 miss_total: 1566 mdc.lustre-MDT0000-mdc-ffff99ba17af6800.batch_stats= snapshot_time: 1788618765.031861121 secs.nsecs start_time: 1788618668.356978182 secs.nsecs elapsed_time: 96.674882939 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 3 7 10 16: 2 5 15 32: 34 85 100 - open/close 636 (time 1788618777.42 total 10.03 last 63.40) - open/close 1214 (time 1788618787.45 total 20.07 last 57.60) - open/close 1783 (time 1788618797.46 total 30.07 last 56.89) - open/close 2400 (time 1788618807.46 total 40.07 last 61.67) - open/close 2945 (time 1788618817.49 total 50.10 last 54.34) - open/close 3467 (time 1788618827.50 total 60.11 last 52.16) - open/close 3983 (time 1788618837.51 total 70.12 last 51.55) - open/close 4571 (time 1788618847.51 total 80.12 last 58.80) - open/close 5226 (time 1788618857.52 total 90.13 last 65.42) - open/close 5876 (time 1788618867.52 total 100.14 last 64.95) - open/close 6525 (time 1788618877.54 total 110.15 last 64.83) - open/close 7144 (time 1788618887.54 total 120.15 last 61.89) - open/close 7720 (time 1788618897.55 total 130.16 last 57.53) - open/close 8239 (time 1788618907.56 total 140.17 last 51.87) - open/close 8690 (time 1788618917.58 total 150.19 last 44.99) - open/close 9180 (time 1788618927.59 total 160.20 last 48.95) - open/close 9773 (time 1788618937.61 total 170.22 last 59.20) total: 10000 open/close in 174.57 seconds: 57.28 ops/second llite.lustre-ffff99ba17af6800.statahead_batch_max=0 llite.lustre-ffff99ba17af6800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99ba17af6800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.655s user 0m0.303s sys 0m13.967s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff99ba17af6800.statahead_batch_max=32 llite.lustre-ffff99ba17af6800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99ba17af6800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff99ba17af6800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m51.624s user 0m0.325s sys 0m13.834s batched statahead RPC= hit count=9982 mdc.lustre-MDT0000-mdc-ffff99ba17af6800.batch_stats= snapshot_time: 1788619138.137762421 secs.nsecs start_time: 1788619015.407125761 secs.nsecs elapsed_time: 122.730636660 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-ffff99ba17af6800.batch_stats=0 llite.lustre-ffff99ba17af6800.statahead_max=2048 llite.lustre-ffff99ba17af6800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff99ba17af6800.batch_stats=0 total: 100 open/close in 2.98 seconds: 33.51 ops/second llite.lustre-ffff99ba17af6800.statahead_max=0 101 real 0m2.794s user 0m0.003s sys 0m0.370s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff99ba17af6800.statahead_max=2048 llite.lustre-ffff99ba17af6800.statahead_max=2048 101 real 0m1.033s user 0m0.006s sys 0m0.185s '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 614 (time 1788619514.31 total 10.01 last 61.34) total: 900 open/close in 14.80 seconds: 60.80 ops/second llite.lustre-ffff99ba17af6800.statahead_max=0 1001 real 0m26.700s user 0m0.038s sys 0m3.239s 'ls -l' 1000 files without statahead: 27 sec llite.lustre-ffff99ba17af6800.statahead_max=2048 llite.lustre-ffff99ba17af6800.statahead_max=2048 1001 real 0m7.999s user 0m0.046s sys 0m1.716s '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: 11080 miss_total: 20 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 26 seconds llite.lustre-ffff99ba17af6800.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-ffff99ba17af6800.batch_stats= snapshot_time: 1788619595.825822713 secs.nsecs start_time: 1788619141.017870444 secs.nsecs elapsed_time: 454.807952269 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 16 16 16: 2 16 33 32: 2 16 50 64: 0 0 50 128: 3 25 75 256: 3 25 100 - open/close 522 (time 1788619608.94 total 10.01 last 52.15) - open/close 1148 (time 1788619618.95 total 20.02 last 62.51) - open/close 1778 (time 1788619628.96 total 30.02 last 62.99) - open/close 2399 (time 1788619638.96 total 40.03 last 62.06) - open/close 3021 (time 1788619648.98 total 50.05 last 62.09) - open/close 3627 (time 1788619658.98 total 60.05 last 60.59) - open/close 4284 (time 1788619668.99 total 70.06 last 65.64) - open/close 4871 (time 1788619679.01 total 80.07 last 58.60) - open/close 5463 (time 1788619689.02 total 90.08 last 59.14) - open/close 6014 (time 1788619699.03 total 100.10 last 55.04) - open/close 6479 (time 1788619709.05 total 110.12 last 46.41) - open/close 6931 (time 1788619719.06 total 120.13 last 45.13) - open/close 7500 (time 1788619729.07 total 130.14 last 56.82) - open/close 8075 (time 1788619739.09 total 140.16 last 57.44) - open/close 8679 (time 1788619749.09 total 150.16 last 60.36) - open/close 9274 (time 1788619759.09 total 160.16 last 59.48) - open/close 9910 (time 1788619769.10 total 170.17 last 63.56) total: 10000 open/close in 171.84 seconds: 58.19 ops/second llite.lustre-ffff99ba17af6800.statahead_batch_max=0 llite.lustre-ffff99ba17af6800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99ba17af6800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.673s user 0m0.286s sys 0m14.671s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff99ba17af6800.statahead_batch_max=256 llite.lustre-ffff99ba17af6800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99ba17af6800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff99ba17af6800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m49.479s user 0m0.265s sys 0m14.199s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff99ba17af6800.batch_stats= snapshot_time: 1788619902.210045386 secs.nsecs start_time: 1788619842.429502811 secs.nsecs elapsed_time: 59.780542575 secs.nsecs subreqs per batch batches %% cum %% 1: 147 51 51 2: 26 9 60 4: 32 11 71 8: 13 4 76 16: 11 3 80 32: 15 5 85 64: 4 1 87 128: 3 1 88 256: 34 11 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-ffff99ba17af6800.statahead_batch_max=64 llite.lustre-ffff99ba17af6800.statahead_max=128