Skip to content

Fix issues on benchmarks

Mauro Carvalho Chehab igt-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/23 patches 4 repliesIn review
  2. v2 posting 1/23 patches 0 repliesSuperseded
  3. v11 patch 1 replySuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3benchmarks/gem_blt: fix baseline estimationbenchmarks/gem_blt.c+5 -130 replies
2/3benchmarks/gem_syslatency: don't die with SIGSEGVbenchmarks/gem_syslatency.c+10 -41 reply
3/3benchmarks/gem_syslatency: make realtime mode optionalbenchmarks/gem_syslatency.c+11 -33 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchKamil Konieczny
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [igt-dev] [PATCH i-g-t v2 0/3] Fix issues on benchmarks

From: Mauro Carvalho Chehab <[email protected]>

There are two benchmarks that aren't work properly:

- gem_blt is not estimating a loop count that would be close to 0.1 ms. The current calculus provide a value that would take ~23 days to complete (tested on ADL-P):

	$ sudo timeout 100 ./build/benchmarks/gem_blt || echo "Timeout!"
	Timeout!

- gem_syslatency crashes with SIGSEGV, if the environment is not ready to use realtime priority. The root cause is that setting realtime now requires some CGroup changes nowadays:

	$ sudo ./build/benchmarks/gem_syslatency
	Received signal SIGSEGV.
	Stack trace:
	 #0 [fatal_sig_handler+0x163]
	 #1 [__sigaction+0x50]
	 #2 [__pthread_clockjoin_ex+0x22]
	 #3 [main+0x346]
	 #4 [__libc_start_call_main+0x80]
	 #5 [__libc_start_main+0x89]
	 #6 [_start+0x25]
	Segmentation fault

This series addresses such issues.

Mauro Carvalho Chehab (3):
benchmarks/gem_blt: fix baseline estimation benchmarks/gem_syslatency: don't die with SIGSEGV benchmarks/gem_syslatency: make realtime mode optional

 benchmarks/gem_blt.c        | 18 +++++-------------
 benchmarks/gem_syslatency.c | 28 +++++++++++++++++++++-------
 2 files changed, 26 insertions(+), 20 deletions(-)
Signature · 1 line
2.36.1