public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* low latency & preemtible kernels
@ 2002-02-26 13:11 wwp
  2002-02-27  2:32 ` george anzinger
  0 siblings, 1 reply; 9+ messages in thread
From: wwp @ 2002-02-26 13:11 UTC (permalink / raw)
  To: linux-kernel

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

-- 
wwp

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: low latency & preemtible kernels
@ 2002-02-26 18:18 Dieter Nützel
  2002-02-26 22:55 ` J.A. Magallon
  2002-02-27  7:53 ` wwp
  0 siblings, 2 replies; 9+ messages in thread
From: Dieter Nützel @ 2002-02-26 18:18 UTC (permalink / raw)
  To: wwp; +Cc: Linux Kernel List, J.A. Magallon

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?

In short: no ;-)

Try 2.4.18-rc4-jam2 for example. It should apply against 2.4.18 final, too.


Regards,
	Dieter

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: low latency & preemtible kernels
  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:30   ` Dieter Nützel
  2002-02-27  7:53 ` wwp
  1 sibling, 2 replies; 9+ messages in thread
From: J.A. Magallon @ 2002-02-26 22:55 UTC (permalink / raw)
  To: Dieter Nützel; +Cc: wwp, Linux Kernel List


On 20020226 Dieter Nützel 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?
>
>In short: no ;-)
>
>Try 2.4.18-rc4-jam2 for example. It should apply against 2.4.18 final, too.
>

Correction: jam2 is O(1)-multi-queue scheduler + low-latency, no
preeemt there.

-- 
J.A. Magallon                           #  Let the source be with you...        
mailto:jamagallon@able.es
Mandrake Linux release 8.2 (Cooker) for i586
Linux werewolf 2.4.18-jam1 #1 SMP Tue Feb 26 00:06:55 CET 2002 i686

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: low latency & preemtible kernels
  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
  1 sibling, 1 reply; 9+ messages in thread
From: wwp @ 2002-02-26 23:12 UTC (permalink / raw)
  To: J.A. Magallon; +Cc: linux-kernel

Hi J.A.,


On Tue, 26 Feb 2002 23:55:10 +0100 "J.A. Magallon" <jamagallon@able.es> wrote:

[snip]
> >Try 2.4.18-rc4-jam2 for example. It should apply against 2.4.18 final, too.
> >
> 
> Correction: jam2 is O(1)-multi-queue scheduler + low-latency, no
> preeemt there.

Won't 2.4.18-jam1 better?


Regards,

-- 
wwp

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: low latency & preemtible kernels
  2002-02-26 23:12   ` wwp
@ 2002-02-26 23:27     ` J.A. Magallon
  0 siblings, 0 replies; 9+ messages in thread
From: J.A. Magallon @ 2002-02-26 23:27 UTC (permalink / raw)
  To: wwp; +Cc: linux-kernel


On 20020227 wwp wrote:
>Hi J.A.,
>
>
>On Tue, 26 Feb 2002 23:55:10 +0100 "J.A. Magallon" <jamagallon@able.es> wrote:
>
>[snip]
>> >Try 2.4.18-rc4-jam2 for example. It should apply against 2.4.18 final, too.
>> >
>> 
>> Correction: jam2 is O(1)-multi-queue scheduler + low-latency, no
>> preeemt there.
>
>Won't 2.4.18-jam1 better?
>

Same patches over a more recent kernel.
Even 2.4.18-jam1 includes the fix for the personality problem.

-- 
J.A. Magallon                           #  Let the source be with you...        
mailto:jamagallon@able.es
Mandrake Linux release 8.2 (Cooker) for i586
Linux werewolf 2.4.18-jam1 #1 SMP Tue Feb 26 00:06:55 CET 2002 i686

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: low latency & preemtible kernels
  2002-02-26 22:55 ` J.A. Magallon
  2002-02-26 23:12   ` wwp
@ 2002-02-26 23:30   ` Dieter Nützel
  1 sibling, 0 replies; 9+ messages in thread
From: Dieter Nützel @ 2002-02-26 23:30 UTC (permalink / raw)
  To: J.A. Magallon; +Cc: wwp, Linux Kernel List

On Dienstag, 26. Februar 2002 23:55:23, J.A. Magallon wrote:
> On 20020226 Dieter Nützel 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?
> >
> >In short: no ;-)
> >
> >Try 2.4.18-rc4-jam2 for example. It should apply against 2.4.18 final,
> > too.
>
> Correction: jam2 is O(1)-multi-queue scheduler + low-latency, no
> preeemt there.

I put it on top as always...;-)

Did that before all by hand, now you have set the starting point.

Regards,
	Dieter
BTW I will use 2.4.18-jam1.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: low latency & preemtible kernels
  2002-02-26 13:11 low latency & preemtible kernels wwp
@ 2002-02-27  2:32 ` george anzinger
  2002-02-27  3:01   ` Andrew Morton
  0 siblings, 1 reply; 9+ messages in thread
From: george anzinger @ 2002-02-27  2:32 UTC (permalink / raw)
  To: wwp; +Cc: linux-kernel

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, 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.
-- 
George           george@mvista.com
High-res-timers: http://sourceforge.net/projects/high-res-timers/
Real time sched: http://sourceforge.net/projects/rtsched/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: low latency & preemtible kernels
  2002-02-27  2:32 ` george anzinger
@ 2002-02-27  3:01   ` Andrew Morton
  0 siblings, 0 replies; 9+ messages in thread
From: Andrew Morton @ 2002-02-27  3:01 UTC (permalink / raw)
  To: george anzinger; +Cc: wwp, linux-kernel

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.

-

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: low latency & preemtible kernels
  2002-02-26 18:18 Dieter Nützel
  2002-02-26 22:55 ` J.A. Magallon
@ 2002-02-27  7:53 ` wwp
  1 sibling, 0 replies; 9+ messages in thread
From: wwp @ 2002-02-27  7:53 UTC (permalink / raw)
  To: linux-kernel

Hi all,


Okay, I would like to thank everyone who has answered my newbie
question! It has helped, making the differences between lo-latency
and preempt patches more clear to me :-)


Regards

-- 
wwp

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-02-27  7:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-26 13:11 low latency & preemtible kernels wwp
2002-02-27  2:32 ` george anzinger
2002-02-27  3:01   ` Andrew Morton
  -- 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox