Re: [RFC PATCH 2/3] sched: change scheduler to give preference to soft affinity CPUs

2019-07-18 Thread Subhra Mazumdar
On 7/18/19 5:07 PM, Peter Zijlstra wrote: On Wed, Jul 17, 2019 at 08:31:25AM +0530, Subhra Mazumdar wrote: On 7/2/19 10:58 PM, Peter Zijlstra wrote: On Wed, Jun 26, 2019 at 03:47:17PM -0700, subhra mazumdar wrote: The soft affinity CPUs present in the cpumask cpus_preferred is used by the sc

Re: [RFC PATCH 2/3] sched: change scheduler to give preference to soft affinity CPUs

2019-07-18 Thread Peter Zijlstra
On Wed, Jul 17, 2019 at 08:31:25AM +0530, Subhra Mazumdar wrote: > > On 7/2/19 10:58 PM, Peter Zijlstra wrote: > > On Wed, Jun 26, 2019 at 03:47:17PM -0700, subhra mazumdar wrote: > > > The soft affinity CPUs present in the cpumask cpus_preferred is used by > > > the > > > scheduler in two levels

Re: [RFC PATCH 2/3] sched: change scheduler to give preference to soft affinity CPUs

2019-07-16 Thread Subhra Mazumdar
On 7/2/19 10:58 PM, Peter Zijlstra wrote: On Wed, Jun 26, 2019 at 03:47:17PM -0700, subhra mazumdar wrote: The soft affinity CPUs present in the cpumask cpus_preferred is used by the scheduler in two levels of search. First is in determining wake affine which choses the LLC domain and secondly

Re: [RFC PATCH 2/3] sched: change scheduler to give preference to soft affinity CPUs

2019-07-02 Thread Peter Zijlstra
On Wed, Jun 26, 2019 at 03:47:17PM -0700, subhra mazumdar wrote: > The soft affinity CPUs present in the cpumask cpus_preferred is used by the > scheduler in two levels of search. First is in determining wake affine > which choses the LLC domain and secondly while searching for idle CPUs in > LLC d

[RFC PATCH 2/3] sched: change scheduler to give preference to soft affinity CPUs

2019-06-26 Thread subhra mazumdar
The soft affinity CPUs present in the cpumask cpus_preferred is used by the scheduler in two levels of search. First is in determining wake affine which choses the LLC domain and secondly while searching for idle CPUs in LLC domain. In the first level it uses cpus_preferred to prune out the search