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


Groups > linux.kernel > #1195472

RE: [PATCH 3/9] x86/intel_rdt: Cache Allocation documentation and cgroup usage guide

From Vikas Shivappa <vikas.shivappa@intel.com>
Newsgroups linux.kernel
Subject RE: [PATCH 3/9] x86/intel_rdt: Cache Allocation documentation and cgroup usage guide
Date 2015-07-29 22:10 +0200
Message-ID <pRFPQ-1zd-13@gated-at.bofh.it> (permalink)
References <pHyFX-2Jd-3@gated-at.bofh.it> <pHyFY-2Jd-7@gated-at.bofh.it> <pRmWS-7IT-9@gated-at.bofh.it> <pRn6x-8bu-5@gated-at.bofh.it> <pRolX-1At-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On Tue, 28 Jul 2015, Auld, Will wrote:

>
>
>> -----Original Message-----
>>
>> Same comment as above - Cgroup masks can always overlap and other cgroups
>> can allocate the same cache , and hence wont have exclusive cache allocation.
>
> [Auld, Will] You can define all the cbm to provide one clos with an exclusive area

Do you mean a CLOS that has all the bits set. We donot support exclusive area 
today. The bits in the mask can overlap .. hence can always share the same cache 
allocation .

>
>>
>> So natuarally the cgroup with tasks would get to use the cache if it has the same
>> mask (say representing 50% of cache in your example) as others .
>
> [Auld, Will] automatic adjustment of the cbm make me nervous. There are times
> when we want to limit the cache for a process independent of whether there is
> lots of unused cache.
>

Please see example below - In general , I just mean the cache mask can have bits 
that can overlap - does not matter whether there is tasks in it or not.

>
>> (assume there are 8 bits max cbm)
>> cgroupa - mask - 0xf
>> cgroupb - mask - 0xf . Now if cgroupa has no tasks , cgroupb naturally gets all
>> the cache.
>>
>> Thanks,
>> Vikas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

RE: [PATCH 3/9] x86/intel_rdt: Cache Allocation documentation and  cgroup usage guide "Auld, Will" <will.auld@intel.com> - 2015-07-29 03:30 +0200
  Re: [PATCH 3/9] x86/intel_rdt: Cache Allocation documentation and  cgroup usage guide Marcelo Tosatti <mtosatti@redhat.com> - 2015-07-29 21:40 +0200
    Re: [PATCH 3/9] x86/intel_rdt: Cache Allocation documentation and  cgroup usage guide Marcelo Tosatti <mtosatti@redhat.com> - 2015-07-30 22:10 +0200
      Re: [PATCH 3/9] x86/intel_rdt: Cache Allocation documentation and  cgroup usage guide Marcelo Tosatti <mtosatti@redhat.com> - 2015-07-31 17:40 +0200
      Re: [PATCH 3/9] x86/intel_rdt: Cache Allocation documentation and  cgroup usage guide Martin Kletzander <mkletzan@redhat.com> - 2015-08-02 17:50 +0200
        Re: [PATCH 3/9] x86/intel_rdt: Cache Allocation documentation and  cgroup usage guide Marcelo Tosatti <mtosatti@redhat.com> - 2015-08-03 17:20 +0200
          Re: [PATCH 3/9] x86/intel_rdt: Cache Allocation documentation and  cgroup usage guide Vikas Shivappa <vikas.shivappa@intel.com> - 2015-08-03 20:30 +0200
    Re: [PATCH 3/9] x86/intel_rdt: Cache Allocation documentation and  cgroup usage guide Marcelo Tosatti <mtosatti@redhat.com> - 2015-07-31 17:20 +0200
      [summary] Re: [PATCH 3/9] x86/intel_rdt: Cache Allocation documentation  and cgroup usage guide Vikas Shivappa <vikas.shivappa@intel.com> - 2015-07-31 18:50 +0200
  RE: [PATCH 3/9] x86/intel_rdt: Cache Allocation documentation and  cgroup usage guide Vikas Shivappa <vikas.shivappa@intel.com> - 2015-07-29 22:10 +0200

csiph-web