WPF /C# application is not working in a 448 core server with hyper threading enabled

Copper Contributor

Hi,

My WPF /C# application (built using target dot net framework 4.8) is not working in HPE  448 core server with hyper threading enabled in BIOS. Application is running very slow and giving BSOD error in WinPE mode. If we run same application in actual Windows Server 2022 OS, application run very slow and hang. Same application run fine on same server if hyper threading is disabled in BIOS.  Application runs fine server with less number of cores. I have below config setting but no benefit -

 

AppContext.SetSwitch("Switch.System.Threading.ThreadPool.UseAllCpuGroups", true);
AppContext.SetSwitch("Switch.System.Threading.Thread.CurrentThread.ForceCpuGroups", true);

 

Please let me know how to resolve this issue on 448 core server.

 

Thanks,

Rachit

1 Reply

Hi @rachitgoyal,

Thanks for posting your issue here.

However this platform is used for how-to discussions and sharing best practices for building any app with .NET.Since your issue is a technical question, welcome to post it in Microsoft Q&A forum, the support team and communities on Microsoft Q&A will help you for any technical questions.
Besides, it will be appreciated if you can share it here once you post this technical question Microsoft Q&A.
Best Regards,
Lan Huang