linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] selftests/mm: Increase timeout from 180 to 900 seconds
@ 2025-06-09 12:06 Shivank Garg
  2025-06-09 23:07 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: Shivank Garg @ 2025-06-09 12:06 UTC (permalink / raw)
  To: akpm, shuah; +Cc: linux-mm, linux-kselftest, linux-kernel, Shivank Garg

The mm selftests are timing out with the current 180-second limit.
Testing shows that run_vmtests.sh takes approximately 11 minutes
(664 seconds) to complete.

Increase the timeout to 900 seconds (15 minutes) to provide sufficient
buffer for the tests to complete successfully.

Signed-off-by: Shivank Garg <shivankg@amd.com>
---
 tools/testing/selftests/mm/settings | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/mm/settings b/tools/testing/selftests/mm/settings
index a953c96aa16e..e2206265f67c 100644
--- a/tools/testing/selftests/mm/settings
+++ b/tools/testing/selftests/mm/settings
@@ -1 +1 @@
-timeout=180
+timeout=900
-- 
2.43.0


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

* Re: [PATCH] selftests/mm: Increase timeout from 180 to 900 seconds
  2025-06-09 12:06 [PATCH] selftests/mm: Increase timeout from 180 to 900 seconds Shivank Garg
@ 2025-06-09 23:07 ` Andrew Morton
  2025-06-10  5:28   ` Shivank Garg
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2025-06-09 23:07 UTC (permalink / raw)
  To: Shivank Garg; +Cc: shuah, linux-mm, linux-kselftest, linux-kernel

On Mon, 9 Jun 2025 12:06:07 +0000 Shivank Garg <shivankg@amd.com> wrote:

> The mm selftests are timing out with the current 180-second limit.
> Testing shows that run_vmtests.sh takes approximately 11 minutes
> (664 seconds) to complete.
> 
> Increase the timeout to 900 seconds (15 minutes) to provide sufficient
> buffer for the tests to complete successfully.
> 
> ...
>
> --- a/tools/testing/selftests/mm/settings
> +++ b/tools/testing/selftests/mm/settings
> @@ -1 +1 @@
> -timeout=180
> +timeout=900

Gee, that's a bit crude, isn't it.  I have a laptop which will need 90000 ;)

I guess it's better than it was before.  Some sort of smarter monitor
of ongoing activity can be bothered about later.


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

* Re: [PATCH] selftests/mm: Increase timeout from 180 to 900 seconds
  2025-06-09 23:07 ` Andrew Morton
@ 2025-06-10  5:28   ` Shivank Garg
  0 siblings, 0 replies; 3+ messages in thread
From: Shivank Garg @ 2025-06-10  5:28 UTC (permalink / raw)
  To: Andrew Morton; +Cc: shuah, linux-mm, linux-kselftest, linux-kernel



On 6/10/2025 4:37 AM, Andrew Morton wrote:
> On Mon, 9 Jun 2025 12:06:07 +0000 Shivank Garg <shivankg@amd.com> wrote:
> 
>> The mm selftests are timing out with the current 180-second limit.
>> Testing shows that run_vmtests.sh takes approximately 11 minutes
>> (664 seconds) to complete.
>>
>> Increase the timeout to 900 seconds (15 minutes) to provide sufficient
>> buffer for the tests to complete successfully.
>>
>> ...
>>
>> --- a/tools/testing/selftests/mm/settings
>> +++ b/tools/testing/selftests/mm/settings
>> @@ -1 +1 @@
>> -timeout=180
>> +timeout=900
> 
> Gee, that's a bit crude, isn't it.  I have a laptop which will need 90000 ;)
> 
> I guess it's better than it was before.  Some sort of smarter monitor
> of ongoing activity can be bothered about later.
> 
900s is crude, and I can imagine some systems needing even more time!
I think the real issue is run_vmtests.sh bundles many tests together. Most finish quickly but few (e.g. compaction) tests take significant time.
I agree that a smarter approach with per-test timeouts would be better.

Thanks,
Shivank

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

end of thread, other threads:[~2025-06-10  5:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-09 12:06 [PATCH] selftests/mm: Increase timeout from 180 to 900 seconds Shivank Garg
2025-06-09 23:07 ` Andrew Morton
2025-06-10  5:28   ` Shivank Garg

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 NNTP newsgroup(s).