AMD Comments on Threadripper 2990WX Scheduling Issues
Ever since AMD launched its Threadripper 2990WX, there have been questions about how effectively it could scale in multi-threaded workloads. Initially, the performance drops and slowdowns in certain workloads were attributed to the asymmetric memory controller configuration — only some Threadripper die have direct access to memory controllers, while others connect only indirectly. This appeared to cause significant performance loss in certain benchmarks.
But information quickly surfaced suggesting the issue wasn’t in hardware. Under Linux, the 2990WX maintained high levels of performance, even when it sagged in the same configuration in Windows. Clearly, there was more to the story. Anandtech, which has been cooperating with Wendell from Level1Tech’s, has published their own update on the situation.
It appears that Windows is designed to maintain a “Best NUMA Node” setting and attempts to run threads on those cores. The scheduler attempts to move nodes to these positions as often as possible but will kick out previous threads that were also supposed to be assigned to this core cluster.
Systems with three or more nodes, however, are still impacted, which is why we’re seeing the issue hit both Epyc 7551 and Threadripper 2990WX. The reason the CorePrio NUMA Disassociator works is that it probes active software every few seconds and adjusts thread affinity while the application is running. Think of it like a manual sorting operation being run periodically to ensure the operating system’s built-in scheduler is functioning appropriately.
According to AMD, it has tickets open with Microsoft and is exploring methods of resolving this problem as quickly as possible. Wendell’s understanding of the problem is supposedly “very close” to what’s actually going on, but specifics on differences were not given. Microsoft is said to now be working on a fix, though the timeline for inclusion is unclear. The next logical point of inclusion for the update would be Redstone 6, aka the upcoming Windows Update that will drop in the first half of 2019.
There’s been a lot of user speculation about whose “fault” this is. To some extent, the question is poorly framed. AMD can inform Microsoft of a problem with scheduling at any point, but this doesn’t automatically mean Microsoft flags the problem for resolution — particularly in the context of a just-launched CPU at the very top of the market with a negligible user base.
We know that AMD now has a line of communication open to Microsoft and we can make some guesses about when solutions might hit the market. It certainly won’t hurt anything that Intel’s Cascade Lake Advanced Performance CPUs, with up to 48 cores and a chiplet design, will be coming to market this year. From Microsoft’s perspective, it may have made the most sense to wait and introduce all of the tweaks required to support a range of new NUMA configurations, include Threadripper 2990WX’s, at the same time — thereby debuting stronger support for 7nm Epyc, 32-core and above Threadripper CPUs, Cascade Lake AP, and future products from Intel in the same update.
Users with a 2990WX should download the modified version of CorePrio to improve performance — we’ll have to wait and see what the formal version of scheduler support introduces to see if it can improve performance over and beyond the application.
Continue reading
wfoojjaec Comments Are Upgrading
Soon we'll be upgrading our comments section to a new system called OpenWeb, with improved spam filtering and support for inline GIFs, images, and more.
The Games We Played and Would (Mostly) Recommend in 2021
As 2021 draws to a close, here's what the wfoojjaec staff have been playing for fun. If you need game recommendations, you're welcome to pull from our own lists.
Intel Comments on Alder Lake CPU Socket Flexing
According to Intel some warping is expected, but it shouldn't cause much concern.
Microsoft Recommends People Uninstall Optional Windows 11 Update
If you've installed this optional Windows 11 update and noticed some of your apps are crashing, now you know why.