Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
This page describes the settings for best performance for servers running the Qlik Associative Engine.
Latest update: May 2022
Windows 2022 has improved performance for servers with many physical cores. This table shows the definition used in the below document.
| Older Windows versions | Windows 2022 |
Server with normal core count | ≤64 physical cores | ≤90 physical cores |
Server with large core count | >64 physical cores | >90 physical cores |
Setting | Value |
Hyper-threading | Applies to QlikView and Qlik Sense servers:
There are use cases that even on servers with huge #cores enabling hyper-threading is beneficial. Therefore, it is best to test these settings for your application. |
Power Management (System Profile Settings) | Applies to QlikView and Qlik Sense servers:
Another setting that can be used is the full performance setting. But this settings makes the server run constantly at the maximum clock speed for all cores, which has the following drawbacks:
A solution to this is to use a custom system profile in the server BIOS that allows the CPUs to use their C states while all other components are set to full performance. The custom system profile should be set up similar to the following:
|
NUMA | QlikView servers (Intel):
Qlik Sense servers (Intel):
*On servers with Intel CPUs, NUMA is disabled by enabling Node Interleaving. QlikView and Qlik Sense servers (AMD EPYC):
|
Memory configuration | QlikView and Qlik Sense servers:
|
Hardware/Software Prefetcher | QlikView and Qlik Sense servers:
|
The names of the settings and how to tune them may differ depending on the server manufacturer and model. Refer to the documentation for your server to find the equivalents of the settings listed above.
Setting | Value |
Power plan | QlikView and Qlik Sense servers:
|
Registry update | Qlik Sense servers only: For servers with a large core count, there is a registry change, applicable to both Intel and AMD CPUs, that improves the responsiveness when the Qlik Sense Repository Service (QRS) is under heavy load (for example, when many users open the hub at the same time). Two registry updates are needed: Add the Thread_NormalizeSpinWait key as a DWORD value to the following subkey: HKEY\LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework
Add the Switch.System.Threading.UseNetCoreTimer key as a String value to the following subkey: HKEY\LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AppContext
The fix is described in full here: https://support.microsoft.com/en-za/help/4527212/long-spin-wait-loops-in-net-framework-on-intel-skyl... |
/ Cheers from the Scalability Center team
We have separate Publisher Servers. Would these QDS servers benefit from this same configuration (NI=Enabled;NG=Flat)?
Any performance difference or different behaviour between 12.10 QIX Engine and 11.20 Engine?
Hello Francesco - from what I understand - only for wide data sets (many, many columns) - I am not sure of the total number of columns however.
Miguel, thanks for the great response on the hyperthreading question with QV11. I am trying to determine if the general recommendation for QV12 is still to turn off hyperthreading. Your input would be greatly appreciated.
Kevin, yes, it is recommended, as the way that the engine handles memory has not changed. However, there are CPUs like the E5-2690 where the hyperthreading enabled and 512GB+ RAM helps to a better performance. I have not tested the latest v4, but If the number of physical cores is smaller, hyperthreading would help. Theoretically, if the number of cores is smaller than 16, the way the QPI link is connecting the physical CPUs enabling hyperthreading and get, for QlikView -not other applications- better performance. After all, QlikView needs a balance between amount of memory and CPU power, having superfast CPUs with little ram or massive amounts of RAM with less powerful cores will not help. Enabling hyperthreading creates a bit of overhead in CPU cycles but handles better higher amounts of RAM.
thanks for the quick response Miguel, very helpful.
Thanks for the Info, but I have a doubt, the article 000026813 Hardware Settings For Best Performance With Qlik Sense in the knowlegege library says:
while this community topic says the opposite:
can you please help me to clear this confusion for me.
Dear @Jens_Argentzell
We preformed migration to Publisher version 12.5 SR2 to a new server with 2 X 16 cores (32), we encountered with conflict regarding to Hyper-threading
regarding to your article you advised to set it to Enabled “Servers with ≤60 physical cores: Enabled” , but other article BIOS-Settings-For-Best-Performance-On-QlikView-Server-And/ta-p/1710242 advise to set it as Disabled " Disabled (most architectures), Enabled (2 socket Intel E5-XXXX architectures) "
Hi Eyal,
Thanks for pointing out the conflict between the posts, that has now been fixed. I can confirm that the best approach is to enable hyper-threading for servers with less than 60 physical cores. In most cases this will give you the best performance.
Best regards,
Frederic
Thanks a lot Frederic
your feedback was helpful
Best regards,
Eyal Nir