i5 dual core @ 4GHz would be much faster than Phenom X4 2.1GHz in both multitasking and single threaded applications
However the difference in single threaded applications would be much bigger
But I don't think there is a phenom X4 with only 2.1GHz clock speed, anyway
Also, I don't recommend...