A Simple Configuration Change Can Increase the Performance of your Tanium Infrastructure

Who doesn’t want better performance out of their IT infrastructure? While improving performance generally requires some degree of investment (upgrades to more powerful hardware, for example), there is something you can check that may allow you to squeeze better performance out of your current setup: your power plan configuration.

Tanium recommends setting Windows and hardware BIOS to the High Performance power plan for Tanium Servers. Modern processors conserve power usage by default, if not set to the High Performance power plan;  Microsoft hints at this in KB2207548. While lower performance settings may be beneficial for energy conservation, the tradeoff is that processors will not be performing to their potential, which means your Tanium deployment may not be running as fast as it could.

From a technical standpoint, the problem with using Balanced and Power Saver settings is that the CPU in turn drops cores from a C1 power state (working full bore) to C2 or C3 (or deeper). Then when an instruction needs to be performed on a C2/C3 core, the CPU has to wake, transition to C1, then start working. This will cause latency in your high performance applications. The power setting of Balanced or Power Saver will also negatively impact network performance, as network traffic relies on RSS offloading to the CPUs to do transmissions. You can expect a boost in network throughput and transfer speeds with the power plan set to high. 

Other reasons for High Performance configuration

In addition to enhanced speed and throughput, configuring your infrastructure to High Performance can also reduce the potential for impairment. Some generations of Intel and AMD chips have errata that forces cores to park (sit idle to save power) when not configured for high performance. This can cause problems for Windows machines in some cases, resulting in them being effectively unresponsive.

What about Virtual Machines?

While somewhat counterintuitive, the same issues arise in a virtual container. The only difference is that the focus is both on the virtual host (is performance set to high, is bios set right?) and the performance of the guest (setting to High Performance vs Balanced). Power plan was even found to impact Windows deployment: changing the WinPE build to use High Performance dramatically increases deployment speed of an image to hardware. In summary, it’s worth it to consider setting the High Performance power plan for your Tanium infrastructure. Not only could there be a significant increase in how your Tanium deployment performs, you may also see improvement in the performance of your other tier 1 mission critical applications.

For more on this subject, check out the following references:

https://illuminati.services/2017/07/26/server-2012-and-balanced-power-plan/ https://blogs.technet.microsoft.com/deploymentguys/2015/03/26/reducing-windows-deployment-time-using-power-management/ https://illuminati.services/2017/07/27/server-2012-and-balanced-power-plan-part-deux-processor-queue-length/