Sorry, it's not really an orocos related question. But i would like to know your opinion.
On a system with multiple cpus, i would like to segregate the system (daemon, network stuff like CORBA etc) to the first cpu for example, and have other cpu availaible for the application...
I found at least three way to do that :
- use taskset once the system is loaded -> very boring - use isolcpu kernel parameter -> not tested - use maxcpu kernel parameter + 'echo 1 > /sys/devices/system/cpu/cpuN/online' -> not testedSo when i start the deployer, i hope to have the cpu affinity set to 1 by default, and all others cpu free to play with. Then we can put processes and their irq handler/tasklet on dedicated cpu...
What is your way of doing it ? Do you think it is a good way to do that (all on one cpu by default)?