With the existing supply of high-performance and very affordable desktop computer components, it is not very difficult to assemble an extremely high performance workstation for SQL Server 2014 development and testing at a very reasonable cost. Depending on how much performance you want and what your available budget is, you can take several different routes to get this accomplished.
At the high end of the spectrum, you can get a dual-socket, Socket 2011 motherboard, with two Intel Xeon E5-2600 v2 product family processors and a rather large quantity of ECC DDR3 RAM, and several data center-class SSDs, and spend a pretty significant amount of money. At the lower end of the spectrum, you can put together a system with a single Intel Core i7-4770K processor, 32GB of non-ECC DDR3 RAM, and a single high-performance, 6Gbps consumer-class SSD, and have a system with more processing power than many existing Production database servers. It is really not very difficult to to do!
If you are going to build a desktop system from scratch, you need eight basic components:
- Computer Case
- Power Supply
- Motherboard
- Processor
- Memory (RAM)
- Storage (Hard Drive or SSD)
- Discrete Video Card (optional, not really necessary in most cases)
- Optical Drive (optional, becoming less important)
This assumes that you have a keyboard, mouse, and one or more monitors. I’ll discuss each one of these components, with some tips for what you should consider as you are choosing them.
Computer Case
You will need some sort of case to hold your components (unless you want to leave them running on a test bench). Personally, I like mid-range, mid-tower cases from companies like Fractal Design, Antec, Cooler Master, and Corsair. Mid-Tower cases give you plenty of room for common ATX motherboards, and they usually have at least four to six internal 3.5” drive bays. Newer designs have special 2.5” drive bays for SSDs and front or top mounted USB 3.0 ports. Better cases are much easier to work with, and they often have much better cable management features (so you can route most of your cables in a separate space under the motherboard). This not only looks much nicer, but it gives you better airflow inside the case. You probably don’t really need a fancy, gaming-oriented case with LED lighting and a huge number of case fans. A decent case in the $50-100 range will usually have good quality components (such as quieter, larger diameter case fans), along with good thermal and noise management features. The Fractal Design Core 3000 is a good example of an affordable, good quality case for about $80.00. It has six internal drive trays that can hold either 3.5” or 2.5” drives.
Power Supply
You should invest in a decent quality power supply as opposed to the cheapest one you can find. You don’t want to go overboard and get a 1200 watt behemoth gaming-oriented power supply (unless you are building an extreme gaming rig with multiple, high-end video cards that really need that much power). For the kind of system that I am recommending, you can use a high quality 400-500 watt 80 PLUS modular power supply and have plenty of reserve power. Modular power supplies have detachable cables for things like SATA power, MOLEX power, PCI-E power, etc., so you only need to plug in and use the cables you actually need.
Power supplies are much less efficient when they are only supplying a very small portion of their rated output. Getting a 1200 watt power supply because you think it must be “better” than a good 500 watt power supply is actually a waste of money, both for the initial cost of your power supply and the electrical power costs over the life of your machine. The components that I am recommending will end up drawing about 30-40 watts at idle. I really like Seasonic power supplies, especially their fan-less, modular models such as the SS400FL and the newer SS-520FL. They are both completely silent and highly efficient power supplies. Another less expensive alternative that I like are Corsair power supplies, such as the Corsair CX500M modular power supply.
Motherboard
The motherboard is where all of your other components are plugged into, so it is a critical component. You need to consider which processor you are going to be using, since there are several different processor socket types available, which will dictate your motherboard choices. The most common type in early 2014 is the LGA 1150, which will work with the 4th generation 22nm Intel Core processors (Haswell). You also need to consider the form-factor of your motherboard. You can choose from ATX, micro-ATX, and mini-ITX, which refers to the size of the motherboard. You also need to think about the chipset used on your motherboard.
The Intel Z87 chipset is their best chipset for an LGA 1150 motherboard. As you are looking at motherboards, you should be looking at the low-to-mid range Z87-based motherboards instead of the high-end, gaming motherboards. The high-end gaming Z87 motherboards can be quite expensive, and they will have features (such as support for three discrete video cards), that you don’t need for a SQL Server workstation or test server. Instead, make sure you choose a model that has four DDR3 RAM slots, and a model that has at least six 6Gbps SATA ports. A good example is the Gigabyte GA-Z87M-D3H.
If you are going to run Windows Server 2012 or Windows Server 2012 R2 for your operating system, you should be aware that most Intel embedded NICs that you will find on many desktop motherboards will refuse let you install the NIC drivers with a Microsoft server operating system. In that case, you can buy an inexpensive, non-Intel ($15-20) PCI-E Gigabit Ethernet card that work just fine. If you are running Windows 8.1, you won’t have this issue.
Processor
You can choose a modern, Intel desktop processor that may well have much more raw processing power than many older two or four-socket production database servers. This is not an exaggeration, although it depends on the age of your production database server. You are far more likely to run into memory or I/O bottlenecks as you push a modern Intel desktop system than processor bottlenecks. For most people, an Intel Core i7-4770K processor will be your best choice (especially if you live near a Micro Center). It is a quad-core processor with hyper-threading (so you have eight logical cores) that runs at a base clock speed of 3.5GHz, with the ability to TurboBoost to 3.9GHz. It runs very cool, and is easy to overclock with the stock Intel processor cooler. It is not really necessary to overclock this processor, though. You can have a maximum of 32GB of DDR3 RAM with this processor.
Most 4th generation Intel Core processors (Haswell) have pretty good integrated graphics built-in to the CPU package. The better models have HD4600 graphics which give you more than enough performance for normal desktop usage and even some moderate gaming. There was a pretty big improvement in the integrated graphics performance between the Ivy Bridge and Haswell processors, so it is much more feasible to simply use the integrated graphics instead of buying a separate, discrete video card. This will save you money and reduce your electrical power usage.
One big variable in the cost of using this processor is whether you live near a Micro Center computer store or not. Micro Center has 23 locations in the Continental United States, and they sell a few specific models of Intel processors at prices that no other company seems willing to match. They have been doing this for years, and it is their regular practice (so it is not a special sale or promotion). The only catch is that those processors are only available for in-store pickup (so no mail-order).
For example, Micro Center is currently selling the Intel Core i7-4770K processor for $269.99, while NewEgg is selling the exact same Intel Core i7-4770K processor for $339.99. Micro Center quite often does promotions where they will reduce the price of a motherboard by $40-$50 if you buy the motherboard with a qualifying processor. Their prices on motherboards, cases, memory, hard drives and SSDs are also quite competitive.
Memory
If you select an LGA 1150, Z87 motherboard with four RAM slots, you can have up to 32GB of non-ECC DDR3 RAM in your system. You can get two 8GB sticks of 240-pin PC3 12800 DDR3 RAM for about $147.00, so it would be about $294.00 to get 32GB of RAM. This should be plenty for most development and testing workloads (including running multiple VMs), but if you really need more, you could make the jump to the LGA 2011 platform that uses the more expensive quad and six-core Intel Ivy Bridge-E processors where you can have 64GB of RAM. One thing you will want to do as you are configuring your system is to go into your BIOS setup and turn on Extreme Memory Profile (XMP), so that you will get better memory performance. This can occasionally cause stability problems, depending on the type of memory that you have, but if that happens, you can always turn it back off.
Storage
You will need some type of storage for your system. Traditional magnetic hard drive prices have finally gone down after the tragic flooding in Thailand back in late 2011, so that you can get a high-performance 2TB, 7200rpm SATA III drive with 64MB of cache, such as a 2TB Western Digital WD Black WD2003FZEX for $154.99. For just a little more money, you can also get a much smaller, but much much higher performance 6Gbps SATA III consumer-grade SSD, such as a 250GB Samsung 840 EVO SSD for $144.99. Solid State Drive prices have come down a lot (as performance has increased dramatically) over the past couple of years, but they still cost about eight times as much as conventional magnetic storage, per gigabyte.
I really encourage you to use a modern, fast 6Gbps SATA III SSD for your boot drive since it will have an extremely dramatic, positive effect on how fast your system performs and “feels” in everyday use. It will boot faster, shut down faster, programs will load nearly instantly, and it will take much less time to install new software and Windows Updates. It is similar to the difference between a dial-up modem and a fast broadband connection. Once you start using a fast SSD, you will never want to go back to a conventional magnetic hard drive.
You want to make sure your fast 6Gbps SSD is plugged into a 6Gbps SATA III port (not one of the 3Gbps SATA II ports). Otherwise, your fast SSD will be limited to about 275MB/sec for sequential reads and writes (which is still about twice as fast as a very fast traditional 7200rpm SATA hard drive). You also want to avoid the smallest capacity 64GB and 128GB SSD models, since their performance is much usually much lower than the larger capacity models from the same manufacturer and product line. This is because the smaller capacity models have fewer NAND chips and fewer data channels. Ideally, you would want a 250GB (or larger) 6Gbps SATA III SSD plugged into each SATA III port that you have available on your motherboard. This would give you lots of options for how to lay out your SQL Server data files, log files, tempdb files and SQL Server backup files.
Of course, you may not want to spend that much money, so it is still common to have one or two SSDs, along with one or more conventional magnetic drives in a desktop system. One of the luxuries with a desktop system compared to any laptop is that you have a very high number of internal drive bays and up to ten or twelve SATA ports on the motherboard. You can also buy inexpensive PCI-E SATA III cards to add even more SATA III ports to a desktop system.
Discrete Video Card
There are some situations where the Intel Haswell HD4600 integrated graphics might not be enough for your needs. An example would be if you were doing things such as AutoCad that really place a lot of stress on your graphics performance. Another example is if you wanted to run multiple, large monitors on your system. Most motherboards that support the Intel integrated graphics only have two or three video connectors (such as a VGA connector, DVI connector and an HDMI connector), so that would limit how many monitors you could connect to the system. If you do decide to go with one or more discrete video cards, you can get quite decent performance for about $100-150.00 each (but you can spend much more). You may also need a power supply with multiple, supplemental PCI-E power connectors, and you might even need a higher capacity power supply.
Optical Drive
Even though they are becoming much less useful over time, I still like to have a DVD-Recorder, optical drive in a desktop system. It just makes it easier to install the operating system and other software (although you can certainly install from a USB drive). It is also becoming much more common to simply mount an .iso file for doing something like installing SQL Server 2014. You can get bare, OEM optical DVD drives for about $15-20.
So, after all of this, how much money am I trying to convince you to spend? Well, here is one example:
- Case $80.00
- Power Supply $50.00
- Motherboard $130.00
- Processor $270.00 (Intel Core i7-4770K from Micro Center)
- RAM $294.00 (32GB of DDR3 RAM)
- Storage $300.00 (One 250GB Samsung 840 EVO SSD and one 2TB 7200rpm drive)
- Optical drive $20.00
Total System $1144.00
This system would have much better performance than a laptop that would cost several times as much. It would also have better performance than many production SQL Server database servers. It would be pretty easy to slice over $400.00 off of this system cost by choosing some different components, and still have a very capable system.
Here is a second, lower cost example:
- Case $50.00
- Power Supply $50.00
- Motherboard $60.00 (Lower cost model, plus $40.00 Micro Center Processor Bundle discount)
- Processor $190.00 (Intel Core i7-4670K from Micro Center)
- RAM $147.00 (16GB of DDR3 RAM)
- Storage $200.00 (One 120GB Samsung 840 EVO SSD and one 1TB 7200rpm drive)
- Optical drive $ 20.00
Total System $717.00
This second system would still be quite powerful, although it would only be a quad-core processor (with no hyper-threading, so it would have about 70% of the processor capacity of the Core i7-4770K), have half the RAM, and half the storage space.
Of course, neither one of these systems has redundant, server-class components or ECC RAM, so you would not want to use them in a production situation. They would probably be much better (in terms of performance) than some ancient, out of warranty, retired server for development and testing.
8 thoughts on “Building a Workstation for SQL Server 2014 Development and Testing”
I’d steer clear of the K versions because these don’t support vt-d in virtualizations. They’re positioned mostly towards the gaming community and only provide minimal advantages in speed, even with an i5-4570, which is about half the price.
With the same logic, I’d get my hands on a Q87 chipset over a Z87, because it allows some more flexibility for a lab environment with it’s virtualization options as well as easy remote control with vPro.
That depends on whether you plan on doing lots of virtualization or not. It also depends on the raw performance of your I/O subsystem. For example, if someone wants to run several concurrent VMs on a workstation with limited I/O performance (such as a single 7200rpm SATA hard drive), the limited raw performance of the I/O subsystem itself, rather than a lack of VT-d support will be the bottleneck. If you are going to have one or more fast SSDs for your VMs, and you are going to do heavy virtualization, then a processor with VT-d support would be a good idea.
The other reason why I usually recommend the K version processors is because Micro Center usually only offers their processor and motherboard combos with the K version processors. On the other hand, the non-K version processors are sometimes (but not always) slightly less expensive than the K version processors, by themselves.
It is also a little more difficult to find Q87 chipset-based motherboards compared to Z87 chipset-based motherboards. You typically have to go mail-order to find them.
great article, very helpful. just curious if you have any thoughts on where we could just buy a full unit. effectively pay more but have some do the dirty work of assembling it.
thanks,
hobbyist vim
Some place like Micro Center would have their house brand desktop PCs, where you could pick one with comparable specs.