Both models
E5-4640 and
G530 are based on
Sandy Bridge architecture.
"Sandy Bridge codename was originally ""Gesher"". The development began in 2005 and four years later, the first Sandy Bridge CPU was presented. The most prominent features are Intel Turbo Boost 2.0, AES encryption and SHA-1 hashing acceleration, Advanced Vector Extensions (AVX) 256-bit instruction set and the ability to have up to 8 physical cores or 16 logical cores through Hyper-Threading."
Using the multithread performance as a reference, the E5-4640 gets a score of
581.6 k points while the G530 gets
27 k points.
Summarizing, the
E5-4640 is
21.5 times faster than the
G530. To get a proper comparison between both models, take a look to the data shown below.