[Devel] Re: [RFC][PATCH] Per container statistics
Paul Menage
menage at google.com
Thu May 24 09:12:41 PDT 2007
On 5/24/07, Balbir Singh <balbir at 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
More information about the Devel
mailing list