Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1451421

Re: [PATCH 15/32] cacheinfo: Introduce cache id

From Nilay Vaish <nilayvaish@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 15/32] cacheinfo: Introduce cache id
Date 2016-07-27 19:10 +0200
Message-ID <rZAvg-2cU-11@gated-at.bofh.it> (permalink)
References <rUe2l-2xx-3@gated-at.bofh.it> <rUe2n-2xx-69@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 12 July 2016 at 20:02, Fenghua Yu <fenghua.yu@intel.com> wrote:
> From: Fenghua Yu <fenghua.yu@intel.com>
>
> Each cache is described by cacheinfo and is unique in the same index
> across the platform. But there is no id for a cache. We introduce cache
> ID to identify a cache.
>
> Intel Cache Allocation Technology (CAT) allows some control on the
> allocation policy within each cache that it controls. We need a unique
> cache ID for each cache level to allow the user to specify which
> controls are applied to which cache. Cache id is a concise way to specify
> a cache.
>
> Cache id is first enabled on x86. It can be enabled on other platforms
> as well. The cache id is not necessary contiguous.
>
> Add an "id" entry to /sys/devices/system/cpu/cpu*/cache/index*/


Can you explain what index and platform mean?  I think those terms are
generic in nature.   May be an example on how cache ids would be
assigned to different caches would help.

--
Nilay

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 15/32] cacheinfo: Introduce cache id Nilay Vaish <nilayvaish@gmail.com> - 2016-07-27 19:10 +0200

csiph-web