[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150626083933.GB15883@naverao1-tp.in.ibm.com>
Date: Fri, 26 Jun 2015 14:09:33 +0530
From: "Naveen N. Rao" <naveen.n.rao@...ux.vnet.ibm.com>
To: Cong Wang <xiyou.wangcong@...il.com>
Cc: Balbir Singh <bsingharora@...il.com>,
Ingo Molnar <mingo@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] proc/schedstat: Expose /proc/<pid>/schedstat if delay
accounting is enabled
On 2015/06/25 11:40AM, Cong Wang wrote:
> On Thu, Jun 25, 2015 at 11:27 AM, Naveen N. Rao
> <naveen.n.rao@...ux.vnet.ibm.com> wrote:
> >
> > The primary issue with CONFIG_SCHEDSTATS is the (slight) additional
> > overhead it introduces, per Kconfig. Due to this, it is not enabled by
> > default by some of the distro kernels.
> >
>
> The overhead is same for CONFIG_TASK_DELAY_ACCT since the
> core sched info code is protected by CONFIG_TASK_DELAY_ACCT
> or CONFIG_TASK_DELAY_ACCT?
CONFIG_SCHEDSTATS enables a lot more scheduler statistics
(/proc/schedstat) than just the task delay accounting enabled by
CONFIG_TASK_DELAY_ACCT. So, no - the overhead is not the same.
- Naveen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists