OpenVZ Forum


Home » Mailing lists » Devel » [RFC] [PATCH] memory controller statistics
Re: [RFC] [PATCH] memory controller statistics [message #21428 is a reply to message #21427] Tue, 09 October 2007 03:11 Go to previous messageGo to previous message
Balbir Singh is currently offline  Balbir Singh
Messages: 491
Registered: August 2006
Senior Member
YAMAMOTO Takashi wrote:
>> Forgot to mention one other detail, could we track the statistics
>> in bytes? We track usage and limit in bytes currently. I am open
>> to opinions on this, but the last time we discussed numbers,
>> tracking bytes was the preferred approach.
> 
> while /proc/vmstat and others uses number of pages?
> IMO, numbers of pages make more sense for this kind of statistics.
> 

Yes, I thought so too, but consensus was built around using
bytes for limit and usage for the memory controller. Keeping
all stats in the same units would make it less confusing for users.

> however, if there's a consensus, i can follow.  after all,
> it's merely a matter of taste.
> 

I agree

> YAMAMOTO Takashi


-- 
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH][for -mm] Fix and Enhancements for memory cgroup [0/6] intro
Next Topic: [PATCH 0/6][NET-2.6.24] Consolidate private allocations in seq files
Goto Forum:
  


Current Time: Sat Sep 13 17:32:17 GMT 2025

Total time taken to generate the page: 0.08189 seconds