mistergarner
Max Output Level: -87 dBFS
- Total Posts : 169
- Joined: 2003/11/06 10:24:00
- Location: Richmond, VA
- Status: offline
MixThreadCount = ?
Should MixThreadCount in the Aud.ini file be set to something else other than 0 if you have "use multiproccessor" enabled? I have a Pentium 4 2.6 with HT and get awful glitches and dropouts with this option enabled. They go away if I disable it. Thanks,
|
juca
Max Output Level: -63 dBFS
- Total Posts : 1376
- Joined: 2003/11/05 19:00:49
- Location: Itajai - Santa Catarina - Brazil
- Status: offline
RE: MixThreadCount = ?
2004/01/12 08:27:22
(permalink)
Greg: I believe if the use multiprocessor is enabled in Options/Audio, the MixThreadCount in the Aud.ini file goes automaticlly to the "1" condition (0=off, 1=on). Please, anyone correct me if I´m wrong.
****** Juca Nascimento ****** Keyboards/Composer/Arranger
|
C Hudson
Max Output Level: -71 dBFS
- Total Posts : 990
- Joined: 2003/11/04 10:02:51
- Location: Canada
- Status: offline
RE: MixThreadCount = ?
2004/01/12 08:45:26
(permalink)
OK,You're wrong :) Leave th setting at 0. With the MP engine on,0 in aud.in forces sonar to search how many CPU's are in the box and add 1 extrra mix thread for each additional CPU it finds. You can manually set it to 1 ( 1 extra worker thread) but there will be no difference in performance.
|
juca
Max Output Level: -63 dBFS
- Total Posts : 1376
- Joined: 2003/11/05 19:00:49
- Location: Itajai - Santa Catarina - Brazil
- Status: offline
RE: MixThreadCount = ?
2004/01/12 08:51:01
(permalink)
Hudson: Thank you for clarifying this. I did believe this setting was as the normal 0/1 Windows rule (off/on). Sorry if I posted an incorrect help.
****** Juca Nascimento ****** Keyboards/Composer/Arranger
|
C Hudson
Max Output Level: -71 dBFS
- Total Posts : 990
- Joined: 2003/11/04 10:02:51
- Location: Canada
- Status: offline
RE: MixThreadCount = ?
2004/01/12 08:55:39
(permalink)
No problem, Pretty easy mistake to make, I just happened to catch Noel from Cakewalk explaining it last week or I would have thought the same as you. I ,and many others are glad you are here helping. These days there seems to be lots of people to try and help
|
juca
Max Output Level: -63 dBFS
- Total Posts : 1376
- Joined: 2003/11/05 19:00:49
- Location: Itajai - Santa Catarina - Brazil
- Status: offline
RE: MixThreadCount = ?
2004/01/12 08:57:10
(permalink)
Hudson: You´re a gentelman. Thank you.
****** Juca Nascimento ****** Keyboards/Composer/Arranger
|
mistergarner
Max Output Level: -87 dBFS
- Total Posts : 169
- Joined: 2003/11/06 10:24:00
- Location: Richmond, VA
- Status: offline
RE: MixThreadCount = ?
2004/01/12 10:13:28
(permalink)
Apparently "EnableMixThreads" is the variable that gets set to either 0 (false) or 1 (true) when you check or uncheck "enable multiprocessor". HOWEVER, when I do enable it, MixThreadCount stays at 0. Like I said in the first post, with it enabled I got glitches and dropouts. When I manually changed MixThreadCount to 1 and enabled the multiprocessor engine, finally, the glitches and dropouts went away. My cpu usage also seems to have gone down a bit (though I know not as much as if I had 2 real processors). This seems like a very big issue with a workaround and I hope some of the people who are having problems hear about it. Thanks,
|
mistergarner
Max Output Level: -87 dBFS
- Total Posts : 169
- Joined: 2003/11/06 10:24:00
- Location: Richmond, VA
- Status: offline
RE: MixThreadCount = ?
2004/01/12 10:22:50
(permalink)
This is even more of a reason why I would REALLY, REALLY like to know what the variables in the aud.ini file do! I know you can't or don't want to tell us what all of them do, but please let us know about the really important ones so we can know that they are truly getting set to the correct values. For example, "Use24BitExtensible". What does this variable do? Mine is set to "0". I have "Audio Driver Bit Depth" set to 24 in the audio dialog box, along with the default "File Bit Depth". If this variable is set to 0, does this mean I'm not really getting 24 bit depth somewhere in the program? Maybe Sonar is reading my Delta 66's as not supporting 24 bit?
|
Marquis42
Max Output Level: -88 dBFS
- Total Posts : 123
- Joined: 2003/11/07 13:34:53
- Status: offline
RE: MixThreadCount = ?
2004/01/12 10:28:21
(permalink)
Read juca's response about the values of EnableMixThreads and what they mean. He is spot-on, as has been explained a couple of times in various threads by Cakewalk staff. ORIGINAL: mistergarner Apparently "EnableMixThreads" is the variable that gets set to either 0 (false) or 1 (true) when you check or uncheck "enable multiprocessor". HOWEVER, when I do enable it, MixThreadCount stays at 0. Like I said in the first post, with it enabled I got glitches and dropouts. When I manually changed MixThreadCount to 1 and enabled the multiprocessor engine, finally, the glitches and dropouts went away. My cpu usage also seems to have gone down a bit (though I know not as much as if I had 2 real processors). This seems like a very big issue with a workaround and I hope some of the people who are having problems hear about it. Thanks,
|
Master Chief [Cakewalk]
Max Output Level: -69 dBFS
- Total Posts : 1053
- Joined: 2003/11/03 19:20:44
- Location: Boston, MA, USA
- Status: offline
RE: MixThreadCount = ?
2004/01/12 10:38:10
(permalink)
Apparently "EnableMixThreads" is the variable that gets set to either 0 (false) or 1 (true) when you check or uncheck "enable multiprocessor". HOWEVER, when I do enable it, MixThreadCount stays at 0. Like I said in the first post, with it enabled I got glitches and dropouts. When I manually changed MixThreadCount to 1 and enabled the multiprocessor engine, finally, the glitches and dropouts went away. My cpu usage also seems to have gone down a bit (though I know not as much as if I had 2 real processors). When MixThreadCount is set to zero, SONAR will allocate one thread per CPU. By setting it to 1, you are overriding this behavior and forcing SONAR to use a single thread even though you have multiple CPUs. Your glitches and dropouts due to enabling MP may be caused by your driver or some plugin not being fully MP capable. Some plugins seem to keep "global" data that is assumed by the plugin code to be accessed by one thread at a time. This isn't true when SONAR 3.1 MP is enabled.
|
mistergarner
Max Output Level: -87 dBFS
- Total Posts : 169
- Joined: 2003/11/06 10:24:00
- Location: Richmond, VA
- Status: offline
RE: MixThreadCount = ?
2004/01/12 10:44:10
(permalink)
Ron, Thanks for the quick response. I was getting these glitches and dropouts with 8 tracks of audio and only one plugin, Sonitus' Multiband compressor. Since me setting this variable = 1 clears up the problem, I take that to mean I should disable the multiprocessor engine and disable hyperthreading once again in my bios. BTW, I was running at 1.5ms of latency but with a Pentium 4 HT 2.6ghz machine with 512 mgb RAM. Thanks again for your help.
|
C Hudson
Max Output Level: -71 dBFS
- Total Posts : 990
- Joined: 2003/11/04 10:02:51
- Location: Canada
- Status: offline
RE: MixThreadCount = ?
2004/01/12 10:49:20
(permalink)
Really? accord to Noel it is extra threads .. "Use Multiprocessor Engine" MixThreadCount Total Engine threads ================================================== 1. OFF 0 (ignored) 1 (default thread) 2. ON 0 Number of CPU's 3. ON n (>0) n+1 The MixThreadCount when greater than zero really specifies the number of EXTRA worker threads to be created. We always have (and have had since Pro Audio) one available audio engine thread. So setting it to a value of 2 explicitly ends up creating 3 threads in all, one original thread and two extra worker threads. You are free to experiment with these values, but please note that using more (total) threads than the number of CPU's may actually result in worse performance, due to the context switching overhead and the threads competing with themselves. For most practical purposes leaving MixThreadCount at its default value of zero will yield the best performance. If, however, you find empirical results that indicate you are getting better performance with a higher count let us know. Sorry for the confusion.
|
Master Chief [Cakewalk]
Max Output Level: -69 dBFS
- Total Posts : 1053
- Joined: 2003/11/03 19:20:44
- Location: Boston, MA, USA
- Status: offline
RE: MixThreadCount = ?
2004/01/12 11:28:07
(permalink)
Really? accord to Noel it is extra threads You're right, I stand corrected. So this means that setting it to 1 should be no different than setting it to zero.
|