Xeon E5540 's Advantages
Higher base frequency (2.533GHz vs 2.5GHz)
Lower TDP (80W vs 180W)
AMD EPYC 7502 's Advantages
Released 10 years and 5 months late
Higher specification of memory (3200 vs 1066)
Newer PCIe version (4 vs 2)
Larger L3 cache size (128MB vs 8MB)
More modern manufacturing process (7nm vs 45nm)