Re: Question about isolating CPU's

Paolo Mantegazza <[email protected]>
Newsgroups gmane.linux.real-time.rtai
Message-ID <VI1PR06MB1471EFFB037BEA9782C9D76B90960@VI1PR06MB1471.eurprd06.prod.outlook.com>
Sorry, i clicked the wrong button.
I'm assuming you are referring to irq affinities.
At the moment I've none ready,  I usually write one for a specific machine I'm working on.
It is simple and requires just these steps:
- "cat /proc/interrupts" to get the interrupts of interest
- writing for each of them "echo affinity_mask >/proc/irq/irq_number_of_interest/smp_affinity"
Usually my scripts are just a list of the above command and made executable, with the mask containing the bits of those cpus that are not isolated for RTAI.
That's all.

Paolo.

________________________________________
From: Rtai [[email protected]] on behalf of Alec Ari [[email protected]]
Sent: Wednesday, April 13, 2016 7:47 PM
To: [email protected]
Subject: Re: [Rtai] Question about isolating CPU's

Hi, what simple script are you referring to? Do you have an example?

Alec Ari
_______________________________________________
Rtai mailing list
[email protected]
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
_______________________________________________
Rtai mailing list
[email protected]
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.