Hi -
You're *much* better off just letting the kernel scheduler decide which tasks to run on which core.
IMHO ...
PS:
There *is* a command to assign a PID's CPU affinity: "
taskset"
PPS:
Please endeavor to use better grammar, punctuation, and proper capitalization. It makes your posts easier to read (especially for non-English speakers), and it's simply a matter of courtesy.