hyperthreading and sonar

Author
Spinedoc
Max Output Level: -79 dBFS
  • Total Posts : 574
  • Joined: 2003/11/05 22:05:43
  • Status: offline
2008/12/28 21:13:13 (permalink)

hyperthreading and sonar

I know sonar used to have a lot of problems with hyperthreading technology. I am thinking about going with an i7 processor with 4 cpu with hyperthreading for 4 extra virtual cores. Is sonar able to finally utilize this technology correctly? Otherwise I can save a lot of money just going with a regular quad core...

Do plugins themselves have to be hyperthread coded to take advantage of hyperthreading or is the host application just have to be coded to take advantage of multicores? I have seen scotts benchmarks but these are with only one plugin and I am wondering if the many other vst fx I have will enjoy the same perfromance gains.
post edited by Spinedoc - 2008/12/28 21:42:28
#1

19 Replies Related Threads

    gswitz
    Max Output Level: -18.5 dBFS
    • Total Posts : 5694
    • Joined: 2007/06/16 07:17:14
    • Location: Richmond Virginia USA
    • Status: offline
    RE: hyperthreading and sonar 2008/12/28 22:00:27 (permalink)
    Just guessing, but I think you put too much onus on Sonar's developers. There are chipset drivers that are awfully important in this picture. [Feel free to correct this assumption] Sonar works above the hardware abstraction layer. As such, the best it can do is efficiently divide work among worker threads. These threads are then queued to the available processors (not by Sonar) and the returned work is then aggregated and assembled into a result. Each plug-in does this on at least one thread and may spin up more threads. I imagine that most DLLs will load in the same process space as Sonar (unless some heavy lifting is done to pipe the requests and results between processes (I'd avoid this if I could)). One of the advantages of separate process spaces is memory protection. The cost of spinning up a process space is large (measured in hundredths of a second at least) where spinning up threads is much much faster. I've done a programming presentation at a Microsoft Code Camp demoing the cost of spinning up processes to do work v. threads. The difference was huge when you need to process each thread in less than .5 seconds. The cost of spinning up the process and closing it down was more than the cost of all the work the process was doing in some cases. Threads spin up with substantially less cost. So, most of the time, Sonar spins worker threads to do it's bit work inside the one large process space. This is where it gets muddy when you have a plug in that doesn't play nicely with others. If the plug-in doesn't correctly de-allocate memory, then the available memory for the entire process space is diminished.

    The 256 thread limit is for mobile devices only...
    http://msdn.microsoft.com/en-us/library/system.threading.threadpool.setmaxthreads.aspx

    The minimum max thread value that can be set on a thread pool is the count of processors on the PC, but you don't have to use all the available threads in the pool. This is interesting because if you know that another process space has a thread pool that is using half the processing power, and you want to program both processes to limit to half the processors, then you would have to manually control the number of worker threads you spin.

    See this link for a discussion of threads v. processes
    http://archives.postgresql.org/pgsql-general/2004-10/msg01346.php

    For more info on Windows and threading, see this...
    http://blogs.msdn.com/oldnewthing/archive/2005/07/29/444912.aspx

    Of course if you go 64 bit, things get more exciting...

    All of this is way off the subject. You asked if Sonar did what it needs to do to take advantage of hyper threaded processors. The answer is most definitely. Sonar is way ahead of the curve in taking advantage of spun worker threads scaled appropriately to the hardware available.

    Check out this interesting demo on intel nehalem (different from current intel core architecture)...
    Go here
    http://www.intel.com/technology/architecture-silicon/next-gen/?iid=SEARCH
    And check out the video about half way down the page..

    Also, try this...
    http://www.intel.com/technology/product/demos/turboboost/demo.htm?iid=tech_tb+demo

    Something this demo shows but doesn't describe is the management of two threads merged to a core at the processor level. This is new in the way it will (is) be implemented. Also, the processors will start to detect loop and skip work steps where safe assumptions can be made to return results with less work done, creating the appearance of doing more work in the same time.

    Nehalem chips were released in the US on 11/17/2008
    http://en.wikipedia.org/wiki/Intel_Nehalem

    Link to a couple of Dells that have this processor
    http://search.dell.com/results.aspx?s=gen&c=us&l=en&cs=&k=i7&cat=all

    Most of what Sonar does is spin worker threads based on a best estimate of the capacity of the onboard hardware. I believe that Sonar also takes adavantage of under utilized memory on GPUs where available (and may perhaps work the GPU for worker threads where it appears available -- this is a guess).
    http://www.cakewalk.com/Vista/default.asp (see the section about offloading processing from the CPU to the GPU, I'm presuming they are not just talking about video processing).

    So, get good hardware with good drivers and you'll get more bang for your buck.

    G

    Late addition: I read up on VST SDKs (software developer kits). I read this...
    http://www.gersic.com/vstsdk/
    Check the Examples link for those who can read a little code (you don't have to understand everything to get some value out of this).

    For one, I learned that the VST DLL just reports to the UI thread that it's UI segment is dirty and should be repainted, rather than trying to handle any painting itself. This is important because it means you don't have a number of different threads trying to repaint different screen segments simultaneously. So, this probably helps with the XRay feature in Sonar. Because the Sonar UI Thread is in control, it can know that the UI for a particular thread should have a low opacity value (transparency rating) and consequently it will paint it that way. The plugin doesn't know this, and consequently couldn't paint the area properly. I just thought it was interesting. If the Plugins were responsible for their own repaints, then the XRay thing probably either wouldn't have worked or it would have had to be implemented across all VSTs. Each VST would have been responsible for it's own XRay support. This seems to be an example of fortunate upfront design that paid off.



    post edited by gswitz - 2008/12/29 11:15:18
    #2
    ew
    Max Output Level: -57 dBFS
    • Total Posts : 1837
    • Joined: 2004/01/27 21:24:49
    • Location: Eagan, MN
    • Status: offline
    RE: hyperthreading and sonar 2008/12/28 23:06:41 (permalink)
    As far as plugins go, the only ones I'm aware of that handle multithreading on their own are the big sample library players such as Kontakt and the Kontakt players. And, they still prefer to have the core distribution left to the host. The big issue here is latency; the latency has to be bumped up quite a bit to give the plugin time to handle thread distribution yet not have the CPU usage go through the roof.

    A case in point- discoDSP last year released an update to Discovery that was multithreading. And, while the load looked good inside the host, on my machine if you opened up task manager, you'd see a bump of 30% over both cores in addition to what the host was reporting. Needless to say, after this was pointed out to them (they'd never checked the actual load in task manager, believe it or not), it was replaced with a single threaded plugin.

    ew
    post edited by ew - 2008/12/28 23:10:26
    #3
    daveny5
    Max Output Level: 0 dBFS
    • Total Posts : 16934
    • Joined: 2003/11/06 09:54:36
    • Location: North Carolina
    • Status: offline
    RE: hyperthreading and sonar 2008/12/28 23:08:53 (permalink)
    I know sonar used to have a lot of problems with hyperthreading technology.


    No it didn't. I've used it for years with HT.

    Dave
    Computer: Intel i7, ASROCK H170M, 16GB/5TB+, Windows 10 Pro 64-bit, Sonar Platinum, TASCAM US-16x08, Cakewalk UM-3G MIDI I/F
    Instruments: SL-880 Keyboard controller, Korg 05R/W, Korg N1R, KORG Wavestation EX
    Axes: Fender Stratocaster, Line6 Variax 300, Ovation Acoustic, Takamine Nylon Acoustic, Behringer GX212 amp, Shure SM-58 mic, Rode NT1 condenser mic.
    Outboard: Mackie 1402-VLZ mixer, TC Helicon VoiceLive 2, Digitech Vocalist WS EX, PODXTLive, various stompboxes and stuff. 
    Controllers: Korg nanoKONTROL, Wacom Bamboo Touchpad
    #4
    ba_midi
    Max Output Level: 0 dBFS
    • Total Posts : 14061
    • Joined: 2003/11/05 16:58:18
    • Location: NYC
    • Status: offline
    RE: hyperthreading and sonar 2008/12/28 23:21:19 (permalink)
    That was an incredibly enlightening post, gswitz. Thank you.

    Good info.

    From what I've read over time, many users seemed to need to turn off HT at the BIOS level for things to go smoothly. Wonder why that was?


    Billy Arnell (ba-midi)

    http://www.ba-midi.com/music/files
    Music gives me life, so I give life Music.
    Thanks for listening - Let's Dance to the rhythm of life! :)
    #5
    ew
    Max Output Level: -57 dBFS
    • Total Posts : 1837
    • Joined: 2004/01/27 21:24:49
    • Location: Eagan, MN
    • Status: offline
    RE: hyperthreading and sonar 2008/12/28 23:56:56 (permalink)

    ORIGINAL: ba_midi


    From what I've read over time, many users seemed to need to turn off HT at the BIOS level for things to go smoothly. Wonder why that was?



    Because a lot of plugins didn't play well with HT and the way it was implemented in P4s; NI's for example. That's why NI still recommends turning off HT on P4s with their products, especially if you're also using them as standalone apps. Read the blurb about HT in their tuning tips for Vista:

    http://www.native-instruments.com/knowledge/questions/354/Tuning+Tips+for+Windows+Vista+for+audio+processing

    ew
    #6
    gswitz
    Max Output Level: -18.5 dBFS
    • Total Posts : 5694
    • Joined: 2007/06/16 07:17:14
    • Location: Richmond Virginia USA
    • Status: offline
    RE: hyperthreading and sonar 2008/12/29 09:49:03 (permalink)
    EW: This is an interesting read. I'm not sure that some of it makes sense to me. For a start, some forum users have tested the aero on verses off and found that for PCs with GPUs that the pc worked more efficiently with aero enabled.
    http://forum.cakewalk.com/tm.asp?m=1573721

    As for Deactivating User Account Control, I'm suspicious. First, rather than turning this off, you can just launch Sonar as administrator by right clicking on Sonar and choosing run as administrator from the pop-up list. Originally, Microsoft encouraged users to use a "Least Privileged User Account" for working in Windows 2000 and XP (LUA). I did this. For that matter, I had my mother doing it. It worked fairly well, but Microsoft learned a number of lessons about LUAs and mothers and incorporated what they learned into what is now User Account Control.
    http://msdn.microsoft.com/en-us/library/aa511445.aspx

    I believe that it is in this video
    http://channel9.msdn.com/Search/?Term=cakewalk
    that Noel Borthwick, Cakewalk CTO and Carl Jacobson, Woldwide Marketing Director, talk about what it took for them to get Cakewalk Vista Ready. Noel expresses frustration that he had to make Cakewalk work under User Account Control and describes the Pain in the Ass that it was. Still, he never says that he runs it as Admin or that users will run as Admin anyway, or that some plug-in company will get all his users to by pass this effort by disabling UAC. Noel Borthwick says, "UAC was the single biggest rev [for Sonar 6]".

    Disabling Power Mgmt makes sense to me.

    Reducing unnecessary animation makes sense to me (although this probably will not have much of an impact if you aren't opening and closing windows on top of Sonar). In other words, if you just open Sonar and use it, disabling windows animation (the way minimizing and maximizing windows is animated on the screen) shouldn't make a difference.

    I feel I should check myself on some of this. Clearly, Native instruments put forth a good effort in their post, so they must have reasons.



    post edited by gswitz - 2008/12/29 13:02:08
    #7
    gswitz
    Max Output Level: -18.5 dBFS
    • Total Posts : 5694
    • Joined: 2007/06/16 07:17:14
    • Location: Richmond Virginia USA
    • Status: offline
    RE: hyperthreading and sonar 2008/12/29 09:57:12 (permalink)
    Hey Ba_Midi,

    I found this...
    http://searchservervirtualization.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid94_gci1211979,00.html

    So, hyper threading problems we are talking about pre date the use of the MultiMedia Class Scheduler Service model of device drivers dealing in real time streams (like audio)...
    http://msdn.microsoft.com/en-us/library/ms684247.aspx
    or a developers thread
    http://social.msdn.microsoft.com/forums/en-US/windowspro-audiodevelopment/thread/b545f1ac-213f-4e61-b7fa-b61df9823b73/

    So, my guess is that in some cases trying to slip in work for thread A in the under utilized space of thread B then caused thread B to return more slowly. If thread A could have waited for the completion of thread B then the real time app would have been better off.

    Microsoft is trying to deal with thread priority in Vista with MMCSS model in which the thread that really shouldn't be interupted will not be, but other threads (perhaps a timer thread of some Windows service that is waiting on a poll cycle) can be interrupted. So, for the lower priority thread, the hyperthreading interruption would occur, but on the short burst from the higher priority thread, this thread would be allowed to under use the core without injecting work.

    Does this sound valid?

    I found this...
    "WASAPI Shared mode good enough for PRO audio?"
    http://channel9.msdn.com/Search/?Term=mmcss

    Which led me to this...
    "Exclusive-Mode Streams"
    http://msdn.microsoft.com/en-us/library/bb614507(VS.85).aspx
    "Windows Vista has several features to support applications that require low-latency audio streams. As discussed in User-Mode Audio Components, applications that perform time-critical operations can call the Multimedia Class Scheduler Service (MMCSS) functions to increase thread priority without denying CPU resources to lower-priority applications. In addition, the IAudioClient::Initialize method supports an AUDCLNT_STREAMFLAGS_EVENTCALLBACK flag that enables an application's buffer-servicing thread to schedule its execution to occur when a new buffer becomes available from the audio device. By using these features, an application thread can reduce uncertainty about when it will execute, thereby decreasing the risk of glitches in a low-latency audio stream."

    "In addition, USB audio devices rely on system software to transport data between application buffers and hardware buffers. To improve the performance of exclusive-mode applications that connect to audio devices that rely on the system for data transport, WASAPI automatically increases the priority of the system threads that transfer data between the applications and the hardware. WASAPI uses MMCSS to increase the thread priority."


    post edited by gswitz - 2008/12/29 10:53:07
    #8
    tarsier
    Max Output Level: -45 dBFS
    • Total Posts : 3029
    • Joined: 2003/11/07 11:51:35
    • Location: 6 feet under
    • Status: offline
    RE: hyperthreading and sonar 2008/12/29 09:59:15 (permalink)
    ORIGINAL: daveny5
    I know sonar used to have a lot of problems with hyperthreading technology.

    No it didn't. I've used it for years with HT.

    Yeah, one of my studio computers is a 3 GHz P4 with hyperthreading turned on, and it's been rock solid with Sonar. It's probably around 5 years old by now and it's been a workhorse, hyperthreading and all. Perhaps the all-intel-ness of it has something to do with it...
    #9
    John
    Forum Host
    • Total Posts : 30467
    • Joined: 2003/11/06 11:53:17
    • Status: offline
    RE: hyperthreading and sonar 2008/12/29 10:03:35 (permalink)
    Reducing unnecessary animation makes sense to me (although this probably will not have much of an impact if you aren't opening and closing windows on top of Sonar. In other words, if you just open Sonar and use it, disabling windows animation (the way minimizing and maximizing windows is animated on the screen) shouldn't make a difference.
    With Aero on its not going to have much impact to leave this on fully. Its all done via the GPU. If you don't have Aero on then it might be better to do as they say. However, as confirmed by CW's people here on some of my threads dealing with Aero, it does help to have Aero on. Now you do have to have the right system and the right graphics card for this all to work seamlessly but it does.

    Best
    John
    #10
    gswitz
    Max Output Level: -18.5 dBFS
    • Total Posts : 5694
    • Joined: 2007/06/16 07:17:14
    • Location: Richmond Virginia USA
    • Status: offline
    RE: hyperthreading and sonar 2008/12/29 10:57:20 (permalink)
    John, I agree with this in principle. Specifically, with Aero on the work should go to the GPU and you will probably not be able to detect the impact to the CPU.

    Still, my guess is that there will probably be a few calculations passed to the CPU, if only to direct the work to the GPU. In other words, when you click on the window to maximize, the CPU will then send the info for the animation to the GPU. My guess is that slightly more (probably not enough for a human to notice) will be done. Consequently, since it doesn't matter, I might turn off some of the animation features if I was having steady trouble with Sonar or if I only cared about Sonar's performance. I am not suggesting anyone turn aero off. I'm just saying that less work is less work, and to the extent that window animation is superfluous...

    Personally, I enjoy the visual sizzle and pop, so all animation is on for me. Then, when mixing audio at my level and project size, I rarely have dropouts or glitches.

    You are correct, John, that this will probably not make a detectable difference to anyone.

    Also, please notice that I linked in one of your excellent threads in a post earlier in this thread, but I will do it again for emphasis...
    John's work on Aero...
    http://forum.cakewalk.com/tm.asp?m=1573721
    post edited by gswitz - 2008/12/29 11:10:40
    #11
    bitflipper
    01100010 01101001 01110100 01100110 01101100 01101
    • Total Posts : 26036
    • Joined: 2006/09/17 11:23:23
    • Location: Everett, WA USA
    • Status: offline
    RE: hyperthreading and sonar 2008/12/29 11:48:57 (permalink)
    Excellent post, gswitz!


    All else is in doubt, so this is the truth I cling to. 

    My Stuff
    #12
    John
    Forum Host
    • Total Posts : 30467
    • Joined: 2003/11/06 11:53:17
    • Status: offline
    RE: hyperthreading and sonar 2008/12/29 12:27:20 (permalink)
    John, I agree with this in principle. Specifically, with Aero on the work should go to the GPU and you will probably not be able to detect the impact to the CPU.

    Still, my guess is that there will probably be a few calculations passed to the CPU, if only to direct the work to the GPU. In other words, when you click on the window to maximize, the CPU will then send the info for the animation to the GPU. My guess is that slightly more (probably not enough for a human to notice) will be done. Consequently, since it doesn't matter, I might turn off some of the animation features if I was having steady trouble with Sonar or if I only cared about Sonar's performance. I am not suggesting anyone turn aero off. I'm just saying that less work is less work, and to the extent that window animation is superfluous...

    Personally, I enjoy the visual sizzle and pop, so all animation is on for me. Then, when mixing audio at my level and project size, I rarely have dropouts or glitches.

    You are correct, John, that this will probably not make a detectable difference to anyone.

    Also, please notice that I linked in one of your excellent threads in a post earlier in this thread, but I will do it again for emphasis...
    John's work on Aero...


    Gswiz thanks for the kind words. I wrote only to kinda set the right tone to this thread. Not to counter anything you said. What I have found through many years of reading SOS is that they can be excellent on many things but sometimes they are flat wrong. Some time ago they did a similar article on XP and much of it was pure nonsense. Of the tweaks they listed maybe one or two were useful. Most were silly or down right wrong. I don't know what they do to screen the articles that appear there but I trust the PC advice not much more then what can be found on the web in general. I do trust their reviews to a degree but not the PC advice.

    Often the standard wisdom is not wise because its based on hearsay and what some one heard not on the truth or facts. Vista is a great example of the conventional wisdom being about as wrong as it can be. Its at a point now with SP1 about as good as an OS can be for anything. It excels at audio and multimedia applications. Yet we hear little from the gurus saying this. They are believing that the emperor has no cloths even though he is fully dressed. They simply haven't taken the time to look.

    Here this thread assumes things that are simply not all that true from the get go. CW has been in the forefront for multi threading and multi core support yet here it starts off with how poor Sonar is in this regard. If this were the only thread one were to read on this it would be plain that CW is faulty in support in multi threading and multi core support. This is of course untrue. It was one of the first to support this and there are still apps in audio that don't. At least not fully. FL Studio is one.

    Best
    John
    #13
    gswitz
    Max Output Level: -18.5 dBFS
    • Total Posts : 5694
    • Joined: 2007/06/16 07:17:14
    • Location: Richmond Virginia USA
    • Status: offline
    RE: hyperthreading and sonar 2008/12/29 13:29:29 (permalink)
    Being Vista Compliant now is exciting in part because of what is coming. This is a major OS adjustment that will serve to improve performance of applications like Sonar. Vista is a seed that will grow over the years to come. As we can start using MMCSS we should see real bang that we could not get past otherwise.

    According to this link, Asio4All v 2.9 out in November integrates WaveRT...
    http://acoustica.com/kb/Get-Incredible-Low-Latency-Audio-With-Vista-And-The-Latest-ASIO4ALL-Drivers_1100.html
    "You'll need to use the ASIO4All drivers in order to take advantage of WaveRT. The latest ASIO4ALL drivers utilize the new Vista WaveRT real time audio drivers which boast incredibly low latencies! We are calculating around 5 milliseconds on just a standard run of the mill sound card!"

    I think drivers from device manufacturers may well take advantage of WaveRT now, but FYI about the Asio4All thing...

    Back to Video

    "Vista Audio Subsystem was abstracted to User Mode. The Sonar audio engine is user mode (doesn't use Vista's audio engine) -- routing audio through various complex topologies -- Kernel Streaming, wave rt, ASIO, MME, ... only time we touch the Kernel is when it's [sound is] actually getting out of the system... Everything in the system is in User mode. Sonar will not crash Vista, but the driver can crash Vista. We added Crash Protection to Sonar... [They created a plug in to crash Sonar.] "

    Link on WaveRT
    http://msdn.microsoft.com/en-us/library/aa474703.aspx

    A Wave Port Driver for Real-Time Audio Streaming
    http://www.microsoft.com/whdc/device/audio/wavertport.mspx
    "The WaveRT port driver supports audio applications that reduce the latency of audio streams by using the real-time scheduling support that is available in Windows Vista and later. Hardware innovations, such as the low-latency isochronous transfer modes of PCI Express devices, complement real-time scheduling.

    To take advantage of these improvements, an audio device should be able to play or capture audio data with little or no intervention by the driver software. If designed properly, the audio hardware should require no help from the driver from the time that the audio stream enters the run state until it later exits that state. The result is low-latency audio that consumes few host-CPU cycles and is free of timing glitches."

    I don't know to what extent current interface devices are already designed to be effectively compliant. For example my $50 Line6 Gearbox... does it meet this requirement? I've got a hunch here...

    Back to Video info...

    WER [crash dumps through Watson Error Reporting (Windows 2000 and later)] is something Sonar subscribes to so it can get crash dumps from users who submit them to Microsoft. Microsoft guy talks about new crash diagnostics features that allow you to bring back an app in the same state as it was in pre-crash. Noel said he was interested and would read about it.

    Noel reports that the Microsoft documentation on WaveRT and MMCSS is lacking.

    Requirement to use Microsoft Installer was a bummer for being Windows Vista compliant.
    post edited by gswitz - 2009/04/06 20:29:28
    #14
    gswitz
    Max Output Level: -18.5 dBFS
    • Total Posts : 5694
    • Joined: 2007/06/16 07:17:14
    • Location: Richmond Virginia USA
    • Status: offline
    RE: hyperthreading and sonar 2008/12/29 13:45:58 (permalink)
    What I have found through many years of reading SOS


    John,

    What is SOS (is that Sound on Sound)?

    Also..
    Here this thread assumes things that are simply not all that true from the get go. CW has been in the forefront for multi threading and multi core support yet here it starts off with how poor Sonar is in this regard.

    I think Spinedoc was placing blame for a real issue where who is clearly to blame is quite blurry. The application he experiences the problem with was Sonar (or others experienced).

    ba_midi: From what I've read over time, many users seemed to need to turn off HT at the BIOS level for things to go smoothly. Wonder why that was?


    So, there was a problem somewhere. Now, who is to blame is a bit irrelevant for Spinedoc. He just wants to know if he should drop the dime on an expensive feature if he is only going to need to disable the feature. That need for info seems legit.

    I think what I've said, at the end of it all, is that he should probably go ahead and spend. I think the more common hardware will have better drivers, and certainly hyperthreaded processors are more common than non. Also, he's looking at the I7, and I gave some links on that processor that suggest it is exceptional and Intel's next development step. Lastly, I pointed out that the probable reason for hyperthreading being a problem in real time streams may get solved with new driver models and real time multi media streaming services available in Vista. Now, it is likely that some hardware drivers do not take full advantage of these enhancements at this time, but I expect that the future holds good things down these paths.


    Also, does anyone have time to help me with this thread...
    http://forum.cakewalk.com/tm.asp?m=1586976&mpage=1&key=?
    In which I ask if I can use the Directx Media Objects on audio as plug-in and if so, why can't I manage to do it...

    Thanks,

    G
    post edited by gswitz - 2008/12/29 20:31:13
    #15
    Jim Wright
    Max Output Level: -66 dBFS
    • Total Posts : 1218
    • Joined: 2004/01/15 15:30:34
    • Status: offline
    RE: hyperthreading and sonar 2008/12/29 20:41:50 (permalink)
    Hi G,

    IIRC, WaveRT can only support audio devices on a system bus (e.g. PCI, PCI-Express).
    WaveRT is not applicable to USB or Firewire (IEEE-1394) audio interfaces - which a lot of people use.

    Your Gearbox is USB-based...

    Regards,

    Jim
    #16
    gswitz
    Max Output Level: -18.5 dBFS
    • Total Posts : 5694
    • Joined: 2007/06/16 07:17:14
    • Location: Richmond Virginia USA
    • Status: offline
    RE: hyperthreading and sonar 2008/12/29 21:11:09 (permalink)
    Thanks, Jim.

    And if I'm using ASIO Drivers, then I'm not using WASAPI and probably bypassing MMCSS. True?

    http://en.wikipedia.org/wiki/WASAPI#Audio_stack_architecture
    I believe that this is saying that while ASIO and OpenAL are not affected they will not necessarily use WASAPI or MMCSS. I went ahead and selected this driver and the MMCSS check box in the Audio configuration in Sonar using the laptops sound card and all worked well.

    Next, I plugged in the GearBox and tried it. I got a window saying it needed to downgrade to 16bit from 24 bit due to the drivers needs (unexpected because the device supports 24/44.1 in ASIO). I hit play and heard music, but after I hit stop, the application froze. I tried a number of things. In all cases the system froze after trying to use the GearBox with WASAPI and MMCSS. It works ok using ASIO though. It was interesting to note that after end-tasking Sonar that the BitBridge remained in the processes list. I was not able to re-launch Sonar without restarting the PC (perhaps logging off would have been sufficient). The only configuration changes I tried were to open the windows sound interface and set the GearBox to 24 bit 44.1 when running in shared mode (which it shouldn't be anyway, but still). I probably went through 4 (maybe 5) restarts before giving up. I may try again after a newer gearbox driver becomes available.

    post edited by gswitz - 2008/12/29 22:26:07
    #17
    Spinedoc
    Max Output Level: -79 dBFS
    • Total Posts : 574
    • Joined: 2003/11/05 22:05:43
    • Status: offline
    RE: hyperthreading and sonar 2008/12/30 15:25:09 (permalink)
    Thanks for the good info guys!
    #18
    John
    Forum Host
    • Total Posts : 30467
    • Joined: 2003/11/06 11:53:17
    • Status: offline
    RE: hyperthreading and sonar 2008/12/30 16:21:42 (permalink)
    John,

    What is SOS (is that Sound on Sound)?

    Yes!

    Best
    John
    #19
    daveny5
    Max Output Level: 0 dBFS
    • Total Posts : 16934
    • Joined: 2003/11/06 09:54:36
    • Location: North Carolina
    • Status: offline
    RE: hyperthreading and sonar 2008/12/30 16:23:50 (permalink)
    Perhaps the all-intel-ness of it has something to do with it...


    That's very possible. That's one reason I only use Intel processors.
    post edited by daveny5 - 2008/12/30 16:26:47

    Dave
    Computer: Intel i7, ASROCK H170M, 16GB/5TB+, Windows 10 Pro 64-bit, Sonar Platinum, TASCAM US-16x08, Cakewalk UM-3G MIDI I/F
    Instruments: SL-880 Keyboard controller, Korg 05R/W, Korg N1R, KORG Wavestation EX
    Axes: Fender Stratocaster, Line6 Variax 300, Ovation Acoustic, Takamine Nylon Acoustic, Behringer GX212 amp, Shure SM-58 mic, Rode NT1 condenser mic.
    Outboard: Mackie 1402-VLZ mixer, TC Helicon VoiceLive 2, Digitech Vocalist WS EX, PODXTLive, various stompboxes and stuff. 
    Controllers: Korg nanoKONTROL, Wacom Bamboo Touchpad
    #20
    Jump to:
    © 2025 APG vNext Commercial Version 5.1