From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110481] performance hot issues in amdgpu_cs_ib_vm_chunk Date: Mon, 22 Apr 2019 02:50:57 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0910206298==" 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 52AAB89126 for ; Mon, 22 Apr 2019 02:50:58 +0000 (UTC) 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 --===============0910206298== Content-Type: multipart/alternative; boundary="15559014580.5aaabdaB.8900" Content-Transfer-Encoding: 7bit --15559014580.5aaabdaB.8900 Date: Mon, 22 Apr 2019 02:50:58 +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=3D110481 Bug ID: 110481 Summary: performance hot issues in amdgpu_cs_ib_vm_chunk Product: DRI Version: DRI git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: baopeng88_com@163.com We have encountered performance hot issues in vce module. Cpu occupancy rate has been in the alloc_vmap_area function. We found that calling the alloc_vmap_area function mainly occurs in the amdgpu_cs_ib_vm_chunk function. So we removed the main loop judgment logic = of amdgpu_cs_ib_vm_chunk. as follows . - if (p->ring->funcs->parse_cs || p->ring->funcs->patch_cs_in_place) { + if (0) If we don't delete, vce will be very slow. Is this the fundamental way to solve the problem? Or there are other ways to solve the problem=EF=BC=9F 3q very much. --=20 You are receiving this mail because: You are the assignee for the bug.= --15559014580.5aaabdaB.8900 Date: Mon, 22 Apr 2019 02:50:58 +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
Bug ID 110481
Summary performance hot issues in amdgpu_cs_ib_vm_chunk
Product DRI
Version DRI git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter baopeng88_com@163.com

We have encountered performance hot issues in vce module. Cpu =
occupancy rate
has been in the alloc_vmap_area function.
We found that calling the alloc_vmap_area function mainly occurs in the
amdgpu_cs_ib_vm_chunk function. So we removed the main loop judgment logic =
of
amdgpu_cs_ib_vm_chunk.
as follows .
-       if (p->ring->funcs->parse_cs || p->ring->funcs->p=
atch_cs_in_place) {
+       if (0)
If we don't delete, vce will be very slow.

Is this the fundamental way to solve the problem? Or there are other ways to
solve the problem=EF=BC=9F

3q very much.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15559014580.5aaabdaB.8900-- --===============0910206298== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0910206298==--