What should i use for better gaming compuuter performance?

What should i use for minecraft with 4 or 5 mods and sphax texture pack
should i use 8gb ram with a ddr2 graphics card
or should i use 4gb ram with ddr3 or hdd graphics card

Added (1). when i mean minecraft i mean what will make it run faster and smoother with more fps

Mine craft will run on anything