lkml.org 
[lkml]   [2018]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v7 11/13] arch/x86: Introduce QOS feature for AMD
Date
> From: Moger, Babu [mailto:Babu.Moger@amd.com]
> >> I'm wondering: does that mean the tasks running with this closid
> >> directly access memory without cache? Is there any usage for this
> situation?
>
> Here is the detailed answer to your question from Doug(in CC).
>
> A closid with L3_MASK of all 0's will not use any of the L3 cache, but will still
> be able to use L2 cache. So, no, the processes in that closid will not
> "directly access memory" in the sense that they will use the L1 and L2
> caches as normal. But if they miss the L2 then, yes, the access will go
> directly to memory. To be precise, none of the lines which are fetched by a
> process running with such a configuration will be installed in the L3 cache,
> so subsequent accesses which miss the L2 cache will not find the requested
> data in the L3 cache and will then go on to access memory.

Seems all zeros CBM reduces the caches to L1 and L2. This might be useful in fast access to small data fitting in L2.

Thank you very much for your explanation!

-Fenghua
\
 
 \ /
  Last update: 2018-11-14 20:31    [W:0.116 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site