<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - SIGBUS, Bus error during command buffer recording"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105509#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - SIGBUS, Bus error during command buffer recording"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105509">bug 105509</a>
              from <span class="vcard"><a class="email" href="mailto:ytriffy@gmail.com" title="Vyacheslav <ytriffy@gmail.com>"> <span class="fn">Vyacheslav</span></a>
</span></b>
        <pre>So the root cause is the anv_allocator. Command buffer takes up a lot of maped
memory: 2320+4096+16384 bytes for anv_cmd_buffer and surface state, dynamic
state. Then allocator rounds this to be power of 2 - 32KB. So one command
buffer takes up 32KB. And maximum amount of maped memory per device is 1GB.
It's enough for ~32000 command buffers. After that mmap fails.

So default allocator was designed for small number of command buffers.</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 the QA Contact for the bug.</li>
      </ul>
    </body>
</html>