lkml.org 
[lkml]   [2011]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Reduce vm_stat cacheline contention in __vm_enough_memory
    On Wed, 12 Oct 2011, Tim Chen wrote:

    > Yeah, we have had this discussion on vm_enough_memory before.
    >
    > https://lkml.org/lkml/2011/1/26/473
    >
    > The current version of per cpu counter was not really suitable because
    > the batch size is not appropriate. I've tried to use per cpu counter
    > with batch size adjusted in my attempt. Andrew has suggested having an
    > elastic batch size that's proportional to the size of the central
    > counter but I haven't gotten around to try that out.

    These counter are already managed as a ZVC counter. It may be easiest to
    adjust the batching parameters for those to solve this issue.


    \
     
     \ /
      Last update: 2011-10-13 16:17    [W:0.020 / U:0.392 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site