* Re: Re: : [Xenomai-help] Running real time task on one of the cores of
@ 2007-02-01 13:24 M. Koehrer
2007-02-01 13:32 ` Jan Kiszka
0 siblings, 1 reply; 3+ messages in thread
From: M. Koehrer @ 2007-02-01 13:24 UTC (permalink / raw)
To: jan.kiszka, mathias_koehrer; +Cc: xenomai
Hi Jan,
I found it in the latest SVN version but not in the 2.3 Xenomai...
As my system is working currently very stable, I do not want to change the Xenomai version...
Regards
Mathias
> M. Koehrer wrote:
> > Hi Jan,
> >
> >>> I also use rtnet. Unfortunately I am not able to force rtnet (RTDM
> based) to run on CPU core 1
> >>> without patching the RTDM code.
> >>> A couple of months ago, I already asked for this issue.
> >>> Jan, can you tell me the latest news regarding this issue?
> >> The global affinity mask is now part of Xenomai 2.3 (though I haven't
> >> tested it again after it was merged).
> >
> > Ah, I didn't know that! How can I set the affinity mask?
>
> /proc/xenomai/affinity
>
> > Perhaps this is the problem I have...
> >
> >> What part of RTnet precisely is
> >> resisting to move to CPU 1, or what do you currently have to patch?
> >
> > Currently I see the rtnet tasks "rtnet-stack" and "rtnet-rtpc" to be
> assigned to CPU 0.
> > I have patched xenomai/ksrc/skins/rtdm/drvlib.c in the call
> > to xnpod_start_thread(). I replace XNPOD_ALL_CPUS by cpumask_of_cpu(1).
>
> That should be obsolete when issuing
>
> echo 2 > /proc/xenomai/affinity
>
> before you load RTnet.
>
> Jan
>
>
--
Mathias Koehrer
mathias_koehrer@domain.hid
Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig
und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer,
nur 44,85 inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: : [Xenomai-help] Running real time task on one of the cores of
2007-02-01 13:24 Re: : [Xenomai-help] Running real time task on one of the cores of M. Koehrer
@ 2007-02-01 13:32 ` Jan Kiszka
2007-02-01 14:54 ` M. Koehrer
0 siblings, 1 reply; 3+ messages in thread
From: Jan Kiszka @ 2007-02-01 13:32 UTC (permalink / raw)
To: M. Koehrer; +Cc: xenomai
[-- Attachment #1: Type: text/plain, Size: 398 bytes --]
M. Koehrer wrote:
> Hi Jan,
>
> I found it in the latest SVN version but not in the 2.3 Xenomai...
> As my system is working currently very stable, I do not want to change the Xenomai version...
Oh, indeed, that got merged after the release. Obviously I'm too
bleeding-edge focused. :)
Try to extract the diff of #2011 and apply it on your tree. This should
fit seamlessly.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re: : [Xenomai-help] Running real time task on one of the cores of
2007-02-01 13:32 ` Jan Kiszka
@ 2007-02-01 14:54 ` M. Koehrer
0 siblings, 0 replies; 3+ messages in thread
From: M. Koehrer @ 2007-02-01 14:54 UTC (permalink / raw)
To: jan.kiszka, mathias_koehrer; +Cc: xenomai
Hi Jan,
I tried to apply the patch of #2011 to the 2.3 Xenomai and this works fine.
I can now determine the CPU to run all real time stuff by writing into
/proc/xenomai/affinity.
Thanks a lot.
Mathias
> > I found it in the latest SVN version but not in the 2.3 Xenomai...
> > As my system is working currently very stable, I do not want to change the
> Xenomai version...
>
> Oh, indeed, that got merged after the release. Obviously I'm too
> bleeding-edge focused. :)
>
> Try to extract the diff of #2011 and apply it on your tree. This should
> fit seamlessly.
>
--
Mathias Koehrer
mathias_koehrer@domain.hid
Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig
und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer,
nur 44,85 inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-02-01 14:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-01 13:24 Re: : [Xenomai-help] Running real time task on one of the cores of M. Koehrer
2007-02-01 13:32 ` Jan Kiszka
2007-02-01 14:54 ` M. Koehrer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.