OpenVZ Forum


Home » Mailing lists » Devel » [RFC][PATCH] Per container statistics
Re: [RFC][PATCH] Per container statistics [message #13320 is a reply to message #13316] Thu, 24 May 2007 16:12 Go to previous message
Paul Menage is currently offline  Paul Menage
Messages: 642
Registered: September 2006
Senior Member
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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PPC64 2.6.18 kernel compilation fix
Next Topic: [PATCH netdev] "wrong timeout value" in sk_wait_data()
Goto Forum:
  


Current Time: Wed Sep 11 03:39:22 GMT 2024

Total time taken to generate the page: 0.05158 seconds