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


Groups > linux.kernel > #1435544

Re: [PATCH] cacheinfo: Introduce cache id

From Borislav Petkov <bp@suse.de>
Newsgroups linux.kernel
Subject Re: [PATCH] cacheinfo: Introduce cache id
Date 2016-07-01 20:40 +0200
Message-ID <rQbw5-1BY-29@gated-at.bofh.it> (permalink)
References <rPwCC-1DZ-7@gated-at.bofh.it> <rQ3RT-5r0-3@gated-at.bofh.it> <rQ9Xj-B0-7@gated-at.bofh.it> <rQaqm-ZW-17@gated-at.bofh.it> <rQb34-1sB-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Jul 01, 2016 at 06:01:06PM +0000, Yu, Fenghua wrote:
> Cache id is unique on the same level of cache across platform.

Btw, I forgot to ask in the reply to Tony: how are those cache IDs
exactly going to be used? An example please...

> Could you check cpu#/cache/index#/shared_cpu_map or shared_cpu_list.

Bah, my kvm is on an AMD guest - forget what it says :-)

> Cache id is unique on the same level across platform.
> 
> #find /sys/device/system/cpu/. -name id|xargs cat

Btw, you could do

grep . /sys/devices/system/cpu/cpu*/cache/index*/id

and it'll give you the absolute filepaths too, so that the output is
parseable easier.

-- 
Regards/Gruss,
    Boris.

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
-- 

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


Thread

[PATCH] cacheinfo: Introduce cache id "Fenghua Yu" <fenghua.yu@intel.com> - 2016-06-30 01:00 +0200
  [PATCH] cacheinfo: Introduce cache id "Fenghua Yu" <fenghua.yu@intel.com> - 2016-06-30 01:00 +0200
  Re: [PATCH] cacheinfo: Introduce cache id Borislav Petkov <bp@suse.de> - 2016-07-01 12:30 +0200
    Re: [PATCH] cacheinfo: Introduce cache id "Luck, Tony" <tony.luck@intel.com> - 2016-07-01 19:00 +0200
      Re: [PATCH] cacheinfo: Introduce cache id Borislav Petkov <bp@suse.de> - 2016-07-01 19:30 +0200
        RE: [PATCH] cacheinfo: Introduce cache id "Yu, Fenghua" <fenghua.yu@intel.com> - 2016-07-01 20:10 +0200
          Re: [PATCH] cacheinfo: Introduce cache id Borislav Petkov <bp@suse.de> - 2016-07-01 20:40 +0200
            Re: [PATCH] cacheinfo: Introduce cache id Borislav Petkov <bp@suse.de> - 2016-07-04 20:00 +0200
        Re: [PATCH] cacheinfo: Introduce cache id "Luck, Tony" <tony.luck@intel.com> - 2016-07-01 20:10 +0200
          RE: [PATCH] cacheinfo: Introduce cache id "Yu, Fenghua" <fenghua.yu@intel.com> - 2016-07-01 20:40 +0200
            Re: [PATCH] cacheinfo: Introduce cache id Borislav Petkov <bp@suse.de> - 2016-07-01 20:50 +0200
              RE: [PATCH] cacheinfo: Introduce cache id "Yu, Fenghua" <fenghua.yu@intel.com> - 2016-07-01 21:10 +0200
                Re: [PATCH] cacheinfo: Introduce cache id Borislav Petkov <bp@suse.de> - 2016-07-04 19:40 +0200
          Re: [PATCH] cacheinfo: Introduce cache id Borislav Petkov <bp@suse.de> - 2016-07-01 20:50 +0200

csiph-web