lkml.org 
[lkml]   [2005]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC 1/3] Framework for accurate node based statistics
    Christoph Lameter wrote:
    > On Wed, 7 Dec 2005, Nick Piggin wrote:
    >
    >
    >>Sorry, I think I meant: why don't you just use the "add all counters
    >>from all per-cpu of the node" in order to find the node-statistic?
    >
    >
    > which function is that?
    >

    I'm thinking of get_page_state_node... but that's not quite the same
    thing. I guess sum all per-CPU counters from all zones in the node,
    but that's going to be costly on big machines.

    So I'm not sure, I guess I don't have any bright ideas... there is the
    batching approach used by current pagecache_acct - is something like
    that not sufficient either?

    --
    SUSE Labs, Novell Inc.

    Send instant messages to your online friends http://au.messenger.yahoo.com

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-12-08 00:02    [W:3.195 / U:0.792 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site