mdyde wrote:Thanks, abaymajr.abaymajr wrote:After a few days of testing, Hauptwerk 7.0.1.005 is absolutely stable, rising the use of CPU cores according to demand in a distributed and homogeneous way.
Just to clarify, that isn't a standard Hauptwerk v7.0.1.005 build -- it's a special executable that has all thread-affinity temporarily commented out (so that affinity is never set), solely meant to be sent to people as a work-around of last resort for PCs for which it isn't possible to stop some other process hogging a specific CPU core that Hauptwerk would normally use.abaymajr wrote:But I was curious to know what kind of application or service would be disputing with Hauptwerk v7.0.0.136 a single core to the point of making it stable at 92% load, even with Hauptwerk in idle, so I could optimize this Hauptwerk setup even further. Do you know any software that could perform this diagnosis?
Unfortunately I'm not aware of any way within Windows to query a process's thread affinities, so probably the only way to do it would be to look at the processes on the Details tab in Task Manager, paying particular attention to any that have a higher-than-normal base priority, or are running with elevated privileges, and are using quite a bit of CPU time (sporadically or constantly), then try right-clicking on them, selecting "Set affinity" then just clicking OK (which evidently causes Windows to reset their thread affinities back to those of the process, i.e. 'all cores' by default), until you find the process that's causing the problem.
I hope I'm not extending this discussion beyond what it would be productive for everyone but, investigating a little further into the matter under my personal circumstances, I couldn't find any process (application or service), other than Hautpwerk.exe, that would cause the >92% single-core utilization of a CPU with 13 other cores. I manually closed all applications and services and none of the shutdowns made any difference in the reported phenomenon. The only process shutdown that changes that core's usage is Hauptwerk.exe itself. Running it in real-time or at normal priority doesn't make any difference either. Changing the affinity of this process for any other group of cores with very low or zero utilization transfers to these the very same phenomenon of overutilization of the previous core. So, there really seems to be some peculiar optimization to be done with that exact processor (Intel i7-13700H) or with its family/generation. Fortunately, as already reported, after replacing Hauptwerk.exe executable with its v7.0.1.005 counterpart, everything is solved immediately and automatically. According to some additional tests I have done today, in this release the normal priority produces the same glitch-free audio performance and no CPU spikes in the HW7 metric as with the priority set to real-time, with an interesting advantage of achieving a higher loading performance (of compressed working files) between 630 and 650 MB/s (around 5% performance gain, compared to real-time priority).