Your PC is easily capable of running either Windows 8 or Windows 7.
I would advice you to upgrade to Windows 7 (not 8).
No advantages, really, to Win8 unless you have a touch-screen (which you don't), quite the reverse, if you don't - it's a bit of a ruddy nuisance.
XP has always been...