public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@sgi.com>
To: Ravikiran G Thirumalai <kiran@in.ibm.com>
Cc: Niels Christiansen <nchr@us.ibm.com>,
	lse-tech@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: [RFC] [PATCH] Scalable Statistics Counters
Date: Thu, 06 Dec 2001 23:59:57 +1100	[thread overview]
Message-ID: <15733.1007643597@ocs3.intra.ocs.com.au> (raw)
In-Reply-To: Your message of "Thu, 06 Dec 2001 18:03:53 +0530." <20011206180353.E20583@in.ibm.com>

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.


  reply	other threads:[~2001-12-06 13:00 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-05 15:02 [Lse-tech] [RFC] [PATCH] Scalable Statistics Counters Niels Christiansen
2001-12-06 12:33 ` Ravikiran G Thirumalai
2001-12-06 12:59   ` Keith Owens [this message]
2001-12-06 13:07   ` Arjan van de Ven
2001-12-06 14:09     ` Ravikiran G Thirumalai
2001-12-06 14:10       ` Arjan van de Ven
2001-12-06 19:35         ` Dipankar Sarma
2001-12-07 21:09     ` Alex Bligh - linux-kernel
2001-12-07 21:16       ` Arjan van de Ven
     [not found] <20011205163153.E16315@in.ibm.com.suse.lists.linux.kernel>
     [not found] ` <Pine.LNX.4.33L.0112051109340.4079-100000@imladris.surriel.com.suse.lists.linux.kernel>
2001-12-05 14:03   ` Andi Kleen
  -- strict thread matches above, loose matches on Subject: below --
2001-12-05 11:01 Ravikiran G Thirumalai
2001-12-05 13:13 ` Rik van Riel
2001-12-05 15:39   ` Dipankar Sarma
2001-12-05 20:08   ` Andrew Morton
2001-12-06  3:18     ` Rusty Russell
2001-12-07 12:52       ` Dipankar Sarma
2001-12-08  7:38         ` Rusty Russell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15733.1007643597@ocs3.intra.ocs.com.au \
    --to=kaos@sgi.com \
    --cc=kiran@in.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lse-tech@lists.sourceforge.net \
    --cc=nchr@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox