Re: [RFC] Scalable statistics counters using kmalloc_percpu

From: Rik van Riel (riel@conectiva.com.br)
Date: Fri Jul 26 2002 - 10:27:40 EST


On Fri, 26 Jul 2002, Ravikiran G Thirumalai wrote:

> Rik, You were interested in using this. Does this implementation suit
> your needs?

>From a quick glance it looks like it will.

However, it might be more efficient to put the statistics
in one file in /proc with named fields, or have a way to
group them in one or multiple files.

Not sure about that, though ... really depends on how
expensive stat+open+read+close is compared to parsing a
file with multiple fields.

regards,

Rik

-- 
Bravely reimplemented by the knights who say "NIH".

http://www.surriel.com/ http://distro.conectiva.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/



This archive was generated by hypermail 2b29 : Tue Jul 30 2002 - 14:00:24 EST