== sanity test 123ad: Verify batching statahead works correctly ========================================================== 18:46:32 (1787611592) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8cd65401c000.batch_stats=0 llite.lustre-ffff8cd65401c000.statahead_max=32 llite.lustre-ffff8cd65401c000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8cd65401c000.batch_stats=0 total: 100 open/close in 2.24 seconds: 44.72 ops/second llite.lustre-ffff8cd65401c000.statahead_max=0 101 real 0m1.950s user 0m0.003s sys 0m0.282s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8cd65401c000.statahead_max=32 llite.lustre-ffff8cd65401c000.statahead_max=32 101 real 0m0.967s user 0m0.006s sys 0m0.144s 'ls -l' 100 files with statahead: 1 sec statahead total: 119 statahead wrong: 2 agl total: 113 list_total: 30 fname_total: 75 hit_total: 4094 miss_total: 1568 swrong=2 ewrong=2 - open/close 783 (time 1787611618.30 total 10.01 last 78.19) total: 900 open/close in 11.61 seconds: 77.53 ops/second llite.lustre-ffff8cd65401c000.statahead_max=0 1001 real 0m17.965s user 0m0.038s sys 0m2.701s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff8cd65401c000.statahead_max=32 llite.lustre-ffff8cd65401c000.statahead_max=32 1001 real 0m10.222s user 0m0.026s sys 0m1.214s 'ls -l' 1000 files with statahead: 10 sec statahead total: 120 statahead wrong: 2 agl total: 114 list_total: 31 fname_total: 75 hit_total: 5092 miss_total: 1570 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff8cd65401c000.statahead_stats= statahead total: 120 statahead wrong: 2 agl total: 114 list_total: 31 fname_total: 75 hit_total: 5092 miss_total: 1570 mdc.lustre-MDT0000-mdc-ffff8cd65401c000.batch_stats= snapshot_time: 1787611684.127481840 secs.nsecs start_time: 1787611597.130180101 secs.nsecs elapsed_time: 86.997301739 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 0 0 5 4: 1 2 7 8: 2 5 12 16: 1 2 15 32: 34 85 100 - open/close 800 (time 1787611696.74 total 10.00 last 79.98) - open/close 1647 (time 1787611706.75 total 20.02 last 84.59) - open/close 2504 (time 1787611716.75 total 30.02 last 85.69) - open/close 3302 (time 1787611726.75 total 40.02 last 79.78) - open/close 4111 (time 1787611736.76 total 50.03 last 80.83) - open/close 4914 (time 1787611746.77 total 60.03 last 80.27) - open/close 5695 (time 1787611756.77 total 70.03 last 78.09) - open/close 6423 (time 1787611766.78 total 80.04 last 72.74) - open/close 7314 (time 1787611776.79 total 90.05 last 89.00) - open/close 7949 (time 1787611786.79 total 100.06 last 63.45) - open/close 8711 (time 1787611796.80 total 110.06 last 76.19) - open/close 9527 (time 1787611806.80 total 120.06 last 81.58) total: 10000 open/close in 125.49 seconds: 79.69 ops/second llite.lustre-ffff8cd65401c000.statahead_batch_max=0 llite.lustre-ffff8cd65401c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cd65401c000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.480s user 0m0.324s sys 0m13.839s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8cd65401c000.statahead_batch_max=32 llite.lustre-ffff8cd65401c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cd65401c000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8cd65401c000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m40.084s user 0m0.284s sys 0m12.981s batched statahead RPC= hit count=9977 mdc.lustre-MDT0000-mdc-ffff8cd65401c000.batch_stats= snapshot_time: 1787611994.037936746 secs.nsecs start_time: 1787611883.741152619 secs.nsecs elapsed_time: 110.296784127 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 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-ffff8cd65401c000.batch_stats=0 llite.lustre-ffff8cd65401c000.statahead_max=2048 llite.lustre-ffff8cd65401c000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8cd65401c000.batch_stats=0 total: 100 open/close in 3.02 seconds: 33.08 ops/second llite.lustre-ffff8cd65401c000.statahead_max=0 101 real 0m1.785s user 0m0.004s sys 0m0.303s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8cd65401c000.statahead_max=2048 llite.lustre-ffff8cd65401c000.statahead_max=2048 101 real 0m0.789s user 0m0.004s sys 0m0.162s '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: 10076 miss_total: 24 swrong=0 ewrong=0 - open/close 646 (time 1787612280.96 total 10.01 last 64.52) total: 900 open/close in 13.07 seconds: 68.87 ops/second llite.lustre-ffff8cd65401c000.statahead_max=0 1001 real 0m20.720s user 0m0.041s sys 0m2.857s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff8cd65401c000.statahead_max=2048 llite.lustre-ffff8cd65401c000.statahead_max=2048 1001 real 0m7.031s user 0m0.042s sys 0m1.389s 'ls -l' 1000 files with statahead: 7 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11075 miss_total: 25 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff8cd65401c000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11075 miss_total: 25 mdc.lustre-MDT0000-mdc-ffff8cd65401c000.batch_stats= snapshot_time: 1787612342.055769316 secs.nsecs start_time: 1787611996.660489023 secs.nsecs elapsed_time: 345.395280293 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 18 18 16: 2 18 36 32: 2 18 54 64: 0 0 54 128: 1 9 63 256: 4 36 100 - open/close 914 (time 1787612354.16 total 10.01 last 91.29) - open/close 1781 (time 1787612364.17 total 20.02 last 86.60) - open/close 2566 (time 1787612374.18 total 30.03 last 78.45) - open/close 3390 (time 1787612384.21 total 40.05 last 82.19) - open/close 4012 (time 1787612394.21 total 50.06 last 62.16) - open/close 4663 (time 1787612404.23 total 60.08 last 64.99) - open/close 5398 (time 1787612414.24 total 70.09 last 73.39) - open/close 6228 (time 1787612424.26 total 80.11 last 82.89) - open/close 7025 (time 1787612434.27 total 90.12 last 79.59) - open/close 7831 (time 1787612444.28 total 100.13 last 80.51) - open/close 8700 (time 1787612454.29 total 110.14 last 86.80) - open/close 9514 (time 1787612464.32 total 120.17 last 81.16) total: 10000 open/close in 126.79 seconds: 78.87 ops/second llite.lustre-ffff8cd65401c000.statahead_batch_max=0 llite.lustre-ffff8cd65401c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cd65401c000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.838s user 0m0.283s sys 0m13.309s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8cd65401c000.statahead_batch_max=256 llite.lustre-ffff8cd65401c000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8cd65401c000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8cd65401c000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m50.555s user 0m0.280s sys 0m13.461s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8cd65401c000.batch_stats= snapshot_time: 1787612596.467526886 secs.nsecs start_time: 1787612534.277506859 secs.nsecs elapsed_time: 62.190020027 secs.nsecs subreqs per batch batches %% cum %% 1: 107 42 42 2: 34 13 56 4: 27 10 67 8: 12 4 72 16: 15 6 78 32: 15 6 84 64: 4 1 85 128: 0 0 85 256: 35 14 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-ffff8cd65401c000.statahead_batch_max=64 llite.lustre-ffff8cd65401c000.statahead_max=128