== sanity test 123ad: Verify batching statahead works correctly ========================================================== 12:19:16 (1788625156) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff979c75c7c800.batch_stats=0 llite.lustre-ffff979c75c7c800.statahead_max=32 llite.lustre-ffff979c75c7c800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff979c75c7c800.batch_stats=0 total: 100 open/close in 2.55 seconds: 39.26 ops/second llite.lustre-ffff979c75c7c800.statahead_max=0 101 real 0m2.051s user 0m0.007s sys 0m0.321s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff979c75c7c800.statahead_max=32 llite.lustre-ffff979c75c7c800.statahead_max=32 101 real 0m1.181s user 0m0.010s sys 0m0.161s 'ls -l' 100 files with statahead: 2 sec statahead total: 168 statahead wrong: 2 agl total: 162 list_total: 30 fname_total: 136 hit_total: 3822 miss_total: 1639 swrong=2 ewrong=2 - open/close 599 (time 1788625185.12 total 10.02 last 59.79) total: 900 open/close in 14.41 seconds: 62.47 ops/second llite.lustre-ffff979c75c7c800.statahead_max=0 1001 real 0m22.180s user 0m0.037s sys 0m2.914s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff979c75c7c800.statahead_max=32 llite.lustre-ffff979c75c7c800.statahead_max=32 1001 real 0m9.288s user 0m0.034s sys 0m1.361s 'ls -l' 1000 files with statahead: 10 sec statahead total: 169 statahead wrong: 2 agl total: 163 list_total: 31 fname_total: 136 hit_total: 4820 miss_total: 1641 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff979c75c7c800.statahead_stats= statahead total: 169 statahead wrong: 2 agl total: 163 list_total: 31 fname_total: 136 hit_total: 4820 miss_total: 1641 mdc.lustre-MDT0000-mdc-ffff979c75c7c800.batch_stats= snapshot_time: 1788625258.682941194 secs.nsecs start_time: 1788625161.618079394 secs.nsecs elapsed_time: 97.064861800 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 7 7 16: 2 5 12 32: 34 87 100 - open/close 658 (time 1788625271.59 total 10.03 last 65.61) - open/close 1353 (time 1788625281.59 total 20.04 last 69.46) - open/close 1991 (time 1788625291.61 total 30.05 last 63.73) - open/close 2741 (time 1788625301.62 total 40.06 last 74.91) - open/close 3482 (time 1788625311.62 total 50.06 last 74.10) - open/close 4263 (time 1788625321.62 total 60.06 last 78.10) - open/close 5010 (time 1788625331.63 total 70.07 last 74.64) - open/close 5775 (time 1788625341.63 total 80.07 last 76.48) - open/close 6496 (time 1788625351.63 total 90.07 last 72.07) - open/close 7294 (time 1788625361.64 total 100.08 last 79.77) - open/close 8171 (time 1788625371.65 total 110.09 last 87.57) - open/close 8872 (time 1788625381.66 total 120.10 last 70.06) - open/close 9596 (time 1788625391.66 total 130.10 last 72.36) total: 10000 open/close in 136.62 seconds: 73.19 ops/second llite.lustre-ffff979c75c7c800.statahead_batch_max=0 llite.lustre-ffff979c75c7c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff979c75c7c800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m8.059s user 0m0.316s sys 0m14.199s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff979c75c7c800.statahead_batch_max=32 llite.lustre-ffff979c75c7c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff979c75c7c800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff979c75c7c800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m40.397s user 0m0.305s sys 0m13.062s batched statahead RPC= hit count=9972 mdc.lustre-MDT0000-mdc-ffff979c75c7c800.batch_stats= snapshot_time: 1788625587.038064512 secs.nsecs start_time: 1788625475.516119594 secs.nsecs elapsed_time: 111.521944918 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 0 0 16: 1 0 0 32: 313 99 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff979c75c7c800.batch_stats=0 llite.lustre-ffff979c75c7c800.statahead_max=2048 llite.lustre-ffff979c75c7c800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff979c75c7c800.batch_stats=0 total: 100 open/close in 2.47 seconds: 40.53 ops/second llite.lustre-ffff979c75c7c800.statahead_max=0 101 real 0m2.096s user 0m0.004s sys 0m0.306s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff979c75c7c800.statahead_max=2048 llite.lustre-ffff979c75c7c800.statahead_max=2048 101 real 0m0.759s user 0m0.005s sys 0m0.176s '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: 10071 miss_total: 29 swrong=0 ewrong=0 - open/close 723 (time 1788625874.67 total 10.00 last 72.29) total: 900 open/close in 12.31 seconds: 73.14 ops/second llite.lustre-ffff979c75c7c800.statahead_max=0 1001 real 0m20.137s user 0m0.033s sys 0m2.791s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff979c75c7c800.statahead_max=2048 llite.lustre-ffff979c75c7c800.statahead_max=2048 1001 real 0m8.063s user 0m0.029s sys 0m1.364s 'ls -l' 1000 files with statahead: 9 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11070 miss_total: 30 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 25 seconds llite.lustre-ffff979c75c7c800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11070 miss_total: 30 mdc.lustre-MDT0000-mdc-ffff979c75c7c800.batch_stats= snapshot_time: 1788625943.587938023 secs.nsecs start_time: 1788625590.014028024 secs.nsecs elapsed_time: 353.573909999 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 783 (time 1788625956.31 total 10.00 last 78.28) - open/close 1523 (time 1788625966.31 total 20.01 last 73.97) - open/close 2291 (time 1788625976.32 total 30.02 last 76.73) - open/close 3143 (time 1788625986.33 total 40.02 last 85.13) - open/close 3997 (time 1788625996.33 total 50.03 last 85.36) - open/close 4803 (time 1788626006.34 total 60.04 last 80.53) - open/close 5686 (time 1788626016.34 total 70.04 last 88.30) - open/close 6562 (time 1788626026.35 total 80.05 last 87.49) - open/close 7384 (time 1788626036.40 total 90.10 last 81.83) - open/close 8173 (time 1788626046.41 total 100.11 last 78.77) - open/close 8994 (time 1788626056.42 total 110.12 last 82.05) - open/close 9834 (time 1788626066.43 total 120.13 last 83.92) total: 10000 open/close in 121.95 seconds: 82.00 ops/second llite.lustre-ffff979c75c7c800.statahead_batch_max=0 llite.lustre-ffff979c75c7c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff979c75c7c800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.908s user 0m0.327s sys 0m13.443s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff979c75c7c800.statahead_batch_max=256 llite.lustre-ffff979c75c7c800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff979c75c7c800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff979c75c7c800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m44.995s user 0m0.289s sys 0m13.391s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff979c75c7c800.batch_stats= snapshot_time: 1788626192.375585157 secs.nsecs start_time: 1788626136.737926454 secs.nsecs elapsed_time: 55.637658703 secs.nsecs subreqs per batch batches %% cum %% 1: 78 40 40 2: 26 13 53 4: 11 5 58 8: 13 6 65 16: 12 6 71 32: 14 7 78 64: 5 2 81 128: 1 0 82 256: 35 17 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-ffff979c75c7c800.statahead_batch_max=64 llite.lustre-ffff979c75c7c800.statahead_max=128