From mboxrd@z Thu Jan 1 00:00:00 1970 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 14:01:03 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0909727691==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 5114A6E82D for ; Fri, 9 Feb 2018 14:01:03 +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 --===============0909727691== Content-Type: multipart/alternative; boundary="15181848634.0F9839.18859" Content-Transfer-Encoding: 7bit --15181848634.0F9839.18859 Date: Fri, 9 Feb 2018 14:01:03 +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 #25 from Christian K=C3=B6nig --- (In reply to Andreas Kilgus from comment #24) > (In reply to Christian K=C3=B6nig from comment #23) > > Take a look at /proc/pagetypeinfo. There must at least be pages at orde= r 9 > > or higher for an 2MB swiotlb allocation to succeed. >=20 > OK, I had a look and if I got it right: memory fragmentation lets the mal= loc > fail. I still would not call that to "run out of memory" - there= is > enough memory available, its current layout is just not in the desired > shape. ;) Yeah, correct. One interesting point is that this only seems to happen when DC is enabled,= so that points to a possible memory leak there. Would be interesting to monitor amdgpu_gem_info if there are an increasing number of buffers around when DC is enabled. --=20 You are receiving this mail because: You are the assignee for the bug.= --15181848634.0F9839.18859 Date: Fri, 9 Feb 2018 14:01:03 +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 # 25 on bug 10408= 2 from Christian K=C3= =B6nig
(In reply to Andreas Kilgus from comment #24)
> (In reply to Christian K=C3=B6nig from comment #23)
> > Take a look at /proc/pagetypeinfo. There must at least be pages a=
t order 9
> > or higher for an 2MB swiotlb allocation to succeed.
>=20
> OK, I had a look and if I got it right: memory fragmentation lets the =
malloc
> fail. <nitpick>I still would not call that to "run out of m=
emory" - there is
> enough memory available, its current layout is just not in the desired
> shape.</nitpick> ;)

Yeah, correct.

One interesting point is that this only seems to happen when DC is enabled,=
 so
that points to a possible memory leak there.

Would be interesting to monitor amdgpu_gem_info if there are an increasing
number of buffers around when DC is enabled.


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