I need for a specific reason of my work to configure a process in Ubuntu 14.10 Linux distro to use alternately different CPUs.
I know with taskset I can pin a process on a specified CPUs but how I tell that process to use let say 50% of CPU 0 and 50% of CPU 1.
UPDATE
The process I'm runing is single threaded, maybe I'm wrong to try to tell a single threaded process to use two CPUs with roundrobin algorithm.
Thank you for your insights and helps.
Regards.