> On Mar 31, 2011, at 10:46 PM, Stephen Wille Padnos wrote:
>> That's precisely what EMC does when you use isolcpus on the kernel boot
>> command line.  In any case, I believe the EMC RT processes all bind to
>> the highest CPU number (so if you have a 4-core, isolcpus should be 3).
>
> The documentation I have found on this always says to set isolcpus=1 - and
> this is what I did - assuming this meant isolate the process (RT kernel in
> this case, I guess) to this one cpu.  But I think you are saying that
> isolcpus isolates the cpu(s) FROM the process and that it should be set to
> the number of cores minus 1?

I haven't looked at the code recently, but I believe that the RTAPI code
binds to the highest numbered CPU.

The isolcpus parameter used to be a mask, but now it's a list (there are
things called "cpusets" now as well, which are way cool but unused by us).
 You could isolate cores 1 and 3 with "isolcpus=1,3".

All that isolcpus does is to tell the Linux scheduler to not schedule any
process on that CPU/core unless the process specifically requests to be
put there.

- Steve



------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to