From: Dipankar Sarma <dipankar@in.ibm.com>
To: Andrew Morton <akpm@osdl.org>
Cc: tiwai@suse.de, andrea@suse.de, rml@ximian.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] RCU for low latency (experimental)
Date: Tue, 23 Mar 2004 16:11:03 +0530 [thread overview]
Message-ID: <20040323104103.GD3676@in.ibm.com> (raw)
In-Reply-To: <20040323022540.2c0c7154.akpm@osdl.org>
On Tue, Mar 23, 2004 at 02:25:40AM -0800, Andrew Morton wrote:
> Dipankar Sarma <dipankar@in.ibm.com> wrote:
> >
> > Here is the RCU patch for low scheduling latency Andrew was talking
> > about in the other thread. I had done some measurements with
> > amlat on a 2.4 GHz P4 xeon box with 256MB memory running dbench
> > and it reduced worst case scheduling latencies from 800 microseconds
> > to about 400 microseconds.
> >
> > It uses per-cpu kernel threads to execute excess callbacks and
> > pretty much relies on preemption.
>
> Is simple enough. Do you expect this will help with the route cache
> reaping problem? I do think it's a bit hard to justify purely on the basis
> of the scheduling latency goodness.
We have two somewhat overlapping problems to solve in our hands.
Latencies impeded by long running rcu softirqs and RCU itself
impeded by long running softirqs.
In the route cache DoS case, I have been experimenting with
various throttling mechanism and I consistently see 350ms odd
grace period irrespective of whether I have long running RCU
batches in softirq or not. I checked that by batching RCUs and
putting an interval of a few ticks between batches.
This leads me to believe that the only way to avoid the route
cache DoS is to reduce softirq load given a period in time and have more
balance in the system. I am working on some experimental code to throttle
softirqs and have some more fair use of CPU between softirqs
and process context code. To answer your question, I don't think
handing over to krcud will help, but it is definitely in my list
of things to experiment under DoS.
Anyway, I will mail out the results/experiments so far to lkml
and netdev.
Thanks
Dipankar
next prev parent reply other threads:[~2004-03-23 10:41 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 [this message]
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
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=20040323104103.GD3676@in.ibm.com \
--to=dipankar@in.ibm.com \
--cc=akpm@osdl.org \
--cc=andrea@suse.de \
--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