From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pekka Paalanen Subject: Re: Proposal to report GPU private memory allocations with sysfs nodes [plain text version] Date: Fri, 1 Nov 2019 10:36:57 +0200 Message-ID: <20191101103657.2107c6e1@eldfell.localdomain> References: <20191028152602.GA5057@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0728738959==" Return-path: Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by gabe.freedesktop.org (Postfix) with ESMTPS id 16B966F778 for ; Fri, 1 Nov 2019 08:37:03 +0000 (UTC) Received: by mail-lf1-x144.google.com with SMTP id j5so6677397lfh.10 for ; Fri, 01 Nov 2019 01:37:02 -0700 (PDT) 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: Yiwei Zhang Cc: Alistair Delva , Rohan Garg , Jerome Glisse , dri-devel , Prahlad Kilambi , Sean Paul , kraxel@redhat.com, Kenny Ho , Chris Forbes , kernel-team@android.com List-Id: dri-devel@lists.freedesktop.org --===============0728738959== Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/71_1y_/UebQwU77xs.ZB44P"; protocol="application/pgp-signature" --Sig_/71_1y_/UebQwU77xs.ZB44P Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 31 Oct 2019 13:57:00 -0400 Kenny Ho wrote: > Hi Yiwei, >=20 > This is the latest series: > https://patchwork.kernel.org/cover/11120371/ >=20 > (I still need to reply some of the feedback.) >=20 > Regards, > Kenny >=20 > On Thu, Oct 31, 2019 at 12:59 PM Yiwei Zhang wrote: > > > > Hi Kenny, > > > > Thanks for the info. Do you mind forwarding the existing discussion to = me or have me cc'ed in that thread? > > > > Best, > > Yiwei > > > > On Wed, Oct 30, 2019 at 10:23 PM Kenny Ho wrote: =20 > >> > >> Hi Yiwei, > >> > >> I am not sure if you are aware, there is an ongoing RFC on adding drm > >> support in cgroup for the purpose of resource tracking. One of the > >> resource is GPU memory. It's not exactly the same as what you are > >> proposing (it doesn't track API usage, but it tracks the type of GPU > >> memory from kmd perspective) but perhaps it would be of interest to > >> you. There are no consensus on it at this point. Hi Yiwei, I'd like to point out an effort to have drivers label BOs for debugging purposes: https://lists.freedesktop.org/archives/dri-devel/2019-October/239= 727.html I don't know if it would work, but an obvious idea might be to use those labels for tracking the kinds of buffers - a piece of UAPI which I believe you are still missing. Thanks, pq --Sig_/71_1y_/UebQwU77xs.ZB44P Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJQjwWQChkWOYOIONI1/ltBGqqqcFAl277qkACgkQI1/ltBGq qqdasg/+L7AMBuEcOctPh2xN9N7udurjruTsynKBCsvu31KWXg4dAqxHdDe5fWF7 MFqpii0DJ4DMlBSkLi/0WhS9Wdih+nL/pDdwUGFTMMuA/O/mzsbffXJEsvmUO7zK hc07JvxtqMRHY3j9OQmjwTMUP6gEauc0TFkCKoWmhGCYXxaGp9eLp+jIgUJQDnSY nIvslAwtQqB3tRUlM4DegGy1+Ne7w/vVXSGmQ/FMVy50zJEhUFwqY8evVKg+3iCd 9LHZSo63LuwOQIuPC8/gZaDhsYfFOBHIiwEFtd2fIerI/kcS7/ZDwTk08Dk5AOj2 QEiv7H+jrIEuuS+MyRgLqoT9gandPQN1dpF6ry9Oh+jciCd+oyDoKbBsgaBo3WvW wSNHowHbr/+yDnm+Ynm6S9BLohX2viSKHkngx0+mmC7BgKMz2rJfFbcG4tFv0/C1 FG2loZLBw1h+sk1lRHb4B5C1nlcGdylszXFkCKIJirHwcSrBxamuU15ZZQursaOg TMrpNW/bi6I9QzVUKw+VuG3LF38vHwwxbT9gppwnILm/epp9RAWGy6dhg32Jnj0Q DFG4EHn1/CosageOlxuHsSoxYHd44WyAxBorpjdLe0X4tQ3/Ur4aS0CyznuAJc1I uiZUKjK9WISpG6tSPl1xT/F6l40v8D7+ELDNd7xWMdbqBdtSClQ= =uIbm -----END PGP SIGNATURE----- --Sig_/71_1y_/UebQwU77xs.ZB44P-- --===============0728738959== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0728738959==--