In this short article, i’ll describe as optmize the performance for the search service application.
The search service introduced with Sharepoint 2013 is…powerfull but it require resources : cpu and memory; it is normal but you can manage : how many resources to use.
If you open the task manager, you can see the process : “noderunner.exe” that consuming a lot of CPU. You can’t kill them, it is required for the search service application, the optmizzation consist in two step:
1.Set the performance level with the cmdlet :
Get-SPEnterpriseSearchService | Set-SPEnterpriseSearchService –PerformanceLevel “Level”*
- Reduced: Total number of threads = number of processors, Max Threads/host = number of processors
- PartlyReduced: Total number of threads = 4 times the number of processors , Max Threads/host = 16 times the number of processors
- Maximum: Total number of threads = 4 times the number of processors , Max Threads/host = 16 times the number of processors (threads are created at HIGH priority)
2.Configure the RAM usage, modifying the file : “noderunner.exe.config.” placed in the location (default):
C:\Program Files\Microsoft Office Servers\15.0\Search\Runtime\1.0\noderunner.exe.config.
The property to modify is : memoryLimitMegabytes, set to ‘0’ for default. With this value the RAM used is unlimited..set a limit.
After this operation you must restart the search service “Sharepoint Search Server 15” from “Control panel – > Services”.
After the modifiy, open the task manager and check the CPU and Memory usage from “noderunner.exe”.