Re: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-28 Thread Rafael J. Wysocki
On Wed, Mar 28, 2018 at 10:41 PM, Doug Smythies wrote: > On 2018.03.28 08:15 Thomas Ilsche wrote: >> On 2018-03-28 12:56, Rafael J. Wysocki wrote: >>> On Wed, Mar 28, 2018 at 12:37 PM, Rafael J. Wysocki >>> wrote: On Wed, Mar 28, 2018 at 10:38 AM,

Re: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-28 Thread Rafael J. Wysocki
On Wed, Mar 28, 2018 at 10:41 PM, Doug Smythies wrote: > On 2018.03.28 08:15 Thomas Ilsche wrote: >> On 2018-03-28 12:56, Rafael J. Wysocki wrote: >>> On Wed, Mar 28, 2018 at 12:37 PM, Rafael J. Wysocki >>> wrote: On Wed, Mar 28, 2018 at 10:38 AM, Thomas Ilsche wrote: > On

RE: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-28 Thread Doug Smythies
On 2018.03.28 08:15 Thomas Ilsche wrote: > On 2018-03-28 12:56, Rafael J. Wysocki wrote: >> On Wed, Mar 28, 2018 at 12:37 PM, Rafael J. Wysocki >> wrote: >>> On Wed, Mar 28, 2018 at 10:38 AM, Thomas Ilsche >>> wrote: On 2018-03-28 10:13,

RE: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-28 Thread Doug Smythies
On 2018.03.28 08:15 Thomas Ilsche wrote: > On 2018-03-28 12:56, Rafael J. Wysocki wrote: >> On Wed, Mar 28, 2018 at 12:37 PM, Rafael J. Wysocki >> wrote: >>> On Wed, Mar 28, 2018 at 10:38 AM, Thomas Ilsche >>> wrote: On 2018-03-28 10:13, Rafael J. Wysocki wrote: > >> >> [cut] >> >>>

Re: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-28 Thread Thomas Ilsche
On 2018-03-28 12:56, Rafael J. Wysocki wrote: On Wed, Mar 28, 2018 at 12:37 PM, Rafael J. Wysocki wrote: On Wed, Mar 28, 2018 at 10:38 AM, Thomas Ilsche wrote: On 2018-03-28 10:13, Rafael J. Wysocki wrote: [cut] So I do $ for cpu in 0 1

Re: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-28 Thread Thomas Ilsche
On 2018-03-28 12:56, Rafael J. Wysocki wrote: On Wed, Mar 28, 2018 at 12:37 PM, Rafael J. Wysocki wrote: On Wed, Mar 28, 2018 at 10:38 AM, Thomas Ilsche wrote: On 2018-03-28 10:13, Rafael J. Wysocki wrote: [cut] So I do $ for cpu in 0 1 2 3; do taskset -c $cpu sh -c 'while true; do

Re: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-28 Thread Rafael J. Wysocki
On Wed, Mar 28, 2018 at 12:37 PM, Rafael J. Wysocki wrote: > On Wed, Mar 28, 2018 at 10:38 AM, Thomas Ilsche > wrote: >> On 2018-03-28 10:13, Rafael J. Wysocki wrote: >>> [cut] > > So I do > > $ for cpu in 0 1 2 3; do taskset -c $cpu sh -c 'while

Re: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-28 Thread Rafael J. Wysocki
On Wed, Mar 28, 2018 at 12:37 PM, Rafael J. Wysocki wrote: > On Wed, Mar 28, 2018 at 10:38 AM, Thomas Ilsche > wrote: >> On 2018-03-28 10:13, Rafael J. Wysocki wrote: >>> [cut] > > So I do > > $ for cpu in 0 1 2 3; do taskset -c $cpu sh -c 'while true; do usleep > 500; done' & done > > which

Re: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-28 Thread Rafael J. Wysocki
On Wed, Mar 28, 2018 at 10:38 AM, Thomas Ilsche wrote: > On 2018-03-28 10:13, Rafael J. Wysocki wrote: >> >> On Wed, Mar 28, 2018 at 12:10 AM, Rafael J. Wysocki >> wrote: >>> >>> On Tuesday, March 27, 2018 11:50:02 PM CEST Thomas Ilsche wrote:

Re: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-28 Thread Rafael J. Wysocki
On Wed, Mar 28, 2018 at 10:38 AM, Thomas Ilsche wrote: > On 2018-03-28 10:13, Rafael J. Wysocki wrote: >> >> On Wed, Mar 28, 2018 at 12:10 AM, Rafael J. Wysocki >> wrote: >>> >>> On Tuesday, March 27, 2018 11:50:02 PM CEST Thomas Ilsche wrote: On 2018-03-20 16:45, Rafael J. Wysocki

Re: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-28 Thread Thomas Ilsche
On 2018-03-28 10:13, Rafael J. Wysocki wrote: On Wed, Mar 28, 2018 at 12:10 AM, Rafael J. Wysocki wrote: On Tuesday, March 27, 2018 11:50:02 PM CEST Thomas Ilsche wrote: On 2018-03-20 16:45, Rafael J. Wysocki wrote: From: Rafael J. Wysocki In

Re: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-28 Thread Thomas Ilsche
On 2018-03-28 10:13, Rafael J. Wysocki wrote: On Wed, Mar 28, 2018 at 12:10 AM, Rafael J. Wysocki wrote: On Tuesday, March 27, 2018 11:50:02 PM CEST Thomas Ilsche wrote: On 2018-03-20 16:45, Rafael J. Wysocki wrote: From: Rafael J. Wysocki In order to address the issue with short idle

Re: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-28 Thread Rafael J. Wysocki
On Wed, Mar 28, 2018 at 12:10 AM, Rafael J. Wysocki wrote: > On Tuesday, March 27, 2018 11:50:02 PM CEST Thomas Ilsche wrote: >> On 2018-03-20 16:45, Rafael J. Wysocki wrote: >> > From: Rafael J. Wysocki >> > >> > In order to address the issue with

Re: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-28 Thread Rafael J. Wysocki
On Wed, Mar 28, 2018 at 12:10 AM, Rafael J. Wysocki wrote: > On Tuesday, March 27, 2018 11:50:02 PM CEST Thomas Ilsche wrote: >> On 2018-03-20 16:45, Rafael J. Wysocki wrote: >> > From: Rafael J. Wysocki >> > >> > In order to address the issue with short idle duration predictions >> > by the

Re: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-27 Thread Rafael J. Wysocki
On Tuesday, March 27, 2018 11:50:02 PM CEST Thomas Ilsche wrote: > On 2018-03-20 16:45, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > In order to address the issue with short idle duration predictions > > by the idle governor after the tick has been

Re: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-27 Thread Rafael J. Wysocki
On Tuesday, March 27, 2018 11:50:02 PM CEST Thomas Ilsche wrote: > On 2018-03-20 16:45, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > In order to address the issue with short idle duration predictions > > by the idle governor after the tick has been stopped, reorder the > > code

Re: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-27 Thread Thomas Ilsche
On 2018-03-20 16:45, Rafael J. Wysocki wrote: From: Rafael J. Wysocki In order to address the issue with short idle duration predictions by the idle governor after the tick has been stopped, reorder the code in cpuidle_idle_call() so that the governor idle state

Re: [RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-27 Thread Thomas Ilsche
On 2018-03-20 16:45, Rafael J. Wysocki wrote: From: Rafael J. Wysocki In order to address the issue with short idle duration predictions by the idle governor after the tick has been stopped, reorder the code in cpuidle_idle_call() so that the governor idle state selection runs before

[RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-20 Thread Rafael J. Wysocki
From: Rafael J. Wysocki In order to address the issue with short idle duration predictions by the idle governor after the tick has been stopped, reorder the code in cpuidle_idle_call() so that the governor idle state selection runs before tick_nohz_idle_go_idle() and

[RFT][PATCH v7 6/8] sched: idle: Select idle state before stopping the tick

2018-03-20 Thread Rafael J. Wysocki
From: Rafael J. Wysocki In order to address the issue with short idle duration predictions by the idle governor after the tick has been stopped, reorder the code in cpuidle_idle_call() so that the governor idle state selection runs before tick_nohz_idle_go_idle() and use the "nohz" hint returned