Re: [RFC] [PATCH] Scalable Statistics Counters

From: Rik van Riel (riel@conectiva.com.br)
Date: Wed Dec 05 2001 - 08:13:19 EST


On Wed, 5 Dec 2001, Ravikiran G Thirumalai wrote:

> Here is a RFC for Scalable Statistics Counters.

> Initial results of micro benchmarking on 3 cpus showed a 65% reduction
> in cpu cycles used to update the proposed statistics counter, over
> global non atomic counter.

I'd use it, if there were a really easy interface to the thing.

This would include both an interface to automagically use it from
the routines where we increase variables to some automagic reporting
in /proc ;)

(it'd be so cool if we could just start using a statistic variable
through some macro and it'd be automatically declared and visible
in /proc ;))

regards,

Rik

-- 
Shortwave goes a long way:  irc.starchat.net  #swl

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 : Fri Dec 07 2001 - 21:00:28 EST