linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Preemptive Kernel and MPC8xx ???
@ 2003-11-23 12:02 Steven Scholz
  2003-11-24  7:20 ` Jaap-Jan Boor
  0 siblings, 1 reply; 11+ messages in thread
From: Steven Scholz @ 2003-11-23 12:02 UTC (permalink / raw)
  To: linuxppc-embedded@lists.linuxppc.org


Hi there,

is somebody actually using the preemptive kernel patches that can be found at

http://www.kernel.org/pub/linux/kernel/people/rml/preempt-kernel/v2.4/

on MPC8xx boards?

If so which kernel version?

Thanks a million!

Steven


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Preemptive Kernel and MPC8xx ???
  2003-11-23 12:02 Preemptive Kernel and MPC8xx ??? Steven Scholz
@ 2003-11-24  7:20 ` Jaap-Jan Boor
  2003-11-24  8:01   ` Steven Scholz
  2003-11-24 16:35   ` Marius Groeger
  0 siblings, 2 replies; 11+ messages in thread
From: Jaap-Jan Boor @ 2003-11-24  7:20 UTC (permalink / raw)
  To: Steven Scholz; +Cc: linuxppc-embedded@lists.linuxppc.org


Hi,

Yes I do on 2.4.20 and 2.4.22 from kernel.org. So far all seems
to work but didn't do any measurements on it.
(I both use the preempt and low-latency patches)

Jaap-Jan

On 23-nov-03, at 13:02, Steven Scholz wrote:

>
> Hi there,
>
> is somebody actually using the preemptive kernel patches that can be
> found at
>
> http://www.kernel.org/pub/linux/kernel/people/rml/preempt-kernel/v2.4/
>
> on MPC8xx boards?
>
> If so which kernel version?
>
> Thanks a million!
>
> Steven
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Preemptive Kernel and MPC8xx ???
  2003-11-24  7:20 ` Jaap-Jan Boor
@ 2003-11-24  8:01   ` Steven Scholz
  2003-11-24  9:46     ` Jaap-Jan Boor
  2003-11-24 16:35   ` Marius Groeger
  1 sibling, 1 reply; 11+ messages in thread
From: Steven Scholz @ 2003-11-24  8:01 UTC (permalink / raw)
  To: Jaap-Jan Boor; +Cc: linuxppc-embedded@lists.linuxppc.org


Hi,

>> is somebody actually using the preemptive kernel patches ...
>>
> Yes I do on 2.4.20 and 2.4.22 from kernel.org. So far all seems
> to work but didn't do any measurements on it.
So you're using vanilla 2.4.22 on your MPC8xx board!?

> (I both use the preempt and low-latency patches)
Sound interessting.
Could you please give me a link to find the mentioned "low-latency patches".

Thanks,

Steven


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Preemptive Kernel and MPC8xx ???
  2003-11-24  8:01   ` Steven Scholz
@ 2003-11-24  9:46     ` Jaap-Jan Boor
  2003-11-24  9:55       ` Steven Scholz
  0 siblings, 1 reply; 11+ messages in thread
From: Jaap-Jan Boor @ 2003-11-24  9:46 UTC (permalink / raw)
  To: Steven Scholz; +Cc: linuxppc-embedded@lists.linuxppc.org


On Mon, 2003-11-24 at 09:01, Steven Scholz wrote:
> Hi,
>
> >> is somebody actually using the preemptive kernel patches ...
> >>
> > Yes I do on 2.4.20 and 2.4.22 from kernel.org. So far all seems
> > to work but didn't do any measurements on it.
> So you're using vanilla 2.4.22 on your MPC8xx board!?

yes, am I stupid?

Currently I use smc uart, scc ethernet and a modified
cpm_spi driver (from the great Denx) with interrupt handling,
my 850 board boots ok from nfsroot

>
> > (I both use the preempt and low-latency patches)
> Sound interessting.
> Could you please give me a link to find the mentioned "low-latency patches".

it comes from Andrew Morton's page
http://www.zip.com.au/~akpm/linux/schedlat.html

I you have to enable this by hand in arch/ppc/config.in (look at
arch/i386/config.in) with

bool 'Low latency scheduling' CONFIG_LOLAT
dep_bool 'Control low latency with sysctl' CONFIG_LOLAT_SYSCTL
$CONFIG_LOLAT

>
> Thanks,
>
> Steven


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Preemptive Kernel and MPC8xx ???
  2003-11-24  9:46     ` Jaap-Jan Boor
@ 2003-11-24  9:55       ` Steven Scholz
  0 siblings, 0 replies; 11+ messages in thread
From: Steven Scholz @ 2003-11-24  9:55 UTC (permalink / raw)
  To: Jaap-Jan Boor; +Cc: linuxppc-embedded@lists.linuxppc.org


Hi,m

>>>>is somebody actually using the preemptive kernel patches ...
>>>
>>>Yes I do on 2.4.20 and 2.4.22 from kernel.org. So far all seems
>>>to work but didn't do any measurements on it.
>>
>>So you're using vanilla 2.4.22 on your MPC8xx board!?
>
> yes, am I stupid?

NO! I nerver said that!
I just didn't know that vanilla 2.4.22 from kernel.org is now stable enough
w.r.t. MPC8xx.

>>Could you please give me a link to find the mentioned "low-latency patches".
>
> it comes from Andrew Morton's page
> http://www.zip.com.au/~akpm/linux/schedlat.html
Thanks a million.

Good luck,

Steven


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Preemptive Kernel and MPC8xx ???
  2003-11-24  7:20 ` Jaap-Jan Boor
  2003-11-24  8:01   ` Steven Scholz
@ 2003-11-24 16:35   ` Marius Groeger
  2003-11-24 22:33     ` Jaap-Jan Boor
                       ` (2 more replies)
  1 sibling, 3 replies; 11+ messages in thread
From: Marius Groeger @ 2003-11-24 16:35 UTC (permalink / raw)
  To: Jaap-Jan Boor; +Cc: Steven Scholz, linuxppc-embedded@lists.linuxppc.org


On Mon, 24 Nov 2003, Jaap-Jan Boor wrote:

> Yes I do on 2.4.20 and 2.4.22 from kernel.org. So far all seems
> to work but didn't do any measurements on it.
> (I both use the preempt and low-latency patches)

AFAIK, you can pretty much drop the low-latency patch in favor of
using the lock-breaking patch. It is also available from Robert Love
at the cited home page.

Marius

--
Marius Groeger <mgroeger@sysgo.de>
Project Manager

SYSGO Real-Time Solutions AG | Embedded and Real-Time Software
Am Pfaffenstein 14
55270 Klein-Winternheim, Germany

Voice: +49-6136-9948-0 | FAX: +49-6136-9948-10
www.sysgo.de | www.elinos.com | www.osek.de

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Preemptive Kernel and MPC8xx ???
  2003-11-24 16:35   ` Marius Groeger
@ 2003-11-24 22:33     ` Jaap-Jan Boor
  2003-11-25  8:13     ` Steven Scholz
  2003-11-26 15:08     ` Steven Scholz
  2 siblings, 0 replies; 11+ messages in thread
From: Jaap-Jan Boor @ 2003-11-24 22:33 UTC (permalink / raw)
  To: Marius Groeger; +Cc: Steven Scholz, linuxppc-embedded@lists.linuxppc.org


On 24-nov-03, at 17:35, Marius Groeger wrote:

>
> On Mon, 24 Nov 2003, Jaap-Jan Boor wrote:
>
>> Yes I do on 2.4.20 and 2.4.22 from kernel.org. So far all seems
>> to work but didn't do any measurements on it.
>> (I both use the preempt and low-latency patches)
>
> AFAIK, you can pretty much drop the low-latency patch in favor of
> using the lock-breaking patch. It is also available from Robert Love
> at the cited home page.

Yes, thanks, I know.
Is it better? I thought both low-latency and lock-break
do more or less the same.

Jaap-Jan


>
> Marius
>
> --
> Marius Groeger <mgroeger@sysgo.de>
> Project Manager
>
> SYSGO Real-Time Solutions AG | Embedded and Real-Time Software
> Am Pfaffenstein 14
> 55270 Klein-Winternheim, Germany
>
> Voice: +49-6136-9948-0 | FAX: +49-6136-9948-10
> www.sysgo.de | www.elinos.com | www.osek.de
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Preemptive Kernel and MPC8xx ???
  2003-11-24 16:35   ` Marius Groeger
  2003-11-24 22:33     ` Jaap-Jan Boor
@ 2003-11-25  8:13     ` Steven Scholz
  2003-11-26 16:19       ` Jaap-Jan Boor
  2003-11-26 15:08     ` Steven Scholz
  2 siblings, 1 reply; 11+ messages in thread
From: Steven Scholz @ 2003-11-25  8:13 UTC (permalink / raw)
  To: Marius Groeger; +Cc: Jaap-Jan Boor, linuxppc-embedded@lists.linuxppc.org


Hi,

> On Mon, 24 Nov 2003, Jaap-Jan Boor wrote:
>
>>Yes I do on 2.4.20 and 2.4.22 from kernel.org. So far all seems
>>to work but didn't do any measurements on it.
>>(I both use the preempt and low-latency patches)
Have you writting your own device drivers?
How did you make them preemptable?

Marius Groeger wrote:
> AFAIK, you can pretty much drop the low-latency patch in favor of
> using the lock-breaking patch. It is also available from Robert Love
> at the cited home page.
How about homemade device drivers when using the lock-breaking patch?

Thanks!

--
Steven Scholz

imc Measurement & Control               imc Meßsysteme GmbH
Voltastr. 5                             Voltastr. 5
13355 Berlin                            13355 Berlin
Germany                                 Deutschland
fon: +49 30 467090-0                    Tel: 030 / 467090-0
fax: +49 30 4631576                     fax: 030 / 4631576


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Preemptive Kernel and MPC8xx ???
  2003-11-24 16:35   ` Marius Groeger
  2003-11-24 22:33     ` Jaap-Jan Boor
  2003-11-25  8:13     ` Steven Scholz
@ 2003-11-26 15:08     ` Steven Scholz
  2003-11-26 16:23       ` Jaap-Jan Boor
  2 siblings, 1 reply; 11+ messages in thread
From: Steven Scholz @ 2003-11-26 15:08 UTC (permalink / raw)
  To: Marius Groeger; +Cc: Jaap-Jan Boor, linuxppc-embedded@lists.linuxppc.org


Marius Groeger wrote:

> AFAIK, you can pretty much drop the low-latency patch in favor of
> using the lock-breaking patch. It is also available from Robert Love
> at the cited home page.

Rob Love wrote me:

 >>Is it correct that your lock-break does basicly the same as Andrew Morton's
 >>low-latency patches? Where is the big difference?
 >
 > Yes, basically the same thing.  Lock-break is a version of low-latency
 > that is "optimized" for use with the preemptive kernel.
 >
 > You might as well just use low-latency, as Andrew is keeping that more
 > up to date.

And that's what I noticed when looking and the download pages...

That leaves three options:

 > 	(a) Use only preempt-kernel
 > 	(b) Use only low-latency
 > 	(c) Use preempt-kernel + low-latency

Right?

--
Steven Scholz

imc Measurement & Control               imc Meßsysteme GmbH
Voltastr. 5                             Voltastr. 5
13355 Berlin                            13355 Berlin
Germany                                 Deutschland
fon: +49 30 467090-0                    Tel: 030 / 467090-0
fax: +49 30 4631576                     fax: 030 / 4631576


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Preemptive Kernel and MPC8xx ???
  2003-11-25  8:13     ` Steven Scholz
@ 2003-11-26 16:19       ` Jaap-Jan Boor
  0 siblings, 0 replies; 11+ messages in thread
From: Jaap-Jan Boor @ 2003-11-26 16:19 UTC (permalink / raw)
  To: Steven Scholz; +Cc: Marius Groeger, linuxppc-embedded@lists.linuxppc.org


On Tue, 2003-11-25 at 09:13, Steven Scholz wrote:
> Hi,
>
> > On Mon, 24 Nov 2003, Jaap-Jan Boor wrote:
> >
> >>Yes I do on 2.4.20 and 2.4.22 from kernel.org. So far all seems
> >>to work but didn't do any measurements on it.
> >>(I both use the preempt and low-latency patches)
> Have you writting your own device drivers?
> How did you make them preemptable?

I didn't... I still assume the kernel will lock
e.g. the same SIU irq

>
> Marius Groeger wrote:
> > AFAIK, you can pretty much drop the low-latency patch in favor of
> > using the lock-breaking patch. It is also available from Robert Love
> > at the cited home page.
> How about homemade device drivers when using the lock-breaking patch?
>
> Thanks!
>
> --
> Steven Scholz
>
> imc Measurement & Control               imc Meßsysteme GmbH
> Voltastr. 5                             Voltastr. 5
> 13355 Berlin                            13355 Berlin
> Germany                                 Deutschland
> fon: +49 30 467090-0                    Tel: 030 / 467090-0
> fax: +49 30 4631576                     fax: 030 / 4631576
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Preemptive Kernel and MPC8xx ???
  2003-11-26 15:08     ` Steven Scholz
@ 2003-11-26 16:23       ` Jaap-Jan Boor
  0 siblings, 0 replies; 11+ messages in thread
From: Jaap-Jan Boor @ 2003-11-26 16:23 UTC (permalink / raw)
  To: Steven Scholz; +Cc: Marius Groeger, linuxppc-embedded@lists.linuxppc.org


On Wed, 2003-11-26 at 16:08, Steven Scholz wrote:
> Marius Groeger wrote:
>
> > AFAIK, you can pretty much drop the low-latency patch in favor of
> > using the lock-breaking patch. It is also available from Robert Love
> > at the cited home page.
>
> Rob Love wrote me:
>
>  >>Is it correct that your lock-break does basicly the same as Andrew Morton's
>  >>low-latency patches? Where is the big difference?
>  >
>  > Yes, basically the same thing.  Lock-break is a version of low-latency
>  > that is "optimized" for use with the preemptive kernel.
>  >
>  > You might as well just use low-latency, as Andrew is keeping that more
>  > up to date.
>
> And that's what I noticed when looking and the download pages...
>
> That leaves three options:
>
>  > 	(a) Use only preempt-kernel
>  > 	(b) Use only low-latency
>  > 	(c) Use preempt-kernel + low-latency
>
> Right?

Yes, I use (c)


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2003-11-26 16:23 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-23 12:02 Preemptive Kernel and MPC8xx ??? Steven Scholz
2003-11-24  7:20 ` Jaap-Jan Boor
2003-11-24  8:01   ` Steven Scholz
2003-11-24  9:46     ` Jaap-Jan Boor
2003-11-24  9:55       ` Steven Scholz
2003-11-24 16:35   ` Marius Groeger
2003-11-24 22:33     ` Jaap-Jan Boor
2003-11-25  8:13     ` Steven Scholz
2003-11-26 16:19       ` Jaap-Jan Boor
2003-11-26 15:08     ` Steven Scholz
2003-11-26 16:23       ` Jaap-Jan Boor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).