• SONAR
  • Sonar Optimize Win 10 : MMCSS (p.4)
2017/07/01 12:37:18
parco
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile]
"NetworkThrottlingIndex"=dword:00000001
"SystemResponsiveness"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Audio]
"Scheduling Category"="High"
"SFIO Priority"="High"
"Latency Sensitive"="True"
"Priority"=dword:00000008
"GPU Priority"=dword:0000001f
"BackgroundPriority"=dword:00000008

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Pro Audio]
"Scheduling Category"="High"
"SFIO Priority"="High"
"Latency Sensitive"="True"
"Priority"=dword:00000008
"GPU Priority"=dword:0000001f
"BackgroundPriority"=dword:00000008

 
 
This is always my MMCSS config, note that Latency Sensitive is only available in Windows 8 or above.
2017/07/01 12:41:54
taccess
Timur Born
Either set core affinities for the DAW process manually via Task-Manager or get "Process Lasso" and tell it to set affinities for your specific DAW programs automatically. The latter means that you can set it once for each program and then every time you start a program it uses the same affinities. PL even comes with a simple one-click entry for setting affinity to only physical cores.
 
The reason why Hyperthreading causes trouble in this scenario is because Hyperthreading uses only free core resources for the second logical core, practically "left-overs". Usually only 20-30% of a physical core can be used for Hyperthreading, the rest of the hardware is already used by the other logical core. Interestingly this is an area where AMD Ryzen is said to work quite well, I did not find time to check that yet, though.


Well I hope it works for him he sounds exhausted with this issue and affinity was the last thing I would have suggested although I have been doing some reading on affinity and unlike a lot of threads that made me believe it is something to leave alone, I now know that is not true and advanced users who know what to use it for make good use of it.
Speaking of another advanced feature.
Timur if you could give some more advice : NUMA & Cakewalk !

> http://forum.cakewalk.com...-aware-OS-m733282.aspx
( Above is a positive tread with cakewalk and NUMA)
> https://software.intel.co...onitoring/topic/392519
( Above is a great thread highlighting how NUMA can be used and is used to create memory bandwidth and extra worker threads for applications if they are threaded correctly through the OS .0
> http://forums.cgsociety.o...ndex.php?t-819748.html
( this is another thread I found which has a chunk of the z800 manual states: NUMA offers the potential to improve memory bandwidth and latency for multi-process or multi-threadedapplications or workloads. Notice also there is a NUMA Split Mode also for the z800 which I have yet to research )

Either way iam going to give NUMA a try for a month ( as long as Platinum allows it that is ) before I enable it I want to try it properly and that involves understanding it properly first.

My understanding is this :
1) NUMA if used correctly ties in with hyperthreading to provide seperate memory for each processor .
2) Like affinity, NUMA if used correctly with correct applications supporting hyperthreading can enhance memory by a factor of the amount of processors or memory banks ! That's huge!
3) If used incorrectly it may perform poorly.

I will continue to research this more before I pull the pin, but what i am not sure of entirely yet is :

1) quoted from link above : ( For instance, if numa is enabled, on a multisocket box, you can right click on a process in taskmanager, select set affinity for the process, and you will see a list of cpus and their associated numa node number.)
1a ) Node numbers and how windows 10 OS manages them . Is this automatic or do I have to go to task manager and manually set affinity and or distribute the CPUs and nodes there too?

2) do u know a way a can do a short test where I can test NUMA's performance with Platinum !

Just had a brain fart , it's late going to bed. If you have any advice I would appreciate your feedback .
2017/07/01 12:50:16
taccess
parco
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile]
"NetworkThrottlingIndex"=dword:00000001
"SystemResponsiveness"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Audio]
"Scheduling Category"="High"
"SFIO Priority"="High"
"Latency Sensitive"="True"
"Priority"=dword:00000008
"GPU Priority"=dword:0000001f
"BackgroundPriority"=dword:00000008

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile\Tasks\Pro Audio]
"Scheduling Category"="High"
"SFIO Priority"="High"
"Latency Sensitive"="True"
"Priority"=dword:00000008
"GPU Priority"=dword:0000001f
"BackgroundPriority"=dword:00000008

 
 
This is always my MMCSS config, note that Latency Sensitive is only available in Windows 8 or above.


Yeah why is latency sensitive missing in win 10 ? I don't think it matters though, because platinum points to ProAudio.
Your settings are exactly the same as my multimedia file too (:

I have come to believe that "Priority" could be left at 2 and is still regarded as high ! and that "schedule priority (High) "is supersedes Priority which means that Priority does not need any adjustments. Correct me if I am wrong.


Update: regarding my comment on latency sensitive , I told you I had a brain fart, what I meant was there used to be a MMCSS profile called low latency and that was meant to be the question ! Yeah why is the MMCSS Profile "low latency "missing from Win 10 ! Did they swap it out by adding the "latency sensitive " setting across the profiles which if so is fantastic.
2017/07/01 14:58:19
arachnaut
Timur Born
Either set core affinities for the DAW process manually via Task-Manager or get "Process Lasso" and tell it to set affinities for your specific DAW programs automatically. The latter means that you can set it once for each program and then every time you start a program it uses the same affinities. PL even comes with a simple one-click entry for setting affinity to only physical cores.
 
The reason why Hyperthreading causes trouble in this scenario is because Hyperthreading uses only free core resources for the second logical core, practically "left-overs". Usually only 20-30% of a physical core can be used for Hyperthreading, the rest of the hardware is already used by the other logical core. Interestingly this is an area where AMD Ryzen is said to work quite well, I did not find time to check that yet, though.




I don't want to tell a DAW which core to use. I want it to spread it's VST load across only physical cores, skipping the adjacent logical core.
 
You can't set affinity for a DLL (VST).
 
So that's why I was looking at the affinity mask.
 
By the way, these types of processor masks always seem to be a 32-bit object (DWORD) - what happens when AMD 96-logical-core Starship arrives next year?
 
2017/07/01 15:03:52
arachnaut
taccess

Well I hope it works for him he sounds exhausted with this issue ...




No that doesn't work.
 
If you have any interest in this topic as it pertains to Reaktor, I welcome you to look over this thread in the Reaktor forums:
 
Managing Behemoths
https://www.native-instruments.com/forum/threads/managing-behemoths.317483/
 
 
2017/07/01 15:04:41
Sheanes
thanks for sharing your expert knowledge Taccess and Timur Born !!!
 
2017/07/01 17:15:22
parco
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\PriorityControl]
"IRQ8Priority"=dword:00000001
"IRQ18Priority"=dword:00000001
"IRQ0Priority"=dword:00000001
"Win32PrioritySeparation"=dword:00000024

 
and here are my another registry configs. Note that IRQ18 is my TI 1394 card for my Audiofire 4. So just modify the IRQ number to the IRQ of your sound device, or any USB, 1394, thunderbolt or ac-bridge ethernet card which connecting your sound device, so make sure they got their own exclusive IRQ number and not sharing with other hardwares. IRQ 0 is the clock timer of your CPU and IRQ 8 is the clock timer of your BIOS CMOS.
2017/07/01 18:05:43
Sir Les
arachnaut
I think he means every time we change something Microsoft comes up with an update and it overwrites our choices.
I find things like Program Defaults should never be altered on updates.
 
It's an interesting philosophical point - Microsoft owns the software, but we own our personal settings. They are very careful to protect their intellectual property but nonchalant about our choices and settings.


 

Thank you for interpretation of my words....Right on the money...or should I say Button.
 
Thanks for you looking into this...regedit writing into ...And seeing what happens when you do...it is not a good idea to do, if you read the ULA of MS...I was warned not to ...when they sent me a copy in my email...
 
So I try to say, what I know....I know I am not skilled in language proper....But, I try!
 
Best of luck...
 
No harm...and take it with salt, and a good cheer...We still do it because we wants to, not because we are paid.
 
That bugs the hell out of them ugly ones of occult and bent control in "the houses of the greedy" ....Wink..lol....Something about led zep...might think to make made in song one day?, in the new world order being promoted, or new heaven and  Earth to forget?...
 
Well, if it ain't working as so called claimed...and it is sold as said works with...and you or other has to rewrite code or make corrections for to work....is it as claimed?
 
 
That, little bit of error...is a lie?...if lie is used...what happens?....So a causality of ..for an effect to be manifested is put forth..into..perhaps not their fault as the software maker is concerned...But is held by the HOST OS...Then, a recant or forgiveness is granted the ones who claim the workings on..HOST OS....It is not their fault.
 
So, As we know Sonar has a good base code...
But, MS is screwing with too much change...and thus, no one can predict the standards...and non can!
 
 
So although Many appreciate all the help, and tweakings found to help some get going....
Odd things are still occurring.
 
Not all have, but some who went to blame or are now finding and blaming MS...Are tagged and all sorts of crap is sent down the pipe, and wipe outs of postings...is just another frustration!.
 
 
I would not protect them...if they be the cause of so many people I know, having big issues with their business not working as setup for...with MS.
 
So, not saying MAC is better, for I know not , just learning it myself.....seems, once all is settled..and it works, I am not forced auto updates .
At least that is still in user control...I believe...Yet, I also know, if they want to, they also can flick a push to sabotage any system they want to.
 
So, reading into hackintosh making of the parts I own...or believe i do...could be rendered ruined is Apple do not like the machine or its violations if any are found with the ULA.
 
RISK?...YAH...But it might work out ..if it did work...I will wait a bit more so...But candy crush is a slap in the face now with MS....I am not finding it funny to find software put, I need not in my working machines.
 
If I want to play games...I have a gaming machine...and I will install the games I like...Not what they like me to have on my machine of work, or studio, or just my work horse ...or as I call it my Monster builds.
 
following instructions, and installing drivers and setup of manuals, has brought me no where but circles with video audio programs...ever since ever was a MS os...and not much has changed, it is always morphing to something, yet it is never truly made completely proper.....and then, newer, and all things are rearranged from common known places, so you have to relearn where they moved all the settings to do a proper setup.
 
And are they truly working proper?..if off is set, or on is set...if device says it is not working, but is working...something is not right with something .
 
Now..as this is kind of one of my pets knowing...It writes logs, always to Event viewer...this simple task, is a interruption of my working ethic....as I am plagued with clicks pops and lost drivers, or freezing up using 24-30 tracks at once recordings...and then adding eq or compression...things start to thrash on cpu, spikings,....or Hard drive issues being thrashed also,...and or lost tracks or content not saved when saying save all..as save as....if so , still...is not totally the software's fault...if using libraries of MS..or its Explorer box....Then what is causing such bad performance of the gear?.
 
And is it tied to the trace and track?..if MS is reading drive content..and you are writing to it...and their security is also monitoring it...you see a reason for interrupts, that might be part of this mystery being with some seeking something...as they tried most if not all the tweaks said to do by most here or there...and still, no glory.
 
That becomes something to factor out by user?..or RND?..is it in services we find the blissful setting of setup, or regedit, or just tweak the easy stuff is all , as said....Seems some are going in deep now eh?...Is it other things interrupting the cpu to write logs of so much logging , saying something is not working...Yet is working.
 
It just makes no sense to try to undo..or make do with it...on my end...perhaps I am being made frustrated by other departments of mayhem..to make negative energy be born into flesh...But, no way is it going to make me pop a fuse.
 
Although yelling at them when even they say...it is working fine, while on a remote viewing, and It is not fine at all...Is just another lie spoken in my ear!
 
And they close the session...and I got no sound, no working software, and anything I try to install...does not install at all...just disappears Poof...
Audio driver...Disappears...Poof...
 
And then told to wait until April's release....And they then put all this crap in it...to make more work to remove, and the very next day...it's back!
 
 
You hearing me now more so...I tried to post links...removed...I tried to say...removed...I tried...
 
And I am still trying....why waste your time fixing their blunders, or trying to make it work proper on that kind of dictatorship platform?.
 
I ask...what can be done has been done by others...choice...do not remove that..for that is the very thing we all have given us.
 
Now..about more so...if so, is a good thing...should it not be shared on all OS type systems....a Good thing?.
 
 
And They said they were working on something with Mac...and toasted it.
 
Well...other oses exist...and or can be made....not impossible to do if one wants to do it.
 
And many want something working properly...not buggy!.
 
 
Right?...
 
So, as I do not read or write codex...I know some do...and if I take it up, although I am now getting on in age.
It is not impossible to do something along those ideals.
 
I do not need a computer to talk to..I got friends of a living sort..and I surely do not want my computer talking to me...or doing things I did not ask be done.
 
So...it it my computer anymore if using MS os 10, and now the push , to push many off of the earlier versions is in play!.....
 
tactics...
 
Thanks for trying to hear, ..and put proper in words simply said....It may open the eye, to ponder...some are selected to be frustrated...some are lead to believe it works for them...some are in cahoots with, and others are sabotaging...it is a war...But who started it?
 
Lies and liars!...spying, stealing..and in some cases, infiltration of business to corrupt it...and life itself..is in the balance....while many who would do wonders in life and the care of it more so put proper...are all lead down this road of promise that does not pan out to anything more than a machine that stop many from keeping the environments healthy with the love or care for it over it put proper.
 
Is the machine serving us news of ill will, hate, violence, and making people frustrated when all is said saved work, and you find it all wiped out?...not by you, but by them doing it to your system.
 
Not nice people eh?...still wana Play games?...and try to make this work for you....I would say.
 
GOOD LUCK!
 
 
Cheers
 
 
 
 
 
2017/07/01 22:46:19
Timur Born
arachnautI don't want to tell a DAW which core to use. I want it to spread it's VST load across only physical cores, skipping the adjacent logical core.

The original request said "one DAW per core", which sounds like running several DAWs in parallel and wanting to run one instance per core.
 
Anyway, if you set the affinity of the parent process to only use physical cores then the DAW can only set affinity of its threads (aka VST addons) to use said physical cores.
 
You can't set affinity for a DLL (VST).

They are part of the parent process and thus adhere to the parent process' affinity restrictions. That is unless you use something like Reaper's option (!) to run addons in their own process.
2017/07/01 23:01:25
Timur Born
Concerning NUMA: I lack experience with this. As far as I understand NUMA handling is mostly about keeping memory and cache content local to the node/cores that need it for processing. Ryzen may or may not benefit from it, because of its internal dual CCX structure concerning the L3 cache.
 
But I am not sure how much addons benefit from cache and memory locality and performance anyway. So I fear that I cannot provide much of an insight here. Keep in mind, though, that we keep streaming loads of audio data from slow harddrives (now SSDs) for years already and bandwidth needs of audio data are not that high on current hardware, even less so memory and CPU interconnects.
 
© 2025 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account