Glenn Berry

Recommended Intel Processors for SQL Server 2014 – March 2015

SentryOne eBooks

In these books, you will find useful, hand-picked articles that will help give insight into some of your most vexing performance problems. These articles were written by several of the SQL Server industry’s leading experts, including Paul White, Paul Randal, Jonathan Kehayias, Erin Stellato, Glenn Berry, Aaron Bertrand, and Joe Sack.

Free Download

Featured Author

Paul Randal, CEO of SQLskills, writes about knee-jerk performance tuning, DBCC, and SQL Server internals.

Paul’s Posts

If you are tasked with evaluating and selecting the components for a brand new database server to run an OLTP or DW workload on SQL Server 2014 Enterprise Edition, you have several initial choices that you have to make as a part of the decision process.

As always, you will need to decide on the server socket count, which means choosing a two-socket, four-socket, or eight-socket server (in the commodity server market). After you choose the socket count, you need to decide exactly which of the available processors you want to use in that model server. Looking at the choices for most current model servers from the major system vendors, you will discover that you will have to pick from around 15-20 different specific processors. All of this can be a little overwhelming to consider, but I urge you to do some research, and to choose your processor very carefully. This applies whether you will be running bare-metal or using virtual machines.

Letting someone else pick your processors, who may not be familiar with SQL Server 2014 licensing and the demands of different database workload types, could be a costly error. A very common mistake that I see, is someone picking a lower clock speed processor at a particular physical core count, from the same processor family and generation, in order to save a relatively small amount of money on the hardware costs. Doing this might cause you to give up a significant amount of performance (30-40%) in order to save a very small fraction of the entire system cost, including the SQL Server 2014 core licenses for the database server.

With the core-based licensing in SQL Server 2014 Enterprise Edition, you need to pay very close attention to your physical core counts, and think about whether you are more concerned with extra scalability (from having more physical cores), or whether you want the absolute best single-threaded CPU performance (from having a processor with fewer cores but a higher base clock speed from the same processor generation). Unlike in the good old days of SQL Server 2008 R2 and older, having more physical cores will cost you more for your SQL Server 2014 Enterprise Edition licensing costs. You really need to think about what you are trying to accomplish with your database hardware. For example, if you can partition your workload between multiple servers, then you could see much better overall OLTP performance from using two two-socket servers instead of one four-socket server. Another example would be to have two, two-socket servers with very fast, low-core count processors instead of one, two-socket server with much slower, high core-count processors. OLTP workloads are especially sensitive to single-threaded CPU performance, since most OLTP queries are short duration queries that usually run on a single processor core.

Having more total cores is important for DW performance, and allows you to run higher concurrent query volumes, assuming you are not seeing memory or storage subsystem bottlenecks. With a data warehouse workload, it may be much more difficult to partition your workload across multiple database servers, but it is still something you should think about.

So, here are the specific Intel processors that I recommend in late March 2015 for OLTP and DW workloads, with their high-level specifications and some commentary.

Two-Socket Server (High Capacity OLTP or DW)

Intel Xeon E5-2699 v3 (22nm Haswell-EP)

  • 2.3 GHz base clock speed, 45MB L3 cache, 9.6 GT/s Intel QPI 1.1
  • 18 cores, Turbo Boost 2.0 (3.6 GHz), hyper-threading
  • Four memory channels, twelve memory slots per processor, 768GB RAM with 32GB DIMMs
Two-Socket Server (High Performance OLTP)

Intel Xeon E5-2667 v3 (22nm Haswell-EP)

  • 3.2 GHz base clock speed, 20MB L3 cache, 9.6 GT/s Intel QPI 1.1
  • 8 cores, Turbo Boost 2.0 (3.6 GHz), hyper-threading
  • Four memory channels, twelve memory slots per processor, 768GB RAM with 32GB DIMMs

Having eighteen physical cores per processor will let you run more concurrent queries OLTP queries or more effectively run a typical DW workload. Choosing the top of the line, 18-core Xeon E5-2699 v3 would cost more than twice as much for the SQL Server 2014 license costs as the 8-core Xeon E5-2667 v3. Once again, if you can partition your workload, two dual-socket Xeon E5-2667 v3 based servers would give you much better overall OLTP performance than one Xeon E5-2699 v3 based server for the less total SQL Server 2014 Enterprise Edition licensing cost. You would have more total memory between the two servers, and more potential I/O capacity, at the cost of buying two servers instead of one server. In some situations, this strategy might not make sense, especially with the added management and maintenance overhead of two servers instead of one.

Four-Socket Server (High Capacity OLTP or DW)

Intel Xeon E7-4890 v2 (22nm Ivy Bridge-EX)

  • 2.8 GHz base clock speed, 37.5MB L3 cache, 8 GT/s Intel QPI 1.1
  • 15 cores, Turbo Boost 2.0 (3.4 GHz), hyper-threading
  • Four memory channels, twenty-four memory slots per processor, 1536GB RAM with 16GB DIMMs
Four-Socket Server (High Performance OLTP)

Intel Xeon E7-8893 v2 (22nm Ivy Bridge-EX)

  • 3.4 GHz base clock speed, 37.5MB L3 cache, 8 GT/s Intel QPI 1.1
  • 6 cores, Turbo Boost 2.0 (3.7 GHz), hyper-threading
  • Four memory channels, twenty-four memory slots per processor, 1536GB RAM with 16GB DIMMs

The current Xeon E7-8893 v2 will give you significantly better single-threaded OLTP query performance in a four-socket server than the E7-4890 v2, at the cost of less total capacity because of the lower physical core count. The E7-8893 v2 is a "frequency-optimized" model that is actually designed for eight-socket servers, but is available in several current four-socket server models from the major server vendors. It is an excellent choice for a smaller OLTP workload, where you want the best possible single-threaded CPU performance, but want to minimize your SQL Server 2014 licensing costs.

It would save you enough on SQL Server 2014 Enterprise Edition license costs (about $250K) to buy the server itself and still have lots of money left over. I even think it is a better choice in many situations than a two-socket server with the 18-core, Intel Xeon E5-2699 v3, since you will have much higher single-threaded performance and much higher memory capacity. The downside is a higher hardware cost, since you will be buying four, quite expensive processors.

The higher core count Xeon E7-4890 v2 would be a better choice for a larger OLTP workload or for a DW workload. You will have more processor cores, which give you more total CPU capacity, which will cost you a significant amount extra for the SQL Server 2014 license costs.

Eight-Socket Server (High Capacity OLTP or DW)

Intel Xeon E7-8890 v2 (22nm Ivy Bridge-EX)

  • 2.8 GHz base clock speed, 37.5MB L3 cache, 8 GT/s Intel QPI 1.1
  • 15 cores, Turbo Boost 2.0 (3.4 GHz), hyper-threading
  • Four memory channels, twenty-four memory slots per processor, 3072GB RAM with 16GB DIMMs (eight sockets)
Eight-Socket Server (High Performance OLTP)

Intel Xeon E7-8891 v2 (22nm Ivy Bridge-EX)

  • 3.2 GHz base clock speed, 37.5MB L3 cache, 8 GT/s Intel QPI 1.1
  • 10 cores, Turbo Boost 2.0 (3.7 GHz), hyper-threading
  • Four memory channels, twenty-four memory slots per processor, 3072GB RAM with 16GB DIMMs (eight sockets)

In the eight-socket space, you can also choose a lower core count, frequency-optimized model (like the E7-8891 v2) that has a higher clock speed for better single-threaded OLTP performance. The lower core count will also save you a LOT of money on SQL Server 2014 licensing costs, although you will give up that extra load capacity with fewer total processor cores available. For a larger OLTP workload or for a DW workload, the 15-core E7-8890 v2 would be a better choice, since you will have a lot more overall CPU capacity, along with extra SQL Server 2014 licensing costs.

All of these recommended four and eight-socket processors are from the same current-generation, 22nm Intel Xeon Ivy Bridge family, so you can make pretty easy performance comparisons based on core-counts, base and turbo clock speeds, and the size of the L3 cache. All of these processors will also support 32GB DIMMs (which are still more expensive per GB than 16GB DIMMs), and the upcoming 64GB DIMMs (which will be quite expensive per GB).