public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] mallocstress: extend test time on arm
@ 2018-03-09 10:01 Jan Stancek
  2018-03-09 10:41 ` Cyril Hrubis
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Stancek @ 2018-03-09 10:01 UTC (permalink / raw)
  To: ltp

Arm systems with lot of memory and THP enabled are
hitting a timeout at ~5 minute mark as reported here:
  mallocstress poor performance with THP on arm64 system
  https://marc.info/?l=linux-mm&m=151864950330870&w=2

Extend the timeout to 10m (only for arm).

Signed-off-by: Jan Stancek <jstancek@redhat.com>
---
 testcases/kernel/mem/mtest07/mallocstress.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/testcases/kernel/mem/mtest07/mallocstress.c b/testcases/kernel/mem/mtest07/mallocstress.c
index 2e900adac28b..fc3bfe7c4e20 100644
--- a/testcases/kernel/mem/mtest07/mallocstress.c
+++ b/testcases/kernel/mem/mtest07/mallocstress.c
@@ -243,6 +243,14 @@ static void cleanup(void)
 }
 
 static struct tst_test test = {
+/*
+ * extend test time on arm due to:
+ * "mallocstress poor performance with THP on arm64 system"
+ * https://marc.info/?l=linux-mm&m=151864950330870&w=2
+ */
+#if defined(__arm__) || defined(__aarch64__)
+	.timeout = 600,
+#endif
 	.needs_checkpoints = 1,
 	.setup = setup,
 	.cleanup = cleanup,
-- 
1.8.3.1


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

end of thread, other threads:[~2018-03-09 12:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-09 10:01 [LTP] [PATCH] mallocstress: extend test time on arm Jan Stancek
2018-03-09 10:41 ` Cyril Hrubis
2018-03-09 10:55   ` Jan Stancek
2018-03-09 12:04     ` Cyril Hrubis
2018-03-09 12:14       ` Jan Stancek

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