== sanity test 123ad: Verify batching statahead works correctly ========================================================== 05:50:43 (1788515443) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9e3af6227800.batch_stats=0 llite.lustre-ffff9e3af6227800.statahead_max=32 llite.lustre-ffff9e3af6227800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9e3af6227800.batch_stats=0 total: 100 open/close in 3.98 seconds: 25.14 ops/second llite.lustre-ffff9e3af6227800.statahead_max=0 101 real 0m3.718s user 0m0.011s sys 0m0.461s 'ls -l' 100 files without statahead: 4 sec llite.lustre-ffff9e3af6227800.statahead_max=32 llite.lustre-ffff9e3af6227800.statahead_max=32 101 real 0m1.348s user 0m0.004s sys 0m0.213s 'ls -l' 100 files with statahead: 1 sec statahead total: 124 statahead wrong: 2 agl total: 118 list_total: 29 fname_total: 93 hit_total: 3740 miss_total: 1549 swrong=2 ewrong=2 - open/close 552 (time 1788515476.72 total 10.02 last 55.10) total: 900 open/close in 16.00 seconds: 56.23 ops/second llite.lustre-ffff9e3af6227800.statahead_max=0 1001 real 0m26.911s user 0m0.044s sys 0m3.994s 'ls -l' 1000 files without statahead: 27 sec llite.lustre-ffff9e3af6227800.statahead_max=32 llite.lustre-ffff9e3af6227800.statahead_max=32 1001 real 0m12.285s user 0m0.038s sys 0m1.820s 'ls -l' 1000 files with statahead: 12 sec statahead total: 125 statahead wrong: 2 agl total: 119 list_total: 30 fname_total: 93 hit_total: 4738 miss_total: 1551 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 29 seconds llite.lustre-ffff9e3af6227800.statahead_stats= statahead total: 125 statahead wrong: 2 agl total: 119 list_total: 30 fname_total: 93 hit_total: 4738 miss_total: 1551 mdc.lustre-MDT0000-mdc-ffff9e3af6227800.batch_stats= snapshot_time: 1788515568.143216504 secs.nsecs start_time: 1788515449.445582731 secs.nsecs elapsed_time: 118.697633773 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 2 5 7 16: 2 5 12 32: 34 87 100 - open/close 513 (time 1788515581.76 total 10.01 last 51.27) - open/close 1025 (time 1788515591.77 total 20.02 last 51.15) - open/close 1620 (time 1788515601.77 total 30.02 last 59.49) - open/close 2169 (time 1788515611.78 total 40.02 last 54.86) - open/close 2762 (time 1788515621.78 total 50.02 last 59.30) - open/close 3327 (time 1788515631.79 total 60.03 last 56.45) - open/close 3890 (time 1788515641.79 total 70.03 last 56.29) - open/close 4434 (time 1788515651.81 total 80.05 last 54.30) - open/close 4980 (time 1788515661.81 total 90.06 last 54.56) - open/close 5527 (time 1788515671.82 total 100.06 last 54.68) - open/close 6062 (time 1788515681.85 total 110.10 last 53.32) - open/close 6584 (time 1788515691.89 total 120.14 last 52.01) - open/close 7186 (time 1788515701.90 total 130.15 last 60.12) - open/close 7781 (time 1788515711.91 total 140.15 last 59.48) - open/close 8375 (time 1788515721.92 total 150.17 last 59.30) - open/close 9032 (time 1788515731.94 total 160.19 last 65.56) - open/close 9715 (time 1788515741.95 total 170.20 last 68.27) total: 10000 open/close in 174.01 seconds: 57.47 ops/second llite.lustre-ffff9e3af6227800.statahead_batch_max=0 llite.lustre-ffff9e3af6227800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e3af6227800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m9.957s user 0m0.361s sys 0m18.368s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9e3af6227800.statahead_batch_max=32 llite.lustre-ffff9e3af6227800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e3af6227800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9e3af6227800.stats=clear ls -l files in d123ad.sanity: 10001 real 2m0.337s user 0m0.381s sys 0m17.253s batched statahead RPC= hit count=9983 mdc.lustre-MDT0000-mdc-ffff9e3af6227800.batch_stats= snapshot_time: 1788515962.679894425 secs.nsecs start_time: 1788515826.611837086 secs.nsecs elapsed_time: 136.068057339 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-ffff9e3af6227800.batch_stats=0 llite.lustre-ffff9e3af6227800.statahead_max=2048 llite.lustre-ffff9e3af6227800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9e3af6227800.batch_stats=0 total: 100 open/close in 3.02 seconds: 33.11 ops/second llite.lustre-ffff9e3af6227800.statahead_max=0 101 real 0m2.078s user 0m0.007s sys 0m0.344s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9e3af6227800.statahead_max=2048 llite.lustre-ffff9e3af6227800.statahead_max=2048 101 real 0m0.943s user 0m0.007s sys 0m0.192s '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 591 (time 1788516330.38 total 10.01 last 59.05) total: 900 open/close in 15.15 seconds: 59.39 ops/second llite.lustre-ffff9e3af6227800.statahead_max=0 1001 real 0m25.695s user 0m0.035s sys 0m3.365s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff9e3af6227800.statahead_max=2048 llite.lustre-ffff9e3af6227800.statahead_max=2048 1001 real 0m7.989s user 0m0.036s sys 0m1.668s '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: 11081 miss_total: 19 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff9e3af6227800.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-ffff9e3af6227800.batch_stats= snapshot_time: 1788516406.385976033 secs.nsecs start_time: 1788515965.781634569 secs.nsecs elapsed_time: 440.604341464 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: 1 8 58 128: 1 8 66 256: 4 33 100 - open/close 733 (time 1788516419.21 total 10.00 last 73.28) - open/close 1423 (time 1788516429.21 total 20.00 last 68.99) - open/close 2125 (time 1788516439.21 total 30.00 last 70.20) - open/close 2869 (time 1788516449.22 total 40.01 last 74.36) - open/close 3573 (time 1788516459.22 total 50.02 last 70.35) - open/close 4302 (time 1788516469.23 total 60.03 last 72.84) - open/close 5010 (time 1788516479.27 total 70.06 last 70.55) - open/close 5785 (time 1788516489.28 total 80.07 last 77.41) - open/close 6464 (time 1788516499.28 total 90.08 last 67.87) - open/close 7186 (time 1788516509.29 total 100.08 last 72.17) - open/close 7766 (time 1788516519.31 total 110.11 last 57.85) - open/close 8481 (time 1788516529.31 total 120.11 last 71.50) - open/close 9164 (time 1788516539.32 total 130.11 last 68.26) - open/close 9788 (time 1788516549.32 total 140.11 last 62.39) total: 10000 open/close in 142.52 seconds: 70.17 ops/second llite.lustre-ffff9e3af6227800.statahead_batch_max=0 llite.lustre-ffff9e3af6227800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e3af6227800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.588s user 0m0.333s sys 0m16.823s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9e3af6227800.statahead_batch_max=256 llite.lustre-ffff9e3af6227800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e3af6227800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9e3af6227800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m56.436s user 0m0.296s sys 0m17.381s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9e3af6227800.batch_stats= snapshot_time: 1788516696.024992399 secs.nsecs start_time: 1788516625.486514565 secs.nsecs elapsed_time: 70.538477834 secs.nsecs subreqs per batch batches %% cum %% 1: 291 57 57 2: 58 11 69 4: 54 10 79 8: 32 6 86 16: 23 4 90 32: 10 1 92 64: 3 0 93 128: 0 0 93 256: 34 6 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-ffff9e3af6227800.statahead_batch_max=64 llite.lustre-ffff9e3af6227800.statahead_max=128