Re: [PATCH 06/11] sched/irq: add irq utilization tracking

2018-07-31 Thread Vincent Guittot
On Tue, 31 Jul 2018 at 05:32, Wanpeng Li wrote: > > > > > > > > #if defined(CONFIG_IRQ_TIME_ACCOUNTING) || > > > > defined(CONFIG_PARAVIRT_TIME_ACCOUNTING) > > > > if ((irq_delta + steal) && sched_feat(NONTASK_CAPACITY)) > > > > - sched_rt_avg_update(rq, irq_delta +

Re: [PATCH 06/11] sched/irq: add irq utilization tracking

2018-07-31 Thread Vincent Guittot
On Tue, 31 Jul 2018 at 05:32, Wanpeng Li wrote: > > > > > > > > #if defined(CONFIG_IRQ_TIME_ACCOUNTING) || > > > > defined(CONFIG_PARAVIRT_TIME_ACCOUNTING) > > > > if ((irq_delta + steal) && sched_feat(NONTASK_CAPACITY)) > > > > - sched_rt_avg_update(rq, irq_delta +

Re: [PATCH 06/11] sched/irq: add irq utilization tracking

2018-07-30 Thread Wanpeng Li
On Tue, 31 Jul 2018 at 00:43, Vincent Guittot wrote: > > Hi Wanpeng, > > On Thu, 26 Jul 2018 at 05:09, Wanpeng Li wrote: > > > > Hi Vincent, > > On Fri, 29 Jun 2018 at 03:07, Vincent Guittot > > wrote: > > > > > > interrupt and steal time are the only remaining activities tracked by > > >

Re: [PATCH 06/11] sched/irq: add irq utilization tracking

2018-07-30 Thread Wanpeng Li
On Tue, 31 Jul 2018 at 00:43, Vincent Guittot wrote: > > Hi Wanpeng, > > On Thu, 26 Jul 2018 at 05:09, Wanpeng Li wrote: > > > > Hi Vincent, > > On Fri, 29 Jun 2018 at 03:07, Vincent Guittot > > wrote: > > > > > > interrupt and steal time are the only remaining activities tracked by > > >

Re: [PATCH 06/11] sched/irq: add irq utilization tracking

2018-07-30 Thread Vincent Guittot
Hi Wanpeng, On Thu, 26 Jul 2018 at 05:09, Wanpeng Li wrote: > > Hi Vincent, > On Fri, 29 Jun 2018 at 03:07, Vincent Guittot > wrote: > > > > interrupt and steal time are the only remaining activities tracked by > > rt_avg. Like for sched classes, we can use PELT to track their average > >

Re: [PATCH 06/11] sched/irq: add irq utilization tracking

2018-07-30 Thread Vincent Guittot
Hi Wanpeng, On Thu, 26 Jul 2018 at 05:09, Wanpeng Li wrote: > > Hi Vincent, > On Fri, 29 Jun 2018 at 03:07, Vincent Guittot > wrote: > > > > interrupt and steal time are the only remaining activities tracked by > > rt_avg. Like for sched classes, we can use PELT to track their average > >

Re: [PATCH 06/11] sched/irq: add irq utilization tracking

2018-07-25 Thread Wanpeng Li
Hi Vincent, On Fri, 29 Jun 2018 at 03:07, Vincent Guittot wrote: > > interrupt and steal time are the only remaining activities tracked by > rt_avg. Like for sched classes, we can use PELT to track their average > utilization of the CPU. But unlike sched class, we don't track when >

Re: [PATCH 06/11] sched/irq: add irq utilization tracking

2018-07-25 Thread Wanpeng Li
Hi Vincent, On Fri, 29 Jun 2018 at 03:07, Vincent Guittot wrote: > > interrupt and steal time are the only remaining activities tracked by > rt_avg. Like for sched classes, we can use PELT to track their average > utilization of the CPU. But unlike sched class, we don't track when >

[PATCH 06/11] sched/irq: add irq utilization tracking

2018-06-28 Thread Vincent Guittot
interrupt and steal time are the only remaining activities tracked by rt_avg. Like for sched classes, we can use PELT to track their average utilization of the CPU. But unlike sched class, we don't track when entering/leaving interrupt; Instead, we take into account the time spent under interrupt

[PATCH 06/11] sched/irq: add irq utilization tracking

2018-06-28 Thread Vincent Guittot
interrupt and steal time are the only remaining activities tracked by rt_avg. Like for sched classes, we can use PELT to track their average utilization of the CPU. But unlike sched class, we don't track when entering/leaving interrupt; Instead, we take into account the time spent under interrupt