Re: [PATCH 2/2] Make batch size for memory accounting configured according to size of memory

2013-05-01 Thread Tim Chen
On Wed, 2013-05-01 at 13:09 +0800, Ric Mason wrote: > Hi Tim, > On 04/30/2013 01:12 AM, Tim Chen wrote: > > Currently the per cpu counter's batch size for memory accounting is > > configured as twice the number of cpus in the system. However, > > for system with very large memory, it is more appro

Re: [PATCH 2/2] Make batch size for memory accounting configured according to size of memory

2013-04-30 Thread Ric Mason
Hi Tim, On 04/30/2013 01:12 AM, Tim Chen wrote: Currently the per cpu counter's batch size for memory accounting is configured as twice the number of cpus in the system. However, for system with very large memory, it is more appropriate to make it proportional to the memory size per cpu in the s

[PATCH 2/2] Make batch size for memory accounting configured according to size of memory

2013-04-29 Thread Tim Chen
Currently the per cpu counter's batch size for memory accounting is configured as twice the number of cpus in the system. However, for system with very large memory, it is more appropriate to make it proportional to the memory size per cpu in the system. For example, for a x86_64 system with 64 c