From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <16848045.1170336251056.JavaMail.ngmail@domain.hid> Date: Thu, 1 Feb 2007 14:24:11 +0100 (CET) From: "M. Koehrer" Subject: Re: Re: : [Xenomai-help] Running real time task on one of the cores of MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: jan.kiszka@domain.hid, mathias_koehrer@domain.hid Cc: xenomai@xenomai.org Hi Jan, I found it in the latest SVN version but not in the 2.3 Xenomai...=20 As my system is working currently very stable, I do not want to change the = Xenomai version... Regards Mathias > M. Koehrer wrote: > > Hi Jan, > >=20 > >>> 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).=20 > >=20 > > Ah, I didn't know that! How can I set the affinity mask? >=20 > /proc/xenomai/affinity >=20 > > Perhaps this is the problem I have... > >=20 > >> What part of RTnet precisely is > >> resisting to move to CPU 1, or what do you currently have to patch? > >=20 > > 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). >=20 > That should be obsolete when issuing >=20 > echo 2 > /proc/xenomai/affinity >=20 > before you load RTnet. >=20 > Jan >=20 >=20 --=20 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=FCnsti= g und schnell mit DSL - das All-Inclusive-Paket f=FCr clevere Doppel-Sparer, nur 44,85 =80 inkl. DSL- und ISDN-Grundgeb=FChr! http://www.arcor.de/rd/emf-dsl-2