From: "Paul Menage" <menage@google.com>
To: balbir@linux.vnet.ibm.com
Cc: vatsa@in.ibm.com, linux-kernel@vger.kernel.org, xemul@sw.ru,
dev@sw.ru, akpm@linux-foundation.org, devel@openvz.org
Subject: Re: [RFC][PATCH] Per container statistics
Date: Thu, 24 May 2007 09:12:41 -0700 [thread overview]
Message-ID: <6599ad830705240912q1d556c66xe239a9940fd8f373@mail.gmail.com> (raw)
In-Reply-To: <4655B668.2090306@linux.vnet.ibm.com>
On 5/24/07, Balbir Singh <balbir@linux.vnet.ibm.com> wrote:
>
> I thought about this approach, but did not implement the code this way
> because a system could have thousands of containers and expecting a
> statistics application to open a file descriptor each time for each
> container will turn out to be an expensive operation
>
> overhead = 2 syscalls (open + close) * number of containers * frequency
> of stats collections
But you can cache the file handles open between stats calls, assuming
you're doing them repeatedly.
Paul
prev parent reply other threads:[~2007-05-24 16:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-14 17:44 Balbir Singh
2007-05-15 7:12 ` Kirill Korotaev
2007-05-15 7:23 ` Balbir Singh
2007-05-21 20:56 ` Paul Menage
2007-05-24 15:59 ` Balbir Singh
2007-05-24 16:12 ` Paul Menage [this message]
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=6599ad830705240912q1d556c66xe239a9940fd8f373@mail.gmail.com \
--to=menage@google.com \
--cc=akpm@linux-foundation.org \
--cc=balbir@linux.vnet.ibm.com \
--cc=dev@sw.ru \
--cc=devel@openvz.org \
--cc=linux-kernel@vger.kernel.org \
--cc=vatsa@in.ibm.com \
--cc=xemul@sw.ru \
/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®