All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christian König" <deathsimple-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
To: "Michel Dänzer" <michel-otUistvHUpPR7s880joybQ@public.gmane.org>,
	zhoucm1 <david1.zhou-5C7GfCeVMHo@public.gmane.org>,
	"Marek Olšák" <maraeo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: amd-gfx mailing list
	<amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
Subject: Re: Plan: BO move throttling for visible VRAM evictions
Date: Tue, 28 Mar 2017 10:41:49 +0200	[thread overview]
Message-ID: <efb4f99c-c0b9-56ab-d73c-a03a7e136d66@vodafone.de> (raw)
In-Reply-To: <bb6d20b3-06d1-3f7d-f782-ae18d66d4423-otUistvHUpPR7s880joybQ@public.gmane.org>

Am 28.03.2017 um 10:35 schrieb Michel Dänzer:
> On 28/03/17 05:29 PM, Christian König wrote:
>> Am 28.03.2017 um 08:00 schrieb Michel Dänzer:
>>> On 28/03/17 12:50 PM, zhoucm1 wrote:
>>>> On 2017年03月28日 10:40, Michel Dänzer wrote:
>>>>> On 27/03/17 04:53 PM, Zhou, David(ChunMing) wrote:
>>>>>> For APU special case, can we prevent eviction happening between VRAM
>>>>>> <----> GTT?
>>>>> We can, if we can close the performance gap between VRAM and GTT. We
>>>>> measured around 30% gap a while ago, though right now I'm only
>>>>> measuring
>>>>> ~5%, but the test system has slower RAM now (still dual channel
>>>>> though).
>>>> My impression VRAM and GTT have no much difference for APU case, if I'm
>>>> wrong, pls correct me.
>>> The Mesa patch below makes radeonsi use mostly GTT instead of mostly
>>> VRAM, and slows down Unigine Valley by about 5% on my desktop Kaveri.
>>> You can try it for yourself.
>> Additional to that you still need the stolen VRAM on APUs for page
>> tables and DCE.
>>
>> So we need to keep the eviction from VRAM to GTT enabled, but what we
>> don't do is swapping them back in because Marek added the GTT flags on
>> APUs as extra domain to look into.
> As long as there's a performance gap between VRAM and GTT, this means
> that performance of long-running apps (e.g. Xorg or the compositor) will
> degrade over time, or after e.g. a suspend-resume cycle.
>
> OTOH, if we can close the gap, we can stop trying to put most BOs in
> VRAM in the first place with APUs.

Yeah, John and I are already working on this (but mostly for GFX9).

The difference is that VRAM allocations are mostly contiguously, while 
GTT allocations are scattered. So you got more TLB pressure with GTT.

Christian.

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2017-03-28  8:41 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-24 16:33 Plan: BO move throttling for visible VRAM evictions Marek Olšák
     [not found] ` <CAAxE2A4ap8BoOEg1tOF+Ec1vBfZRSANOebikYBaHUfXokY7EwA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-03-24 16:45   ` Christian König
     [not found]     ` <2667ea68-b700-69a1-391c-b34fe1ed0605-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-03-24 16:57       ` Marek Olšák
2017-03-24 16:59   ` Deucher, Alexander
2017-03-24 20:17   ` Samuel Pitoiset
2017-03-27  7:35   ` Michel Dänzer
     [not found]     ` <ba8058ce-805b-3e52-095a-01806673344f-otUistvHUpPR7s880joybQ@public.gmane.org>
2017-03-27  7:53       ` Zhou, David(ChunMing)
     [not found]         ` <MWHPR1201MB0206FD6ABB9A0029624E4AF6B4330-3iK1xFAIwjrUF/YbdlDdgWrFom/aUZj6nBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-03-27  9:29           ` Christian König
     [not found]             ` <a675c878-f191-a6fc-72f3-fd07062c8737-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-03-27  9:36               ` zhoucm1
     [not found]                 ` <58D8DD01.8050901-5C7GfCeVMHo@public.gmane.org>
2017-03-27  9:55                   ` Christian König
     [not found]                     ` <f9850969-e4ff-f9f2-ed18-53cd2bb031f3-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-03-28  3:58                       ` zhoucm1
2017-03-28  2:40           ` Michel Dänzer
     [not found]             ` <441ea5b9-d37d-140d-e029-26a7c3ae58cb-otUistvHUpPR7s880joybQ@public.gmane.org>
2017-03-28  3:50               ` zhoucm1
     [not found]                 ` <58D9DD8D.4000803-5C7GfCeVMHo@public.gmane.org>
2017-03-28  6:00                   ` Michel Dänzer
     [not found]                     ` <10958b11-6d28-228a-5142-2c5edadb70ef-otUistvHUpPR7s880joybQ@public.gmane.org>
2017-03-28  8:29                       ` Christian König
     [not found]                         ` <f7ee08e8-46ca-8146-f3a3-d28080e5267f-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-03-28  8:35                           ` Michel Dänzer
     [not found]                             ` <bb6d20b3-06d1-3f7d-f782-ae18d66d4423-otUistvHUpPR7s880joybQ@public.gmane.org>
2017-03-28  8:41                               ` Christian König [this message]
     [not found]                                 ` <efb4f99c-c0b9-56ab-d73c-a03a7e136d66-ANTagKRnAhcb1SvskN2V4Q@public.gmane.org>
2017-03-28 10:47                                   ` Marek Olšák
2017-03-28 13:58                           ` Alex Deucher
     [not found]                             ` <CADnq5_P5X1zS4DJ63XQ6Hgi_rGOWYKCdUkGgU2uGMb2Sh1ZnKw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-03-28 14:05                               ` Christian König
2017-03-27 10:29       ` Marek Olšák
     [not found]         ` <CAAxE2A5OCfgu4k-GzNFhGSkgn21jEJoQysdZ6QbdxZaGwPnrEA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-03-28  1:07           ` Michel Dänzer
     [not found]             ` <03c34461-6918-0875-10c3-488bacbae0e4-otUistvHUpPR7s880joybQ@public.gmane.org>
2017-03-28 10:51               ` Marek Olšák
2017-03-30 10:03   ` Michel Dänzer
     [not found]     ` <9220eda1-5176-36cd-e6b3-801c3e4f759a-otUistvHUpPR7s880joybQ@public.gmane.org>
2017-03-31  3:24       ` Michel Dänzer
     [not found]         ` <78989271-9812-f891-3a00-0d5b39a06b7c-otUistvHUpPR7s880joybQ@public.gmane.org>
2017-04-03 20:11           ` Marek Olšák
     [not found]             ` <CAAxE2A60hubc8jbZkO101sxqVZKR8iub=GsfRovj17+P2zKDKQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-04-14 10:14               ` Michel Dänzer
     [not found]                 ` <aee1e2b7-dd00-e24b-bcfc-e2299e31908b-otUistvHUpPR7s880joybQ@public.gmane.org>
2017-04-16 22:58                   ` Marek Olšák
     [not found]                     ` <CAAxE2A5g7tJG+94XxPr-mdGXkeL1GPMNMaYgc7ATEk7pxsiXfA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-04-17  9:55                       ` Michel Dänzer
     [not found]                         ` <c343b89c-318f-d3af-d02e-4e6843c422f6-otUistvHUpPR7s880joybQ@public.gmane.org>
2017-05-13 21:31                           ` Marek Olšák
     [not found]                             ` <CAAxE2A5_tiOEvLVegNvkuvYrFcsU52H6EfCff3faKBZwPfbuYQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-15  2:29                               ` Michel Dänzer
     [not found]                                 ` <a5a8428e-444a-34b9-7fa9-60e77582819a-otUistvHUpPR7s880joybQ@public.gmane.org>
2017-05-15 10:11                                   ` Marek Olšák
     [not found]                                     ` <CAAxE2A4ex4e-5ShqesZ8oXJj1CnmH6Enhvu4fXs9kDKu9NHeiQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-16  1:57                                       ` Michel Dänzer
     [not found]                                         ` <78fe31b2-2a0a-a1af-6af8-954d892e34ba-otUistvHUpPR7s880joybQ@public.gmane.org>
2017-05-17 12:35                                           ` Marek Olšák
     [not found]                                             ` <CAAxE2A7mh7pmbbszk1qnChPxZtVMzRBWY2GkB1DEcrEZ0t5m3w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-18  8:17                                               ` Michel Dänzer
     [not found]                                                 ` <4548bad6-2dc9-29be-b62e-33c181db77af-otUistvHUpPR7s880joybQ@public.gmane.org>
2017-05-18  8:39                                                   ` Christian König
2017-05-18 10:22                                                   ` Marek Olšák
     [not found]                                                     ` <CAAxE2A5L3vRth0dL=niTUR=M5i7_VmP4FEUPBeaEjtY8cveOmw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-19  7:45                                                       ` Michel Dänzer
2017-05-15  4:37                               ` zhoucm1
     [not found]                                 ` <5919307C.4020704-5C7GfCeVMHo@public.gmane.org>
2017-05-15 10:18                                   ` Marek Olšák
     [not found]                                     ` <CAAxE2A5Yz8GoRnXwWeeSt5ZxwRbiT9W1RLYPTTUE=vojKukQug-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-05-16  1:58                                       ` Michel Dänzer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=efb4f99c-c0b9-56ab-d73c-a03a7e136d66@vodafone.de \
    --to=deathsimple-antagkrnahcb1svskn2v4q@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=david1.zhou-5C7GfCeVMHo@public.gmane.org \
    --cc=maraeo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=michel-otUistvHUpPR7s880joybQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.