Re: [RFC] [PATCH] Scalable Statistics Counters

From: Keith Owens (kaos@sgi.com)
Date: Thu Dec 06 2001 - 07:59:57 EST


On Thu, 6 Dec 2001 18:03:53 +0530,
Ravikiran G Thirumalai <kiran@in.ibm.com> wrote:
>Hope we can come out with a really cool and acceptable interface..

How about a user space interface that runs at machine speed and
extracts counters without any syscall overhead? This proposal got very
little attention at the time so we put it aside until more people
were interested.

http://marc.theaimsgroup.com/?l=linux-kernel&m=98578952028153&w=2

Ralf Baechle has pointed out one problem, virtually indexed caches :(.
That prevents a single user space mmap over the scattered kernel pages,
kernel and user space addresses have to be in sync in the cache. So
user space sees the scattered pages and has to run the structure
itself. No big deal, just a library function that converts an instance
name and cpu number into an address.

-
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:33 EST