public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/1] if-mtu-change.sh: Lower CHANGE_INTERVAL to 1
@ 2021-01-07 12:02 Petr Vorel
  2021-01-13 13:25 ` Alexey Kodanev
  0 siblings, 1 reply; 7+ messages in thread
From: Petr Vorel @ 2021-01-07 12:02 UTC (permalink / raw)
  To: ltp

to make testing faster.

Tested only on netns based testing.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Hi Alexey,

any reason why CHANGE_INTERVAL was set 5s?

It'd be nice to speedup the tests, which were slow even before
2d422edbf ("if-mtu-change.sh: Add max packet size detection for IPv4")
which added 25% slowdown.

Could you please test this on two host based setup?

Kind regards,
Petr

 testcases/network/stress/interface/if-mtu-change.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/network/stress/interface/if-mtu-change.sh b/testcases/network/stress/interface/if-mtu-change.sh
index d2816606b..3efe00461 100755
--- a/testcases/network/stress/interface/if-mtu-change.sh
+++ b/testcases/network/stress/interface/if-mtu-change.sh
@@ -11,7 +11,7 @@ TST_CLEANUP="do_cleanup"
 . if-lib.sh
 
 # The interval of the mtu change [second]
-CHANGE_INTERVAL=${CHANGE_INTERVAL:-5}
+CHANGE_INTERVAL=${CHANGE_INTERVAL:-1}
 
 TST_TIMEOUT=$(((CHANGE_INTERVAL + 30) * MTU_CHANGE_TIMES))
 
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-01-14 17:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-07 12:02 [LTP] [PATCH 1/1] if-mtu-change.sh: Lower CHANGE_INTERVAL to 1 Petr Vorel
2021-01-13 13:25 ` Alexey Kodanev
2021-01-13 14:07   ` Petr Vorel
2021-01-14 12:09     ` Alexey Kodanev
2021-01-14 14:47       ` Petr Vorel
2021-01-14 15:36         ` Alexey Kodanev
2021-01-14 17:38           ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox