All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Xenomai-help] [RTnet-users] /proc/xenomai/affinity and T_CPU(n) in
@ 2007-12-20  9:21 M. Koehrer
  2007-12-27 13:00 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: M. Koehrer @ 2007-12-20  9:21 UTC (permalink / raw)
  To: jan.kiszka, mathias_koehrer

	rt_task_create
Cc: xenomai@xenomai.org, rtnet-users@domain.hid
In-Reply-To: <47693FE6.30707@domain.hid>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
References: <47693FE6.30707@domain.hid> <5864711.1198077318353.JavaMail.ngmail@domain.hid>
X-ngMessageSubType: MessageSubType_MAIL
X-WebmailclientIP: 91.32.110.150

Hi Jan,

does this mean that the value of /proc/xenomai/affinity is only relevant fo=
r creation of a new task?
I.e., once it is created I can modify it without "destroying" anything in t=
he already created tasks?=20
If this is the case I think I get everything up and running following your =
hint.

Perhaps the word "affinity" does not exactly describe the behaviour here as=
 it is not only affinity but also=20
"allowed CPUs for new tasks"....

Thanks a lot.

Regards

Mathias



>=20
> Suggested procedure:
> 1. set global affinity for RTnet and start up the stack
> 2. set global affinity for your application (or open it) and start that
>    one up
>=20


--=20
Mathias Koehrer
mathias_koehrer@domain.hid


Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT F=DCR ALLE NEUEINSTEIGER
Jetzt bei Arcor: g=FCnstig und schnell mit DSL - das All-Inclusive-Paket
f=FCr clevere Doppel-Sparer, nur  29,95 Euro  inkl. DSL- und ISDN-Grundgeb=
=FChr!
http://www.arcor.de/rd/emf-dsl-2


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

* Re: [Xenomai-help] [RTnet-users] /proc/xenomai/affinity and T_CPU(n) in
  2007-12-20  9:21 [Xenomai-help] [RTnet-users] /proc/xenomai/affinity and T_CPU(n) in M. Koehrer
@ 2007-12-27 13:00 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2007-12-27 13:00 UTC (permalink / raw)
  To: M. Koehrer; +Cc: xenomai-help

[-- Attachment #1: Type: text/plain, Size: 987 bytes --]

M. Koehrer wrote:
> Hi Jan,
> 
> does this mean that the value of /proc/xenomai/affinity is only relevant fo=
> r creation of a new task?
> I.e., once it is created I can modify it without "destroying" anything in t=
> he already created tasks?=20
> If this is the case I think I get everything up and running following your =
> hint.

If your worries are that modifying /proc/xenomai/affinity would force
running tasks to new CPUs: no, there is no such side effect. The
affinity mask only "burns" the CPU affinity into the task structure when
they are created. Later states of that mask do not impact existing tasks.

> 
> Perhaps the word "affinity" does not exactly describe the behaviour here as=
>  it is not only affinity but also=20
> "allowed CPUs for new tasks"....

Feel free to define the precise semantic of this feature e.g. in the
wiki :). In the end, expectations and associations always change the
meaning of terms in the eye of the user.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

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

end of thread, other threads:[~2007-12-27 13:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-20  9:21 [Xenomai-help] [RTnet-users] /proc/xenomai/affinity and T_CPU(n) in M. Koehrer
2007-12-27 13:00 ` Jan Kiszka

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.