The event counters we are considering are per cpu and you can ask the vm statistics subsystem to give you per cpu or global counts. The global counts are calculated by summing up all per processor counts. We also have other counters (ZVC) that are per zone (they are updated per cpu per zone.. and are extremely scalable as well). Values can be obtained for those by zone, node or global. The global counters and the per zone counters do *not* have to be summed up (unlike event counters) but are kept current (within a certain delta). If you need global counters and want to avoid summing up over all processors then I would suggest that you use a ZVC or look at the existing ZVCs and see if any of those are usable for you. For ZVCs see include/linux/mmzone.h For event counters see include/linux/vmstat.h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Avoid allocating during interleave from almost full nodes
- From: Christoph Lameter <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Andrew Morton <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Christoph Lameter <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Andrew Morton <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Paul Jackson <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Andrew Morton <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Paul Jackson <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Christoph Lameter <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Paul Jackson <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Peter Zijlstra <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Paul Jackson <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Peter Zijlstra <[email protected]>
- Re: Avoid allocating during interleave from almost full nodes
- From: Paul Jackson <[email protected]>
- Avoid allocating during interleave from almost full nodes
- Prev by Date: Re: New laptop - problems with linux
- Next by Date: [PATCH 2/33] usb: pcwd_usb free urb cleanup
- Previous by thread: Re: Avoid allocating during interleave from almost full nodes
- Next by thread: Re: Avoid allocating during interleave from almost full nodes
- Index(es):