Re: [RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain

2020-09-27 Thread Li, Aubrey
On 2020/9/26 0:45, Vincent Guittot wrote: > Le vendredi 25 sept. 2020 à 17:21:46 (+0800), Li, Aubrey a écrit : >> Hi Vicent, >> >> On 2020/9/24 21:09, Vincent Guittot wrote: >> >> Would you mind share uperf(netperf load) result on your side? That's the >> workload I have seen the most

Re: [RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain

2020-09-25 Thread Vincent Guittot
Le vendredi 25 sept. 2020 à 17:21:46 (+0800), Li, Aubrey a écrit : > Hi Vicent, > > On 2020/9/24 21:09, Vincent Guittot wrote: > > Would you mind share uperf(netperf load) result on your side? That's the > workload I have seen the most benefit this patch contributed under heavy >

Re: [RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain

2020-09-25 Thread Li, Aubrey
Hi Vicent, On 2020/9/24 21:09, Vincent Guittot wrote: Would you mind share uperf(netperf load) result on your side? That's the workload I have seen the most benefit this patch contributed under heavy load level. >>> >>> with uperf, i've got the same kind of result as sched

Re: [RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain

2020-09-25 Thread Vincent Guittot
Hi Tim On Thu, 24 Sep 2020 at 18:37, Tim Chen wrote: > > > > On 9/22/20 12:14 AM, Vincent Guittot wrote: > > >> > > And a quick test with hackbench on my octo cores arm64 gives for 12 > > Vincent, > > Is it octo (=10) or octa (=8) cores on a single socket for your system? it's a 8

Re: [RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain

2020-09-24 Thread Phil Auld
On Thu, Sep 24, 2020 at 10:43:12AM -0700 Tim Chen wrote: > > > On 9/24/20 10:13 AM, Phil Auld wrote: > > On Thu, Sep 24, 2020 at 09:37:33AM -0700 Tim Chen wrote: > >> > >> > >> On 9/22/20 12:14 AM, Vincent Guittot wrote: > >> > > >> > >> And a quick test with hackbench on my octo

Re: [RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain

2020-09-24 Thread Tim Chen
On 9/24/20 10:13 AM, Phil Auld wrote: > On Thu, Sep 24, 2020 at 09:37:33AM -0700 Tim Chen wrote: >> >> >> On 9/22/20 12:14 AM, Vincent Guittot wrote: >> >> >> And a quick test with hackbench on my octo cores arm64 gives for 12 >> >> Vincent, >> >> Is it octo (=10) or octa (=8)

Re: [RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain

2020-09-24 Thread Phil Auld
On Thu, Sep 24, 2020 at 09:37:33AM -0700 Tim Chen wrote: > > > On 9/22/20 12:14 AM, Vincent Guittot wrote: > > >> > > And a quick test with hackbench on my octo cores arm64 gives for 12 > > Vincent, > > Is it octo (=10) or octa (=8) cores on a single socket for your system? In what

Re: [RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain

2020-09-24 Thread Tim Chen
On 9/22/20 12:14 AM, Vincent Guittot wrote: >> And a quick test with hackbench on my octo cores arm64 gives for 12 Vincent, Is it octo (=10) or octa (=8) cores on a single socket for your system? The L2 is per core or there are multiple L2s shared among groups of cores? Wonder if

Re: [RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain

2020-09-24 Thread Vincent Guittot
On Thu, 24 Sep 2020 at 05:04, Li, Aubrey wrote: > > On 2020/9/23 16:50, Vincent Guittot wrote: > > On Wed, 23 Sep 2020 at 04:59, Li, Aubrey wrote: > >> > >> Hi Vincent, > >> > >> On 2020/9/22 15:14, Vincent Guittot wrote: > >>> On Tue, 22 Sep 2020 at 05:33, Li, Aubrey > >>> wrote: > >

Re: [RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain

2020-09-23 Thread Vincent Guittot
On Wed, 23 Sep 2020 at 04:59, Li, Aubrey wrote: > > Hi Vincent, > > On 2020/9/22 15:14, Vincent Guittot wrote: > > On Tue, 22 Sep 2020 at 05:33, Li, Aubrey wrote: > >> > >> On 2020/9/21 23:21, Vincent Guittot wrote: > >>> On Mon, 21 Sep 2020 at 17:14, Vincent Guittot > >>> wrote: > >

Re: [RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain

2020-09-22 Thread Vincent Guittot
On Tue, 22 Sep 2020 at 05:33, Li, Aubrey wrote: > > On 2020/9/21 23:21, Vincent Guittot wrote: > > On Mon, 21 Sep 2020 at 17:14, Vincent Guittot > > wrote: > >> > >> On Thu, 17 Sep 2020 at 11:21, Li, Aubrey wrote: > >>> > >>> On 2020/9/16 19:00, Mel Gorman wrote: > On Wed, Sep 16, 2020 at

Re: [RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain

2020-09-21 Thread Vincent Guittot
On Mon, 21 Sep 2020 at 17:14, Vincent Guittot wrote: > > On Thu, 17 Sep 2020 at 11:21, Li, Aubrey wrote: > > > > On 2020/9/16 19:00, Mel Gorman wrote: > > > On Wed, Sep 16, 2020 at 12:31:03PM +0800, Aubrey Li wrote: > > >> Added idle cpumask to track idle cpus in sched domain. When a CPU > > >>

Re: [RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain

2020-09-21 Thread Vincent Guittot
On Thu, 17 Sep 2020 at 11:21, Li, Aubrey wrote: > > On 2020/9/16 19:00, Mel Gorman wrote: > > On Wed, Sep 16, 2020 at 12:31:03PM +0800, Aubrey Li wrote: > >> Added idle cpumask to track idle cpus in sched domain. When a CPU > >> enters idle, its corresponding bit in the idle cpumask will be set,

Re: [RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain

2020-09-17 Thread Li, Aubrey
On 2020/9/16 19:00, Mel Gorman wrote: > On Wed, Sep 16, 2020 at 12:31:03PM +0800, Aubrey Li wrote: >> Added idle cpumask to track idle cpus in sched domain. When a CPU >> enters idle, its corresponding bit in the idle cpumask will be set, >> and when the CPU exits idle, its bit will be cleared. >>

Re: [RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain

2020-09-16 Thread Valentin Schneider
On 16/09/20 12:00, Mel Gorman wrote: > On Wed, Sep 16, 2020 at 12:31:03PM +0800, Aubrey Li wrote: >> Added idle cpumask to track idle cpus in sched domain. When a CPU >> enters idle, its corresponding bit in the idle cpumask will be set, >> and when the CPU exits idle, its bit will be cleared.

Re: [RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain

2020-09-16 Thread Mel Gorman
On Wed, Sep 16, 2020 at 12:31:03PM +0800, Aubrey Li wrote: > Added idle cpumask to track idle cpus in sched domain. When a CPU > enters idle, its corresponding bit in the idle cpumask will be set, > and when the CPU exits idle, its bit will be cleared. > > When a task wakes up to select an idle

Re: [RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain

2020-09-16 Thread Vincent Guittot
On Wed, 16 Sep 2020 at 13:00, Mel Gorman wrote: > > On Wed, Sep 16, 2020 at 12:31:03PM +0800, Aubrey Li wrote: > > Added idle cpumask to track idle cpus in sched domain. When a CPU > > enters idle, its corresponding bit in the idle cpumask will be set, > > and when the CPU exits idle, its bit

[RFC PATCH v2] sched/fair: select idle cpu from idle cpumask in sched domain

2020-09-15 Thread Aubrey Li
Added idle cpumask to track idle cpus in sched domain. When a CPU enters idle, its corresponding bit in the idle cpumask will be set, and when the CPU exits idle, its bit will be cleared. When a task wakes up to select an idle cpu, scanning idle cpumask has low cost than scanning all the cpus in