Check for the priority of the process
Higher priority is -20
lower prioritty is +19
Neutral is 0
if process_a is having highher priority based on your requirement reduce the priority (-20 to +19). Higher the priority it will consumes most of resources
You can try with ulimit command options too