public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH 1/2] lib/tst_net.sh: add getopts to tst_ping()
Date: Fri, 11 Dec 2020 13:21:33 +0100	[thread overview]
Message-ID: <X9NkTfGP4WygA/6l@pevik> (raw)
In-Reply-To: <4b2f0cc7-2caf-34a5-12c2-6d0c33bfcbf0@oracle.com>

Hi Alexey,

> > BTW -f does not require root (but effectively it's required by netns setup).

> Hi Petr,

> Are sure -f doesn't require root?
Sorry, I was wrong (tested on latest iputils release):

ping localhost -f
ping: cannot flood; minimal interval allowed for user is 200ms

> >> * Replace '-i 0' with '-f'
> > Out of curiosity, why flood ping is better than -i 0?
> > More effective stressing?

> I think it's better to use the option that is specially made
> for this, isn't it? AFAIK, -f won't do verbose printing, though
> we could add -q too along with -i 0...

+1

Kind regards,
Petr

      reply	other threads:[~2020-12-11 12:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-08 16:24 [LTP] [PATCH 1/2] lib/tst_net.sh: add getopts to tst_ping() Alexey Kodanev
2020-12-08 16:24 ` [LTP] [PATCH 2/2] network/ping02: use tst_ping() from the library Alexey Kodanev
2020-12-11  8:55   ` Petr Vorel
2020-12-14 11:48     ` Alexey Kodanev
2020-12-11  8:54 ` [LTP] [PATCH 1/2] lib/tst_net.sh: add getopts to tst_ping() Petr Vorel
2020-12-11  9:15 ` Petr Vorel
2020-12-11 11:09   ` Alexey Kodanev
2020-12-11 12:21     ` Petr Vorel [this message]

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=X9NkTfGP4WygA/6l@pevik \
    --to=pvorel@suse.cz \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox