From: Andrew Morton <akpm@zip.com.au>
To: george anzinger <george@mvista.com>
Cc: wwp <subscript@free.fr>, linux-kernel@vger.kernel.org
Subject: Re: low latency & preemtible kernels
Date: Tue, 26 Feb 2002 19:01:01 -0800 [thread overview]
Message-ID: <3C7C4BED.CD0A03BF@zip.com.au> (raw)
In-Reply-To: <20020226141144.248506fa.subscript@free.fr> <3C7C4520.2783D895@mvista.com>
george anzinger wrote:
>
> wwp wrote:
> >
> > Hi there,
> >
> > here's a newbie question:
> > is it UNadvisable to apply both preempt-kernel-rml and low-latency patches
> > over a 2.4.18 kernel?
> >
> > thanx in advance
> >
> > --
> I believe that the preempt kernel patch or one related to it does the
> low-latency stuff in a more economical way,
Sigh. Not to single you out, George - I see abject misunderstanding
and misinformation about this sort of thing all over the place.
So let's make some statements:
- preemption is more expensive that explicit scheduling points. Always
was, always shall be.
- Anyone who has performed measurements knows that preemption is
ineffective. Worst-case latencies are still up to 100 milliseconds.
- preemptability is a *basis* for getting a maintainable low-latency
kernel. And that's the reason why I support its merge into 2.5. Same
with Ingo, I expect.
But there's a lot of icky stuff to be done yet to make it effective.
> i.e. takes advantage of the
> preemption code to implement the low-latency stuff. See the lock-break
> patch that rml has. It should be right next to the preempt patch.
lock-break is missing the cross-SMP reschedule hack, so on SMP it'll
still have very high worst-case latencies. If all the other parts
of the low-latency patch were included then preempt+lock-break should
give better results than low-latency.
-
next prev parent reply other threads:[~2002-02-27 3:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-26 13:11 low latency & preemtible kernels wwp
2002-02-27 2:32 ` george anzinger
2002-02-27 3:01 ` Andrew Morton [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-02-26 18:18 Dieter Nützel
2002-02-26 22:55 ` J.A. Magallon
2002-02-26 23:12 ` wwp
2002-02-26 23:27 ` J.A. Magallon
2002-02-26 23:30 ` Dieter Nützel
2002-02-27 7:53 ` wwp
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=3C7C4BED.CD0A03BF@zip.com.au \
--to=akpm@zip.com.au \
--cc=george@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=subscript@free.fr \
/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