Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Can we increase the ping timeout from 20?
@ 2025-02-05 13:47 Peter Senna Tschudin
  0 siblings, 0 replies; only message in thread
From: Peter Senna Tschudin @ 2025-02-05 13:47 UTC (permalink / raw)
  To: igt-dev@lists.freedesktop.org, Petri Latvala
  Cc: arkadiusz.hiler, martin.peres, tomi.p.sarvela, simona,
	arkadiusz.hiler, Ewelina Musial, Piecielska, Katarzyna

Hi,

This is about:

commit ddfde25f16ba31fb480d2e83b29631aaa56526cb
Author: Petri Latvala <petri.latvala@intel.com>
Date:   Mon Sep 9 14:38:07 2019 +0300

runner: Add support for aborting on network failure

https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/blob/master/runner/executor.c?ref_type=heads#L225

In that commit there was a seemingly arbitrary timeout of 20 seconds for the
network to come to life after a resume. We are facing issues from time to
time where it will take more than 20 seconds for the network to resume after
a resume.

20 seconds seems to be adequate for many scenarios, but not all of them. I
have experienced DUTS taking way more than that to get the network up during
boot for reasons completely unrelated to what we are checking here.

So my question is what would be the upper reasonable limit for the timeout?
Would bumping it to 60 seconds defy the original intention? Reading the commit
message gives me the impression that as long as CI does not pull the plug
because the network is down we are fine increasing the time out.

In other words, the upper limit seems to be the amount of time that CI waits
for the network to come back to life after a suspend / resume.

Should I make this number configurable so that CI can match it with their
timeout for the network to come up after a suspend/resume cycle? If not,
can I bump it to say, 60 seconds?

Thank you!

Peter

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-02-05 13:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-05 13:47 Can we increase the ping timeout from 20? Peter Senna Tschudin

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