Mavericks is slow with 2GB of RAM using Xcode 5, should I upgrade to 4GB or 8GB?
8Gb would be best if you can afford it. I've always used crucial.com for RAM and had no problems.

An SSD drive would also really speed up system performance.