From: bugzilla-daemon@freedesktop.org Subject: [Bug 104082] amdgpu 0000:07:00.0: swiotlb buffer is full (sz: 2097152 bytes) Date: Fri, 09 Feb 2018 12:27:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0572611732==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E344B6E778 for ; Fri, 9 Feb 2018 12:27:25 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0572611732== Content-Type: multipart/alternative; boundary="15181792455.91b89eA4.25608" Content-Transfer-Encoding: 7bit --15181792455.91b89eA4.25608 Date: Fri, 9 Feb 2018 12:27:25 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D104082 --- Comment #23 from Christian K=C3=B6nig --- (In reply to Andreas Kilgus from comment #22) > I am getting these messsages on my machine right now, too. >=20 > total used free shared buffers cached > Mem: 16386788 15157252 1229536 761064 88852 2660664 > -/+ buffers/cache: 12407736 3979052 > Swap: 25165820 156 25165664 >=20 > There is enough RAM left to allocate a 2 MiB block. No there isn't. 1229536 pages free means that there are 1229536 4k pages available that doesn't tell us anything about 2MB pages, nor if those are usable for swiotlb. Take a look at /proc/pagetypeinfo. There must at least be pages at order 9 = or higher for an 2MB swiotlb allocation to succeed. An alternative workaround is David Zhou's patch which completely avoids the swiotlb allocator on x86. --=20 You are receiving this mail because: You are the assignee for the bug.= --15181792455.91b89eA4.25608 Date: Fri, 9 Feb 2018 12:27:25 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 23 on bug 10408= 2 from Christian K=C3= =B6nig
(In reply to Andreas Kilgus from comment #22)
> I am getting these messsages on my machine right=
 now, too.
>=20
>              total       used       free     shared    buffers     cac=
hed
> Mem:      16386788   15157252    1229536     761064      88852    2660=
664
> -/+ buffers/cache:   12407736    3979052
> Swap:     25165820        156   25165664
>=20
> There is enough RAM left to allocate a 2 MiB block.

No there isn't. 1229536 pages free means that there are 1229536 4k pages
available that doesn't tell us anything about 2MB pages, nor if those are
usable for swiotlb.

Take a look at /proc/pagetypeinfo. There must at least be pages at order 9 =
or
higher for an 2MB swiotlb allocation to succeed.

An alternative workaround is David Zhou's patch which completely avoids the
swiotlb allocator on x86.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15181792455.91b89eA4.25608-- --===============0572611732== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0572611732==--