VMware Cloud Community
Picche
Contributor
Contributor
Jump to solution

Perfomance AMD Vs. INTEL

We noticed some slowdown of a vSphere 5.x installation with AMD than INTEL.

We made a little program that makes simple CPU cycles. AMD takes 5 sec. intel about 2 sec. (attach result)
Both installations are enabled VT CPU.

Tip about?

thanks too much.

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.Diagnostics;

using System.Reflection;

namespace ConsoleApplication3

{

  class Program

  {

  static void Main(string[] args)

  {

  string name = Assembly.GetExecutingAssembly().Location;

  Stopwatch sw = new Stopwatch();

  sw.Start();

  for (int i = 0; i < 100000000; i++)

  {

  if ((i % 10000) == 0)

  {

  Console.WriteLine(i);

  }

  if ((i % 100) == 0)

  {

  //System.IO.File.Exists(name);

  }

  }

  sw.Stop();

  Console.WriteLine("Total time : {0} ms", sw.ElapsedMilliseconds);

  Console.ReadLine();

  }

  }

}

Reply
0 Kudos
1 Solution

Accepted Solutions
MKguy
Virtuoso
Virtuoso
Jump to solution

This is not surprising and would happen on physical hosts with these CPUs as well. The AMD Opteron 6134 is simply a much older and weaker CPU than the Intel E5 2620 (besides AMD usually lagging behind in terms of per-core performance compared to Intel in recent years). Besides your servers are different brands/generations and Intel E5 Server will also most likely run better/faster memory so this is even more of an apples to oranges comparison.

Here's a comparison of a simple CPU benchmark for both CPUs, showing that the Intel CPU delivers more than twice as much performance:

http://www.cpubenchmark.net/compare.php?cmp[]=1566&cmp[]=1214

I've ran your code on a VM running on a host with an E5-2650 CPU (pretty much identical to your 2620, except it it has 8 cores instead of 6) and it takes about 2 seconds.

Your CPU benchmarking method is also pretty flawed since it's limited by the visual output. You can achieve 40-60% faster execution time if you minimize the CMD window immediately after starting the program.

Some general tips: Set the BIOS/ESXi CPU power management to static high performance, use a recent VM hardware version and EVC baseline.

-- http://alpacapowered.wordpress.com

View solution in original post

Reply
0 Kudos
1 Reply
MKguy
Virtuoso
Virtuoso
Jump to solution

This is not surprising and would happen on physical hosts with these CPUs as well. The AMD Opteron 6134 is simply a much older and weaker CPU than the Intel E5 2620 (besides AMD usually lagging behind in terms of per-core performance compared to Intel in recent years). Besides your servers are different brands/generations and Intel E5 Server will also most likely run better/faster memory so this is even more of an apples to oranges comparison.

Here's a comparison of a simple CPU benchmark for both CPUs, showing that the Intel CPU delivers more than twice as much performance:

http://www.cpubenchmark.net/compare.php?cmp[]=1566&cmp[]=1214

I've ran your code on a VM running on a host with an E5-2650 CPU (pretty much identical to your 2620, except it it has 8 cores instead of 6) and it takes about 2 seconds.

Your CPU benchmarking method is also pretty flawed since it's limited by the visual output. You can achieve 40-60% faster execution time if you minimize the CMD window immediately after starting the program.

Some general tips: Set the BIOS/ESXi CPU power management to static high performance, use a recent VM hardware version and EVC baseline.

-- http://alpacapowered.wordpress.com
Reply
0 Kudos