Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/xe_create: Reduce MAXEXECQUEUES
@ 2023-12-12 19:20 Jonathan Cavitt
  2023-12-12 20:23 ` ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jonathan Cavitt @ 2023-12-12 19:20 UTC (permalink / raw)
  To: igt-dev; +Cc: lucas.demarchi, jonathan.cavitt, saurabhg.gupta

FIXME: Several XE platforms are currently failing the
create-execqueue-noleak and create-execqueue-leak tests due to exceeding
the MAXTIME timeout for execution.  It appears context switching is to
blame for this issue, as enforcing execution patterns that minimze
context switches makes the test far more performant.  Unfortunately,
doing so would defeat the purpose of the test.  While a better solution
(such as reducing the number of mandatory locks and mutexes in the exec
queue creation path) is investigated, reduce MAXEXECQUEUES by half.

Signed-off-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
CC: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
CC: Kamil Konieczny <kamil.konieczny@linux.intel.com>
CC: Lucas de Marchi <lucas.demarchi@intel.com>
CC: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com> 
---
 tests/intel/xe_create.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/intel/xe_create.c b/tests/intel/xe_create.c
index 1ed48a5d3e..be470944e3 100644
--- a/tests/intel/xe_create.c
+++ b/tests/intel/xe_create.c
@@ -101,7 +101,7 @@ enum exec_queue_destroy {
 	LEAK
 };
 
-#define MAXEXECQUEUES 2048
+#define MAXEXECQUEUES 1024
 #define MAXTIME 5
 
 /**
-- 
2.25.1

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

end of thread, other threads:[~2023-12-12 21:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-12 19:20 [PATCH i-g-t] tests/xe_create: Reduce MAXEXECQUEUES Jonathan Cavitt
2023-12-12 20:23 ` ✓ Fi.CI.BAT: success for " Patchwork
2023-12-12 21:17 ` ✗ Fi.CI.IGT: failure " Patchwork
2023-12-12 21:50 ` ✓ CI.xeBAT: success " Patchwork

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