[Bug 94145] [KBL/APL] Process killed when executing gem_ctx_thrash / threads

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jun 4 08:05:36 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94145

Chris Wilson <chris at chris-wilson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #8 from Chris Wilson <chris at chris-wilson.co.uk> ---
(In reply to Humberto Israel Perez Rodriguez from comment #4)
> (In reply to Chris Wilson from comment #2)
> > It should still die unless they have a machine with more memory...
> 
> 
> Hi Chris :
> 
> it would be great if you can tell us with are the exact amount of memory
> that we need in order to run this test, because looks like that the ram for
> KBL (4GB) / APL (8GB) is not enough right ? 
> 
> as information APL & KBL support until 16GB but the ram in KBL is imbibed
> which mean that we are not able to increase it, only we can do it in BXT-P
> 
> meanwhile this test is fail on BXT-P with the following configuration
> 
> test : igt at gem_ctx_thrash@threads
> 
> test output
> ===============================
> (gem_ctx_thrash:1941) igt-core-DEBUG: Test requirement passed:
> !igt_run_in_simulation()
> (gem_ctx_thrash:1941) igt-core-DEBUG: Starting subtest: threads
> Creating 98304 contexts (assuming of size 65536)
> (gem_ctx_thrash:1941) intel-os-DEBUG: Checking 98,304 surfaces of size
> 65,536 bytes (total 6,492,782,592) against RAM + swap
> (gem_ctx_thrash:1941) intel-os-DEBUG: Test requirement passed:
> __intel_check_memory(count, size, mode, &required, &total)
> (gem_ctx_thrash:1941) igt-core-DEBUG: Test requirement passed:
> !igt_run_in_simulation()
> (gem_ctx_thrash:1941) ioctl-wrappers-CRITICAL: Test assertion failure
> function gem_execbuf, file ioctl_wrappers.c:589:
> (gem_ctx_thrash:1941) ioctl-wrappers-CRITICAL: Failed assertion:
> __gem_execbuf(fd, execbuf) == 0
> (gem_ctx_thrash:1941) ioctl-wrappers-CRITICAL: error: -5 != 0

This is not the same error as the original report which was oom.

commit d2a810ed2d6d1aab310cb6c16131fe7a0e436bba
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sat Jun 4 08:48:33 2016 +0100

    igt/gem_ctx_thrash: Scale estimated usage by execlists.num_engines

    Since with execlists we use a context per-engine, we consume a lot more
    space than we were currently estimating. Enough to hit oom on some
    machines.

    References: https://bugs.freedesktop.org/show_bug.cgi?id=94145
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

should factor execlists into account for memory usage and so prevent further
oom. The GPU hang is another bug...

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160604/2400c2d6/attachment.html>


More information about the intel-gfx-bugs mailing list