From: Andrea Arcangeli <andrea@suse.de>
To: Dipankar Sarma <dipankar@in.ibm.com>
Cc: tiwai@suse.de, Robert Love <rml@ximian.com>,
Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] RCU for low latency (experimental)
Date: Tue, 23 Mar 2004 13:46:51 +0100 [thread overview]
Message-ID: <20040323124651.GK22639@dualathlon.random> (raw)
In-Reply-To: <20040323123426.GG3676@in.ibm.com>
On Tue, Mar 23, 2004 at 06:04:26PM +0530, Dipankar Sarma wrote:
> I have a patch for that too which I have been testing for DoS in
> route cache, not latency. It is worth testing it here, however
> I think re-arming tasklets is not as friendly to latency as
> executing the rcu callbacks from process context. One thing
> I have noticed is that more softirqs worsen latency irrespective
> of the worst-case softirq length.
if we keep getting new interrupts in a flood, we'll also execute those
callbacks in a flood, that's why the number of callbacks executed must
be very small for every tasklet, the cost of the tasklet should be small
compared to the whole cost of the irq taking to hardware too, so I don't
see much problems with softirqs, if you don't get a flood of hw-irqs,
the callback load will be offloaded to ksoftirqd etc... softirqs are
also guaranteed to make progress despite not running RT. That's the
best for you. eventd must run RT. And if you don't make your userspace
krcud RT you can run a box out of memory with a RT application, while if
you make it RT you'll again generate the latencies making krcud useless.
this is btw, why I implemented rcu_poll using softirqs, problem is that
softirqs are so low latency that we couldn't coalesce many callbacks
together to maximze icache and so we've to reach less quiescient points
per second to do the same work etc... so we delay it at the next irq,
that's fine, but if there's too much work to do, going back to the
softirq model like in rcu_poll sounds the natural way to go.
prev parent reply other threads:[~2004-03-23 12:46 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-23 10:17 [PATCH] RCU for low latency (experimental) Dipankar Sarma
2004-03-23 10:25 ` Andrew Morton
2004-03-23 10:41 ` Dipankar Sarma
2004-03-23 10:35 ` Arjan van de Ven
2004-03-23 10:45 ` Dipankar Sarma
2004-03-23 12:31 ` Andrea Arcangeli
2004-03-23 12:40 ` Dipankar Sarma
2004-03-23 12:50 ` Andrea Arcangeli
2004-03-24 17:26 ` Paul E. McKenney
2004-03-24 17:51 ` Andrea Arcangeli
2004-03-24 20:02 ` Paul E. McKenney
2004-03-24 23:36 ` Andrea Arcangeli
2004-03-25 0:43 ` Paul E. McKenney
2004-03-24 21:39 ` Dipankar Sarma
2004-03-24 22:53 ` Andrea Arcangeli
2004-03-24 23:11 ` Dipankar Sarma
2004-03-24 23:34 ` Andrea Arcangeli
2004-03-24 23:46 ` Dipankar Sarma
2004-03-24 23:51 ` Andrea Arcangeli
2004-03-28 16:53 ` Takashi Iwai
2004-03-28 17:20 ` Dipankar Sarma
2004-03-28 17:28 ` Takashi Iwai
2004-03-29 10:43 ` Takashi Iwai
2004-03-29 12:20 ` Dipankar Sarma
2004-03-23 12:40 ` Arjan van de Ven
2004-03-23 12:29 ` Andrea Arcangeli
2004-03-23 12:34 ` Dipankar Sarma
2004-03-23 12:46 ` Andrea Arcangeli [this message]
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=20040323124651.GK22639@dualathlon.random \
--to=andrea@suse.de \
--cc=akpm@osdl.org \
--cc=dipankar@in.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rml@ximian.com \
--cc=tiwai@suse.de \
/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