you could use the nice command which alters priority of programs your run. do a man nice to find out more.