From: Balbir Singh <balbir@linux.vnet.ibm.com>
To: Guillaume Chazarain <guichaz@gmail.com>
Cc: Nikanth Karthikesan <knikanth@suse.de>,
linux-kernel@vger.kernel.org, procps-feedback@lists.sf.net,
Albert Cahalan <albert@users.sf.net>
Subject: Re: [PATCH 1/3] taskstats-fork: Add a new taskstats command to get notification on fork/clone
Date: Mon, 31 Aug 2009 10:56:29 +0530 [thread overview]
Message-ID: <20090831052629.GA16742@balbir.in.ibm.com> (raw)
In-Reply-To: <3d8471ca0908301252j15cb33b1j913921bd8fc6704c@mail.gmail.com>
* Guillaume Chazarain <guichaz@gmail.com> [2009-08-30 21:52:22]:
> On Tue, Jul 21, 2009 at 8:24 AM, Nikanth Karthikesan<knikanth@suse.de> wrote:
> > Ah.. proc-events was the exact thing, I was looking for! Thanks.
>
> AFAICT proc-events can only be used by root, so that makes it
> unsuitable for *top.
>
> Anyway, iotop will always have to iterate over all threads to query
> their taskstats and other attributes, so the O(nr_threads) complexity
> is unavoidable.
>
Unless you want the stats for tgid in signal struct. In some cases we
accumulate, in some we don't. But yes irrespective or kernel/user
space the complexity exists.
--
Balbir
next prev parent reply other threads:[~2009-08-31 6:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-21 5:01 Nikanth Karthikesan
2009-07-21 6:01 ` Balbir Singh
2009-07-21 6:24 ` Nikanth Karthikesan
2009-08-30 19:52 ` Guillaume Chazarain
2009-08-31 5:26 ` Balbir Singh [this message]
2009-08-31 9:11 ` Nikanth Karthikesan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090831052629.GA16742@balbir.in.ibm.com \
--to=balbir@linux.vnet.ibm.com \
--cc=albert@users.sf.net \
--cc=guichaz@gmail.com \
--cc=knikanth@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=procps-feedback@lists.sf.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®