From: Jan Stancek <jstancek@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] network/busy_poll: make test results more stable
Date: Wed, 29 Jun 2016 07:01:06 -0400 (EDT) [thread overview]
Message-ID: <35755633.671473.1467198066896.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <1467045057-19618-1-git-send-email-alexey.kodanev@oracle.com>
----- Original Message -----
> From: "Alexey Kodanev" <alexey.kodanev@oracle.com>
> To: ltp@lists.linux.it
> Cc: "vasily isaenko" <vasily.isaenko@oracle.com>
> Sent: Monday, 27 June, 2016 6:30:57 PM
> Subject: [LTP] [PATCH] network/busy_poll: make test results more stable
>
> Changing tcp network load from 'connect/request/response/close'
> to 'request/response'. Results will be more stable as we aren't
> closing/establishing tcp connection after 3 requests from client.
>
> There're other tests that do such stress testing so such test-case
> won't be removed.
>
> It'll also decrease test time by several times.
>
> Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
ACK.
As advertised my KVM guest running 4.5.0 shows more significant
difference between busy poll 0/50:
Without patch:
busy_poll01 1 TINFO : set low latency busy poll to 50
busy_poll01 1 TINFO : run tcp_fastopen with 'localhost', port '37532'
busy_poll01 1 TINFO : time spent is '25039' ms
busy_poll01 1 TINFO : set low latency busy poll to 0
busy_poll01 1 TINFO : run tcp_fastopen with 'localhost', port '61133'
busy_poll01 1 TINFO : time spent is '35203' ms
busy_poll01 1 TPASS : busy poll increased performance by '29' %
real 1m2.866s
user 0m1.542s
sys 1m5.937s
With patch:
busy_poll01 1 TINFO : set low latency busy poll to 50
busy_poll01 1 TINFO : run tcp_fastopen with 'localhost', port '30109'
busy_poll01 1 TINFO : time spent is '3874' ms
busy_poll01 1 TINFO : set low latency busy poll to 0
busy_poll01 1 TINFO : run tcp_fastopen with 'localhost', port '10440'
busy_poll01 1 TINFO : time spent is '12561' ms
busy_poll01 1 TPASS : busy poll increased performance by '70' %
real 0m19.006s
user 0m0.749s
sys 0m16.408s
next prev parent reply other threads:[~2016-06-29 11:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-27 16:30 [LTP] [PATCH] network/busy_poll: make test results more stable Alexey Kodanev
2016-06-29 11:01 ` Jan Stancek [this message]
2016-06-29 13:47 ` Alexey Kodanev
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=35755633.671473.1467198066896.JavaMail.zimbra@redhat.com \
--to=jstancek@redhat.com \
--cc=ltp@lists.linux.it \
/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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.