how can I speedup my CASTEP calculations in MS?

my jobes are swapping out heavily and running much slower than they should be.  I tried to increase the nodes number but it did not work what I have to do and how can I figure out the memory requirements of my simulations?.