[PATCH i-g-t] tests/xe_create: Reduce MAXEXECQUEUES

Jonathan Cavitt jonathan.cavitt at intel.com
Tue Dec 12 19:20:50 UTC 2023


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 at intel.com>
CC: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
CC: Kamil Konieczny <kamil.konieczny at linux.intel.com>
CC: Lucas de Marchi <lucas.demarchi at intel.com>
CC: Niranjana Vishwanathapura <niranjana.vishwanathapura at 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



More information about the igt-dev mailing list