From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4E70A85C.7000604@domain.hid> Date: Wed, 14 Sep 2011 15:13:00 +0200 From: Kim Mathiassen MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] multicore: reserving core(s) for Xenomai List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Henri Roosen Cc: xenomai@xenomai.org Hi, You might use the kernel option isolcpus. Have a look at http://www.linuxtopia.org/online_books/linux_kernel/kernel_configuration/re46.html Best regards, Kim Mathiassen On 09/14/2011 02:18 PM, Henri Roosen wrote: > We'll start experiments running our Xenomai application on a > multi-core CPU (x86/ARM). I'm sure there are some Xenomai users who > already have experience with it. > > What I would like to do is to run the Xenomai realtime threads on one > core of the multi-core CPU. And I would like to reserve this core only > for the Xenomai realtime threads. > > I'm using the Native API, so I can pass the CPU affinity flags for the > Xenomai threads during task creation/shadow. But how can I make sure > other threads will not make use of the same processor? I cannot call > taskset for every task that is spawned... right? > > Are there any idea's on how this configuration could be made easier? > It would be nice if there was a kernel config option to reserve > core(s) for Xenomai that Linux will not use. > > Any ideas and help are welcome! > > Thanks, > Henri. > > _______________________________________________ > Xenomai-help mailing list > Xenomai-help@domain.hid > https://mail.gna.org/listinfo/xenomai-help