Skip to contentSkip to conversation

Move some gem tests to benchmarks

PATCH In review Abdiel Janulgue 3 participants 14 messages Feb 5, 2018 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Move some gem tests to benchmarks

Some of the gem tests actually look like benchmarks. Move them to their proper place. Also improve gem_gtt_speed by adding a post-suspend benchmark.

Cc Joonas Lahtinen <[email protected]>
Cc Chris Wilson <[email protected]>
 benchmarks/Makefile.sources      |   5 +
 benchmarks/gem_exec_latency.c    | 504 ++++++++++++++++++++++++++++++++++
 benchmarks/gem_exec_lut_handle.c | 263 ++++++++++++++++++
 benchmarks/gem_fence_upload.c    | 405 +++++++++++++++++++++++++++
 benchmarks/gem_gtt_speed.c       | 543 +++++++++++++++++++++++++++++++++++++
 benchmarks/gem_read_read_speed.c | 213 +++++++++++++++
 benchmarks/meson.build           |   5 +
 tests/Makefile.sources           |   5 -
 tests/gem_exec_latency.c         | 504 ----------------------------------
 tests/gem_exec_lut_handle.c      | 263 ------------------
 tests/gem_fence_upload.c         | 405 ---------------------------
 tests/gem_gtt_speed.c            | 510 ----------------------------------
 tests/gem_read_read_speed.c      | 213 ---------------
 tests/meson.build                |   5 -
 14 files changed, 1938 insertions(+), 1905 deletions(-)

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#1 lore raw

PATCH 1/6 tests/gem_exec_latency: Move to benchmarks

Cc Joonas Lahtinen <[email protected]>
Cc Chris Wilson <[email protected]>
---
 benchmarks/Makefile.sources   |   1 +
 benchmarks/gem_exec_latency.c | 504 ++++++++++++++++++++++++++++++++++++++++++
 benchmarks/meson.build        |   1 +
 tests/Makefile.sources        |   1 -
 tests/gem_exec_latency.c      | 504 ------------------------------------------
 tests/meson.build             |   1 -
 6 files changed, 506 insertions(+), 506 deletions(-)
 create mode 100644 benchmarks/gem_exec_latency.c
 delete mode 100644 tests/gem_exec_latency.c
benchmarks/Makefile.sources +1 -0
index d150035..4562b28 100644
@@ -15,6 +15,7 @@ benchmarks_prog_list =			\
 	gem_set_domain			\
 	gem_syslatency			\
 	gem_wsim			\
+	gem_exec_latency		\
 	kms_vblank			\
 	prime_lookup			\
 	vgem_mmap			\
benchmarks/gem_exec_latency.c new file +504 -0

504 lines not on this page · raw message

benchmarks/meson.build +1 -0
index 27836c1..c89bb76 100644
@@ -12,6 +12,7 @@ benchmark_progs = [
 	'gem_prw',
 	'gem_set_domain',
 	'gem_syslatency',
+	'gem_exec_latency',
 	'kms_vblank',
 	'prime_lookup',
 	'vgem_mmap',
tests/Makefile.sources +0 -1
index 870c909..2d8ecb6 100644
@@ -77,7 +77,6 @@ TESTS_progs = \
 	gem_exec_fence \
 	gem_exec_flush \
 	gem_exec_gttfill \
-	gem_exec_latency \
 	gem_exec_lut_handle \
 	gem_exec_nop \
 	gem_exec_parallel \
tests/gem_exec_latency.c deleted +0 -504

504 lines not on this page · raw message

tests/meson.build +0 -1
index 521a4c4..e77a221 100644
@@ -55,7 +55,6 @@ test_progs = [
 	'gem_exec_fence',
 	'gem_exec_flush',
 	'gem_exec_gttfill',
-	'gem_exec_latency',
 	'gem_exec_lut_handle',
 	'gem_exec_nop',
 	'gem_exec_parallel',
Signature · 6 lines
2.7.4

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#2 lore raw

PATCH 2/6 tests/gem_exec_lut_handle: Move to benchmarks

In reply to Abdiel Janulgue
Cc Joonas Lahtinen <[email protected]>
Cc Chris Wilson <[email protected]>
---
 benchmarks/Makefile.sources      |   1 +
 benchmarks/gem_exec_lut_handle.c | 263 +++++++++++++++++++++++++++++++++++++++
 benchmarks/meson.build           |   1 +
 tests/Makefile.sources           |   1 -
 tests/gem_exec_lut_handle.c      | 263 ---------------------------------------
 tests/meson.build                |   1 -
 6 files changed, 265 insertions(+), 265 deletions(-)
 create mode 100644 benchmarks/gem_exec_lut_handle.c
 delete mode 100644 tests/gem_exec_lut_handle.c
benchmarks/Makefile.sources +1 -0
index 4562b28..11a59bb 100644
@@ -16,6 +16,7 @@ benchmarks_prog_list =			\
 	gem_syslatency			\
 	gem_wsim			\
 	gem_exec_latency		\
+	gem_exec_lut_handle		\
 	kms_vblank			\
 	prime_lookup			\
 	vgem_mmap			\
benchmarks/gem_exec_lut_handle.c new file +263 -0

263 lines not on this page · raw message

benchmarks/meson.build +1 -0
index c89bb76..31e397c 100644
@@ -13,6 +13,7 @@ benchmark_progs = [
 	'gem_set_domain',
 	'gem_syslatency',
 	'gem_exec_latency',
+	'gem_exec_lut_handle',
 	'kms_vblank',
 	'prime_lookup',
 	'vgem_mmap',
tests/Makefile.sources +0 -1
index 2d8ecb6..41cf79b 100644
@@ -77,7 +77,6 @@ TESTS_progs = \
 	gem_exec_fence \
 	gem_exec_flush \
 	gem_exec_gttfill \
-	gem_exec_lut_handle \
 	gem_exec_nop \
 	gem_exec_parallel \
 	gem_exec_params \
tests/gem_exec_lut_handle.c deleted +0 -263

263 lines not on this page · raw message

tests/meson.build +0 -1
index e77a221..7708fdd 100644
@@ -55,7 +55,6 @@ test_progs = [
 	'gem_exec_fence',
 	'gem_exec_flush',
 	'gem_exec_gttfill',
-	'gem_exec_lut_handle',
 	'gem_exec_nop',
 	'gem_exec_parallel',
 	'gem_exec_params',
Signature · 6 lines
2.7.4

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#3 lore raw

PATCH 3/6 tests/gem_read_read_speed: Move to benchmarks

In reply to Abdiel Janulgue
Cc Joonas Lahtinen <[email protected]>
Cc Chris Wilson <[email protected]>
---
 benchmarks/Makefile.sources      |   1 +
 benchmarks/gem_read_read_speed.c | 213 +++++++++++++++++++++++++++++++++++++++
 benchmarks/meson.build           |   1 +
 tests/Makefile.sources           |   1 -
 tests/gem_read_read_speed.c      | 213 ---------------------------------------
 tests/meson.build                |   1 -
 6 files changed, 215 insertions(+), 215 deletions(-)
 create mode 100644 benchmarks/gem_read_read_speed.c
 delete mode 100644 tests/gem_read_read_speed.c
benchmarks/Makefile.sources +1 -0
index 11a59bb..54045fb 100644
@@ -17,6 +17,7 @@ benchmarks_prog_list =			\
 	gem_wsim			\
 	gem_exec_latency		\
 	gem_exec_lut_handle		\
+	gem_read_read_speed		\
 	kms_vblank			\
 	prime_lookup			\
 	vgem_mmap			\
benchmarks/gem_read_read_speed.c new file +213 -0

213 lines not on this page · raw message

benchmarks/meson.build +1 -0
index 31e397c..acb84c0 100644
@@ -14,6 +14,7 @@ benchmark_progs = [
 	'gem_syslatency',
 	'gem_exec_latency',
 	'gem_exec_lut_handle',
+	'gem_read_read_speed',
 	'kms_vblank',
 	'prime_lookup',
 	'vgem_mmap',
tests/Makefile.sources +0 -1
index 41cf79b..b37ece0 100644
@@ -116,7 +116,6 @@ TESTS_progs = \
 	gem_pwrite \
 	gem_pwrite_pread \
 	gem_pwrite_snooped \
-	gem_read_read_speed \
 	gem_readwrite \
 	gem_reg_read \
 	gem_reloc_overflow \
tests/gem_read_read_speed.c deleted +0 -213

213 lines not on this page · raw message

tests/meson.build +0 -1
index 7708fdd..6273322 100644
@@ -94,7 +94,6 @@ test_progs = [
 	'gem_pwrite',
 	'gem_pwrite_pread',
 	'gem_pwrite_snooped',
-	'gem_read_read_speed',
 	'gem_readwrite',
 	'gem_reg_read',
 	'gem_reloc_overflow',
Signature · 6 lines
2.7.4

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#4 lore raw

PATCH 4/6 tests/gem_fence_upload: Move to benchmarks

In reply to Abdiel Janulgue
Cc Joonas Lahtinen <[email protected]>
Cc Chris Wilson <[email protected]>
---
 benchmarks/Makefile.sources   |   1 +
 benchmarks/gem_fence_upload.c | 405 ++++++++++++++++++++++++++++++++++++++++++
 benchmarks/meson.build        |   1 +
 tests/Makefile.sources        |   1 -
 tests/gem_fence_upload.c      | 405 ------------------------------------------
 tests/meson.build             |   1 -
 6 files changed, 407 insertions(+), 407 deletions(-)
 create mode 100644 benchmarks/gem_fence_upload.c
 delete mode 100644 tests/gem_fence_upload.c
benchmarks/Makefile.sources +1 -0
index 54045fb..443cdc6 100644
@@ -18,6 +18,7 @@ benchmarks_prog_list =			\
 	gem_exec_latency		\
 	gem_exec_lut_handle		\
 	gem_read_read_speed		\
+	gem_fence_upload		\
 	kms_vblank			\
 	prime_lookup			\
 	vgem_mmap			\
benchmarks/gem_fence_upload.c new file +405 -0

405 lines not on this page · raw message

benchmarks/meson.build +1 -0
index acb84c0..12e4242 100644
@@ -15,6 +15,7 @@ benchmark_progs = [
 	'gem_exec_latency',
 	'gem_exec_lut_handle',
 	'gem_read_read_speed',
+	'gem_fence_upload',
 	'kms_vblank',
 	'prime_lookup',
 	'vgem_mmap',
tests/Makefile.sources +0 -1
index b37ece0..cf4c0c4 100644
@@ -89,7 +89,6 @@ TESTS_progs = \
 	gem_exec_whisper \
 	gem_fd_exhaustion \
 	gem_fence_thrash \
-	gem_fence_upload \
 	gem_fenced_exec_thrash \
 	gem_flink_basic \
 	gem_flink_race \
tests/gem_fence_upload.c deleted +0 -405

405 lines not on this page · raw message

tests/meson.build +0 -1
index 6273322..ae30fd9 100644
@@ -67,7 +67,6 @@ test_progs = [
 	'gem_exec_whisper',
 	'gem_fd_exhaustion',
 	'gem_fence_thrash',
-	'gem_fence_upload',
 	'gem_fenced_exec_thrash',
 	'gem_flink_basic',
 	'gem_flink_race',
Signature · 6 lines
2.7.4

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#5 lore raw

PATCH 5/6 tests/gem_gtt_speed: Move to benchmarks

In reply to Abdiel Janulgue
Cc Joonas Lahtinen <[email protected]>
Cc Chris Wilson <[email protected]>
---
 benchmarks/Makefile.sources |   1 +
 benchmarks/gem_gtt_speed.c  | 510 ++++++++++++++++++++++++++++++++++++++++++++
 benchmarks/meson.build      |   1 +
 tests/Makefile.sources      |   1 -
 tests/gem_gtt_speed.c       | 510 --------------------------------------------
 tests/meson.build           |   1 -
 6 files changed, 512 insertions(+), 512 deletions(-)
 create mode 100644 benchmarks/gem_gtt_speed.c
 delete mode 100644 tests/gem_gtt_speed.c
benchmarks/Makefile.sources +1 -0
index 443cdc6..29a2d3c 100644
@@ -19,6 +19,7 @@ benchmarks_prog_list =			\
 	gem_exec_lut_handle		\
 	gem_read_read_speed		\
 	gem_fence_upload		\
+	gem_gtt_speed			\
 	kms_vblank			\
 	prime_lookup			\
 	vgem_mmap			\
benchmarks/gem_gtt_speed.c new file +510 -0

510 lines not on this page · raw message

benchmarks/meson.build +1 -0
index 12e4242..be49ed8 100644
@@ -16,6 +16,7 @@ benchmark_progs = [
 	'gem_exec_lut_handle',
 	'gem_read_read_speed',
 	'gem_fence_upload',
+	'gem_gtt_speed',
 	'kms_vblank',
 	'prime_lookup',
 	'vgem_mmap',
tests/Makefile.sources +0 -1
index cf4c0c4..c75d02a 100644
@@ -95,7 +95,6 @@ TESTS_progs = \
 	gem_gpgpu_fill \
 	gem_gtt_cpu_tlb \
 	gem_gtt_hog \
-	gem_gtt_speed \
 	gem_largeobject \
 	gem_linear_blits \
 	gem_lut_handle \
tests/gem_gtt_speed.c deleted +0 -510

510 lines not on this page · raw message

tests/meson.build +0 -1
index ae30fd9..c03b325 100644
@@ -73,7 +73,6 @@ test_progs = [
 	'gem_gpgpu_fill',
 	'gem_gtt_cpu_tlb',
 	'gem_gtt_hog',
-	'gem_gtt_speed',
 	'gem_largeobject',
 	'gem_linear_blits',
 	'gem_lut_handle',
Signature · 6 lines
2.7.4

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#6 lore raw

Re: [igt-dev] [PATCH i-g-t 5/6] tests/gem_gtt_speed: Move to benchmarks

There is a test lurking here. A few times throughout the kernel's history have the post-resume GTT speed been an order of magnitude slower, hence why this exists in the first place. That test needs to be automated.
-Chris
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#7 lore raw

PATCH 6/6 benchmarks/gtt_speed: Add a subtest to compare post suspend speed

In reply to Abdiel Janulgue
Cc Joonas Lahtinen <[email protected]>
Cc Chris Wilson <[email protected]>
---
 benchmarks/gem_gtt_speed.c | 107 +++++++++++++++++++++++++++++----------------
 1 file changed, 70 insertions(+), 37 deletions(-)
benchmarks/gem_gtt_speed.c +70 -37
index 3d726c4..ff42ab3 100644
@@ -42,6 +42,7 @@
 #include "drm.h"
 
 #define OBJECT_SIZE 16384
+int size = OBJECT_SIZE;
 
 static double elapsed(const struct timeval *start,
 		      const struct timeval *end,
@@ -86,39 +87,13 @@ static void streaming_load(void *src, int len)
 }
 #endif
 
-int main(int argc, char **argv)
+static void run_test(int fd, uint32_t handle, unsigned cpu,
+		     uint8_t *buf)
 {
 	struct timeval start, end;
-	uint8_t *buf;
-	uint32_t handle;
-	unsigned cpu = x86_64_features();
-	int size = OBJECT_SIZE;
-	int loop, i, tiling;
-	int fd;
-
-	igt_simple_init(argc, argv);
-
-	igt_skip_on_simulation();
-
-	if (argc > 1)
-		size = atoi(argv[1]);
-	if (size == 0) {
-		igt_warn("Invalid object size specified\n");
-		return 1;
-	}
-
-	if (cpu) {
-		char str[1024];
-		igt_info("Detected cpu faatures: %s\n",
-			 igt_x86_features_to_string(cpu, str));
-	}
+	int i, tiling, loop;
 
-	buf = malloc(size);
 	memset(buf, 0, size);
-	fd = drm_open_driver(DRIVER_INTEL);
-
-	handle = gem_create(fd, size);
-	igt_assert(handle);
 
 	for (tiling = I915_TILING_NONE; tiling <= I915_TILING_Y; tiling++) {
 		if (tiling != I915_TILING_NONE) {
@@ -294,7 +269,7 @@ int main(int argc, char **argv)
 			}
 			gettimeofday(&end, NULL);
 			igt_info("Time to read %dk through a WC map:		%7.3fµs\n",
-					size/1024, elapsed(&start, &end, loop));
+				 size/1024, elapsed(&start, &end, loop));
 
 			{
 				uint32_t *base = gem_mmap__wc(fd, handle, 0, size, PROT_READ | PROT_WRITE);
@@ -372,7 +347,7 @@ int main(int argc, char **argv)
 			}
 			gettimeofday(&end, NULL);
 			igt_info("Time to write %dk through a WC map:		%7.3fµs\n",
-					size/1024, elapsed(&start, &end, loop));
+				 size/1024, elapsed(&start, &end, loop));
 		}
 
 		/* mmap clear */
@@ -396,7 +371,7 @@ int main(int argc, char **argv)
 			}
 			gettimeofday(&end, NULL);
 			igt_info("Time to clear %dk through a WC map:		%7.3fµs\n",
-					size/1024, elapsed(&start, &end, loop));
+				 size/1024, elapsed(&start, &end, loop));
 		}
 
 		gettimeofday(&start, NULL);{
@@ -416,7 +391,7 @@ int main(int argc, char **argv)
 				munmap(base, size);
 			} gettimeofday(&end, NULL);
 			igt_info("Time to clear %dk through a cached WC map:	%7.3fµs\n",
-					size/1024, elapsed(&start, &end, loop));
+				 size/1024, elapsed(&start, &end, loop));
 		}
 
 		/* mmap read */
@@ -487,7 +462,7 @@ int main(int argc, char **argv)
 			}
 			gettimeofday(&end, NULL);
 			igt_info("Time to pwrite %dk through the GTT (clflush):	%7.3fµs\n",
-			       size/1024, elapsed(&start, &end, loop));
+				 size/1024, elapsed(&start, &end, loop));
 
 			/* partial GTT pread, including clflush */
 			gettimeofday(&start, NULL);
@@ -497,14 +472,72 @@ int main(int argc, char **argv)
 			}
 			gettimeofday(&end, NULL);
 			igt_info("Time to pread %dk through the GTT (clflush):	%7.3fµs\n",
-			       size/1024, elapsed(&start, &end, loop));
+				 size/1024, elapsed(&start, &end, loop));
 
 			size *= 4;
 		}
 	}
+}
+
+static int opt_handler(int option, int option_index, void *input)
+{
+	switch (option) {
+	case 's':
+		size = strtol(optarg, NULL, 0);
+		igt_fail_on_f(size == 0,
+			    "Invalid object size specified\n");
+		break;
+	}
+
+	return 0;
+}
+int main(int argc, char **argv)
+{
+	uint8_t *buf;
+	uint32_t handle;
+	unsigned cpu = x86_64_features();
+	int fd;
+	struct option long_options[] = {
+		{ "size", required_argument, NULL, 's'},
+		{ 0, 0, 0, 0 }
+	};
+
+	const char *help_str =
+		"  --size\tObject size\n";
+
+	igt_subtest_init_parse_opts(&argc, argv, "", long_options, help_str,
+				    opt_handler, NULL);
+
+	igt_skip_on_simulation();
+
+	if (cpu) {
+		char str[1024];
+		igt_info("Detected cpu faatures: %s\n",
+			 igt_x86_features_to_string(cpu, str));
+	}
 
-	gem_close(fd, handle);
-	close(fd);
+	igt_fixture {
+		fd = drm_open_driver(DRIVER_INTEL);
+		handle = gem_create(fd, size);
+		igt_assert(handle);
+		buf = malloc(size);
+		igt_assert(buf);
+	}
+
+        igt_subtest("basic")
+		run_test(fd, handle, cpu, buf);
+
+	igt_subtest("post-suspend") {
+		igt_system_suspend_autoresume(SUSPEND_STATE_MEM,
+					      SUSPEND_TEST_NONE);
+		run_test(fd, handle, cpu, buf);
+	}
+
+	igt_fixture {
+		gem_close(fd, handle);
+		close(fd);
+		free(buf);
+	}
 
 	igt_exit();
 }
Signature · 6 lines
2.7.4

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#8 lore raw
In reply to Abdiel Janulgue

Quoting Abdiel Janulgue (2018-02-05 09:35:19)

Quoted 7 lines

Some of the gem tests actually look like benchmarks. Move them to their proper place. Also improve gem_gtt_speed by adding a post-suspend benchmark.

Cc Joonas Lahtinen <[email protected]>
Cc Chris Wilson <[email protected]>
Quoted 6 lines
 benchmarks/Makefile.sources      |   5 +
 benchmarks/gem_exec_latency.c    | 504 ++++++++++++++++++++++++++++++++++
 benchmarks/gem_exec_lut_handle.c | 263 ++++++++++++++++++
 benchmarks/gem_fence_upload.c    | 405 +++++++++++++++++++++++++++
 benchmarks/gem_gtt_speed.c       | 543 +++++++++++++++++++++++++++++++++++++
 benchmarks/gem_read_read_speed.c | 213 +++++++++++++++

Where's the ezbench integration?
-Chris
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#9 lore raw
Quoted 8 lines · Chris Wilson

Quoting Abdiel Janulgue (2018-02-05 09:35:19)

Quoted 7 lines

Some of the gem tests actually look like benchmarks. Move them to their proper place. Also improve gem_gtt_speed by adding a post-suspend benchmark.

Cc Joonas Lahtinen <[email protected]>
Cc Chris Wilson <[email protected]>
Quoted 8 lines
Quoted 6 lines
 benchmarks/Makefile.sources      |   5 +
 benchmarks/gem_exec_latency.c    | 504 ++++++++++++++++++++++++++++++++++
 benchmarks/gem_exec_lut_handle.c | 263 ++++++++++++++++++
 benchmarks/gem_fence_upload.c    | 405 +++++++++++++++++++++++++++
 benchmarks/gem_gtt_speed.c       | 543 +++++++++++++++++++++++++++++++++++++
 benchmarks/gem_read_read_speed.c | 213 +++++++++++++++

Where's the ezbench integration?> -Chris

Oops, forgot that. Will include include that next. Thanks,
_______________________________________________
igt-dev mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#10 lore raw
In reply to Abdiel Janulgue

Quoting Abdiel Janulgue (2018-02-05 09:35:19)

Quoted 3 lines

Some of the gem tests actually look like benchmarks. Move them to their proper place. Also improve gem_gtt_speed by adding a post-suspend benchmark.

You can't just move them wholesale into benchmarks/ without weaning them off libigt, they were not even supposed to be linked against libigt.la. libigt was expressly developed with the purpose of making writing tests easier and that gets in the way of the benchmarks. That is not to say the core ioctl wrappers are not useful, it's just all the logging and subtest framework built above them that has all too often caused explosions and get in the way.

Say no to igt_subtest, but welcome a new igt_perf. And ezbench integration.
-Chris
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#11 lore raw
Quoted 13 lines · Chris Wilson

Quoting Abdiel Janulgue (2018-02-05 09:35:19)

Quoted 3 lines

Some of the gem tests actually look like benchmarks. Move them to their proper place. Also improve gem_gtt_speed by adding a post-suspend benchmark.

You can't just move them wholesale into benchmarks/ without weaning them off libigt, they were not even supposed to be linked against libigt.la. libigt was expressly developed with the purpose of making writing tests easier and that gets in the way of the benchmarks. That is not to say the core ioctl wrappers are not useful, it's just all the logging and subtest framework built above them that has all too often caused explosions and get in the way.

Quoted 2 lines

Say no to igt_subtest, but welcome a new igt_perf. And ezbench integration.

Looks like another upcoming lib. Will try to update accordingly...

Quoted 2 lines

-Chris

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#12 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/6] tests/gem_exec_latency: Move to benchmarks

In reply to Abdiel Janulgue
== Series Details ==

== Series Details ==

Series: series starting with [i-g-t,1/6] tests/gem_exec_latency: Move to benchmarks
URL : https://patchwork.freedesktop.org/series/37647/
State : success

== Summary ==

IGT patchset tested on top of latest successful build c219cc5307474cb53612ca759354f9473955e110 tools: Clear unused fields in register spec

with latest DRM-Tip kernel build CI_DRM_3720
2e76a2952923 drm-tip: 2018y-02m-02d-20h-33m-12s UTC integration manifest

Testlist changes:
-igt@gem_exec_latency@blt-dispatch -igt@gem_exec_latency@blt-dispatch-queued -igt@gem_exec_latency@blt-preemption -igt@gem_exec_latency@blt-synchronisation -igt@gem_exec_latency@blt-synchronisation-queued -igt@gem_exec_latency@bsd1-dispatch -igt@gem_exec_latency@bsd1-dispatch-queued -igt@gem_exec_latency@bsd1-preemption -igt@gem_exec_latency@bsd1-synchronisation -igt@gem_exec_latency@bsd1-synchronisation-queued -igt@gem_exec_latency@bsd2-dispatch -igt@gem_exec_latency@bsd2-dispatch-queued -igt@gem_exec_latency@bsd2-preemption -igt@gem_exec_latency@bsd2-synchronisation -igt@gem_exec_latency@bsd2-synchronisation-queued -igt@gem_exec_latency@bsd-dispatch -igt@gem_exec_latency@bsd-dispatch-queued -igt@gem_exec_latency@bsd-preemption -igt@gem_exec_latency@bsd-synchronisation -igt@gem_exec_latency@bsd-synchronisation-queued -igt@gem_exec_latency@render-dispatch -igt@gem_exec_latency@render-dispatch-queued -igt@gem_exec_latency@render-preemption -igt@gem_exec_latency@render-synchronisation -igt@gem_exec_latency@render-synchronisation-queued -igt@gem_exec_latency@vebox-dispatch -igt@gem_exec_latency@vebox-dispatch-queued -igt@gem_exec_latency@vebox-preemption -igt@gem_exec_latency@vebox-synchronisation -igt@gem_exec_latency@vebox-synchronisation-queued -igt@gem_exec_lut_handle -igt@gem_fence_upload@performance -igt@gem_fence_upload@thread-contention -igt@gem_fence_upload@thread-performance-both -igt@gem_fence_upload@thread-performance-read -igt@gem_fence_upload@thread-performance-write -igt@gem_fence_upload@wc-contention -igt@gem_gtt_speed -igt@gem_read_read_speed@read-read-1x1 -igt@gem_read_read_speed@read-read-128x128 -igt@gem_read_read_speed@read-read-256x256 -igt@gem_read_read_speed@read-read-512x512 -igt@gem_read_read_speed@read-read-1024x1024 -igt@gem_read_read_speed@read-read-2048x2048 -igt@gem_read_read_speed@read-read-4096x4096 -igt@gem_read_read_speed@read-read-8192x8192 -igt@gem_read_read_speed@read-write-1x1 -igt@gem_read_read_speed@read-write-128x128 -igt@gem_read_read_speed@read-write-256x256 -igt@gem_read_read_speed@read-write-512x512 -igt@gem_read_read_speed@read-write-1024x1024 -igt@gem_read_read_speed@read-write-2048x2048 -igt@gem_read_read_speed@read-write-4096x4096 -igt@gem_read_read_speed@read-write-8192x8192 -igt@gem_read_read_speed@write-read-1x1 -igt@gem_read_read_speed@write-read-128x128 -igt@gem_read_read_speed@write-read-256x256 -igt@gem_read_read_speed@write-read-512x512 -igt@gem_read_read_speed@write-read-1024x1024 -igt@gem_read_read_speed@write-read-2048x2048 -igt@gem_read_read_speed@write-read-4096x4096 -igt@gem_read_read_speed@write-read-8192x8192 -igt@gem_read_read_speed@write-write-1x1 -igt@gem_read_read_speed@write-write-128x128 -igt@gem_read_read_speed@write-write-256x256 -igt@gem_read_read_speed@write-write-512x512 -igt@gem_read_read_speed@write-write-1024x1024 -igt@gem_read_read_speed@write-write-2048x2048 -igt@gem_read_read_speed@write-write-4096x4096 -igt@gem_read_read_speed@write-write-8192x8192

Test gem_mmap_gtt:

        Subgroup basic-small-bo-tiledx:
                pass       -> FAIL       (fi-gdg-551) fdo#102575
Test prime_vgem:
        Subgroup basic-fence-flip:
                pass       -> FAIL       (fi-byt-n2820) fdo#104008

fdo#102575 https://bugs.freedesktop.org/show_bug.cgi?id=102575
fdo#104008 https://bugs.freedesktop.org/show_bug.cgi?id=104008

fi-bdw-5557u     total:288  pass:267  dwarn:0   dfail:0   fail:0   skip:21  time:420s
fi-bdw-gvtdvm    total:288  pass:264  dwarn:0   dfail:0   fail:0   skip:24  time:426s
fi-blb-e6850     total:288  pass:223  dwarn:1   dfail:0   fail:0   skip:64  time:372s
fi-bsw-n3050     total:288  pass:242  dwarn:0   dfail:0   fail:0   skip:46  time:482s
fi-bwr-2160      total:288  pass:183  dwarn:0   dfail:0   fail:0   skip:105 time:282s
fi-bxt-dsi       total:288  pass:258  dwarn:0   dfail:0   fail:0   skip:30  time:483s
fi-bxt-j4205     total:288  pass:259  dwarn:0   dfail:0   fail:0   skip:29  time:482s
fi-byt-j1900     total:288  pass:253  dwarn:0   dfail:0   fail:0   skip:35  time:469s
fi-byt-n2820     total:288  pass:248  dwarn:0   dfail:0   fail:1   skip:39  time:453s
fi-cfl-s2        total:288  pass:262  dwarn:0   dfail:0   fail:0   skip:26  time:574s
fi-elk-e7500     total:288  pass:229  dwarn:0   dfail:0   fail:0   skip:59  time:415s
fi-gdg-551       total:288  pass:179  dwarn:0   dfail:0   fail:1   skip:108 time:278s
fi-glk-1         total:288  pass:260  dwarn:0   dfail:0   fail:0   skip:28  time:513s
fi-hsw-4770      total:288  pass:261  dwarn:0   dfail:0   fail:0   skip:27  time:389s
fi-hsw-4770r     total:288  pass:261  dwarn:0   dfail:0   fail:0   skip:27  time:397s
fi-ilk-650       total:288  pass:228  dwarn:0   dfail:0   fail:0   skip:60  time:413s
fi-ivb-3520m     total:288  pass:259  dwarn:0   dfail:0   fail:0   skip:29  time:458s
fi-ivb-3770      total:288  pass:255  dwarn:0   dfail:0   fail:0   skip:33  time:415s
fi-kbl-7500u     total:288  pass:263  dwarn:1   dfail:0   fail:0   skip:24  time:458s
fi-kbl-7560u     total:288  pass:269  dwarn:0   dfail:0   fail:0   skip:19  time:498s
fi-kbl-7567u     total:288  pass:268  dwarn:0   dfail:0   fail:0   skip:20  time:456s
fi-kbl-r         total:288  pass:261  dwarn:0   dfail:0   fail:0   skip:27  time:500s
fi-pnv-d510      total:288  pass:222  dwarn:1   dfail:0   fail:0   skip:65  time:577s
fi-skl-6260u     total:288  pass:268  dwarn:0   dfail:0   fail:0   skip:20  time:426s
fi-skl-6600u     total:288  pass:261  dwarn:0   dfail:0   fail:0   skip:27  time:512s
fi-skl-6700hq    total:288  pass:262  dwarn:0   dfail:0   fail:0   skip:26  time:525s
fi-skl-6700k2    total:288  pass:264  dwarn:0   dfail:0   fail:0   skip:24  time:485s
fi-skl-6770hq    total:288  pass:268  dwarn:0   dfail:0   fail:0   skip:20  time:487s
fi-skl-guc       total:288  pass:260  dwarn:0   dfail:0   fail:0   skip:28  time:415s
fi-skl-gvtdvm    total:288  pass:265  dwarn:0   dfail:0   fail:0   skip:23  time:430s
fi-snb-2520m     total:288  pass:248  dwarn:0   dfail:0   fail:0   skip:40  time:525s
fi-snb-2600      total:288  pass:248  dwarn:0   dfail:0   fail:0   skip:40  time:410s

Blacklisted hosts:
fi-glk-dsi total:288 pass:258 dwarn:0 dfail:0 fail:0 skip:30 time:468s

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_862/issues.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#13 lore raw

[igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/6] tests/gem_exec_latency: Move to benchmarks

In reply to Abdiel Janulgue
== Series Details ==

== Series Details ==

Series: series starting with [i-g-t,1/6] tests/gem_exec_latency: Move to benchmarks
URL : https://patchwork.freedesktop.org/series/37647/
State : success

== Summary ==

Test kms_flip:

        Subgroup 2x-plain-flip-ts-check:
                fail       -> PASS       (shard-hsw) fdo#100368
        Subgroup 2x-flip-vs-expired-vblank-interruptible:
                fail       -> PASS       (shard-hsw) fdo#102887
        Subgroup modeset-vs-vblank-race:
                pass       -> FAIL       (shard-hsw) fdo#103060 +1
Test kms_cursor_legacy:
        Subgroup flip-vs-cursor-toggle:
                fail       -> PASS       (shard-hsw) fdo#102670 +1
Test gem_eio:
        Subgroup in-flight-external:
                pass       -> FAIL       (shard-hsw) fdo#104676
Test kms_vblank:
        Subgroup pipe-b-ts-continuation-suspend:
                pass       -> FAIL       (shard-snb) fdo#104783
Test perf:
        Subgroup buffer-fill:
                pass       -> FAIL       (shard-apl) fdo#103755

fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
fdo#102887 https://bugs.freedesktop.org/show_bug.cgi?id=102887
fdo#103060 https://bugs.freedesktop.org/show_bug.cgi?id=103060
fdo#102670 https://bugs.freedesktop.org/show_bug.cgi?id=102670
fdo#104676 https://bugs.freedesktop.org/show_bug.cgi?id=104676
fdo#104783 https://bugs.freedesktop.org/show_bug.cgi?id=104783
fdo#103755 https://bugs.freedesktop.org/show_bug.cgi?id=103755

shard-apl        total:2836 pass:1749 dwarn:1   dfail:0   fail:22  skip:1064 time:12383s
shard-hsw        total:2836 pass:1731 dwarn:1   dfail:0   fail:13  skip:1090 time:11724s
shard-snb        total:2836 pass:1326 dwarn:2   dfail:0   fail:11  skip:1497 time:6406s

Blacklisted hosts:
shard-kbl total:2789 pass:1837 dwarn:1 dfail:0 fail:21 skip:929 time:9177s

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_862/shards.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev