From: Stefano Brivio <sbrivio@redhat.com>
To: passt-dev@passt.top
Subject: Re: [PATCH v2 3/4] test: Parameterize run time for throughput performance tests
Date: Tue, 06 Sep 2022 18:22:42 +0200 [thread overview]
Message-ID: <20220906182242.603a5080@elisabeth> (raw)
In-Reply-To: <20220902020434.24238-4-david@gibson.dropbear.id.au>
[-- Attachment #1: Type: text/plain, Size: 1172 bytes --]
On Fri, 2 Sep 2022 12:04:33 +1000
David Gibson <david(a)gibson.dropbear.id.au> wrote:
> Currently all the throughput tests are run for 30s. This is reflected in
> both the actual parameters given to the iperf commands, but also in the
> matching sleeps in test_iperf3.
>
> Allow this to be adjusted more easily with a new parameter to test_iperf3.
>
> Signed-off-by: David Gibson <david(a)gibson.dropbear.id.au>
> ---
> test/lib/test | 9 +++++----
> test/perf/passt_tcp | 44 +++++++++++++++++++++++---------------------
> test/perf/passt_udp | 43 ++++++++++++++++++++++---------------------
> test/perf/pasta_tcp | 42 ++++++++++++++++++++++--------------------
> test/perf/pasta_udp | 43 ++++++++++++++++++++++---------------------
> 5 files changed, 94 insertions(+), 87 deletions(-)
>
> diff --git a/test/lib/test b/test/lib/test
> index 600399b..8eb1ee5 100755
> --- a/test/lib/test
> +++ b/test/lib/test
> @@ -28,6 +28,7 @@ test_iperf3() {
> __dest="${1}"; shift
> __port="${1}"; shift
> __procs="$((${1} - 1))"; shift
> + __time="${1}"; shift
I'm adding, on merge, this line:
# $7: Run time, in seconds
to the comment above.
--
Stefano
next prev parent reply other threads:[~2022-09-06 16:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-02 2:04 [PATCH v2 0/4] Cleanups to performance tests David Gibson
2022-09-02 2:04 ` [PATCH v2 1/4] gitignore pidfiles other than passt.pid David Gibson
2022-09-02 2:04 ` [PATCH v2 2/4] test: Combine iperf3c and iperf3s into a single DSL command David Gibson
2022-09-02 2:04 ` [PATCH v2 3/4] test: Parameterize run time for throughput performance tests David Gibson
2022-09-06 16:22 ` Stefano Brivio [this message]
2022-09-07 0:40 ` David Gibson
2022-09-02 2:04 ` [PATCH v2 4/4] test: Rewrite test_iperf3 David Gibson
2022-09-06 16:23 ` Stefano Brivio
2022-09-07 0:41 ` David Gibson
2022-09-07 19:35 ` [PATCH v2 0/4] Cleanups to performance tests Stefano Brivio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220906182242.603a5080@elisabeth \
--to=sbrivio@redhat.com \
--cc=passt-dev@passt.top \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).