Hello,
Thank you for posting in Microsoft Community forum.
Based on the description, I understand your question is related to Windows CPU utilisation is low for 16 CPUs and high for 4 CPUs.
- Check in Services console, if the Spark service is set to auto start and high priority.
- After you switched to High performance power plan, ensure that there are no other power plan settings that might be limiting performance.
- If you’re using SQL Server, check if the Resource Governor is configured correctly and not limiting the resources for your Spark program.
- Ensure that the Spark program is set to use all available CPUs. You can set CPU affinity for a process in the Task Manager under the “Details” tab.
- Review the Spark application configuration to ensure it’s optimized for multi-threading and distributed computing.
It is also recommended to seek help from Spark support team for further assistance.
Have a nice day.
Best Regards,
Molly