<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [KBL/APL] Process killed when executing gem_ctx_thrash / threads"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94145">bug 94145</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [KBL/APL] Process killed when executing gem_ctx_thrash / threads"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94145#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [KBL/APL] Process killed when executing gem_ctx_thrash / threads"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94145">bug 94145</a>
              from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
        <pre>(In reply to Humberto Israel Perez Rodriguez from <a href="show_bug.cgi?id=94145#c4">comment #4</a>)
<span class="quote">> (In reply to Chris Wilson from <a href="show_bug.cgi?id=94145#c2">comment #2</a>)
> > 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@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</span >

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

commit d2a810ed2d6d1aab310cb6c16131fe7a0e436bba
Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
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: <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [KBL/APL] Process killed when executing gem_ctx_thrash / threads"
   href="show_bug.cgi?id=94145">https://bugs.freedesktop.org/show_bug.cgi?id=94145</a>
    Signed-off-by: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>

should factor execlists into account for memory usage and so prevent further
oom. The GPU hang is another bug...</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>