kooldude
Max Output Level: -90 dBFS
- Total Posts : 24
- Joined: 2010/12/16 01:18:57
- Status: offline
Sonar X1 Producer memory and CPU management issues
I have System with 6 core 12 threads i7 990x and 12GB ram and windows 7 enterprise 64Bit. One of the projects I'm doing is fairly complex and Sonar is using about 3-4GB RAM because of all the effects and virtual instruments. The problem is that I have frequent dropouts in this project during playback or recording. Usually during the dropout, the 1st core shows increased activity and sometimes the HDD swap light is active. When I check my task manager, I have more than 6GB RAM available when the HDD swap is happening. And most of my other cores are less than 10% used. I'm running several of these components: Dimension Pro x64, Session Drummer3, Guitar Rig Pro4 (Maybe total of 10-15 tracks in the overall project) and I usually use some of the most common plugins like sonitus compressor, pro channel, multiband compressor, boost11_64, vx_64 etc, and some pretty heavy use of automation like volume panning etc. It almost appears that during automation transitions is where I get most noise or dropouts. I have tried changing the settings to max out the buffers and threads but still not much improvement. I tried changing the process to high priority also in the task manager. My CPU is running at about 40-45 degrees when the project is running. So 2 things that don't make much sense to me. 1. Why does full memory isn't shown as utilized by either windows 7 or Sonar? Why can't it use the remainng 6GB physical memory rather than fetching data from HDD? 2. Why is the first core over utilized why other cores are under utilized? Could this have anything to do with single threaded plugins within Sonar? Is read/write automation single threaded? I would like any suggestions from experts on how I can improve the performance of my system.
|
dappa1
Max Output Level: -46 dBFS
- Total Posts : 2949
- Joined: 2007/02/26 04:18:57
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/19 04:03:26
(permalink)
What is your sample rate on the project? plus, is your Cache unticked?
|
brundlefly
Max Output Level: 0 dBFS
- Total Posts : 14250
- Joined: 2007/09/14 14:57:59
- Location: Manitou Spgs, Colorado
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/19 04:49:49
(permalink)
SONAR always streams audio files from disk rather than loading them all into into RAM. There's no reason to have them all in RAM when the disk can stream dozens of stereo tracks without breaking a sweat. And streaming them as needed reduces load time. If your project has no recorded audio or frozen synth tracks, there could still be disk access for other reasons. For example, some synths default to a small-footprint mode where they don't request to load all samples until they're called for, or they initially load only one layer of velocity-switched samples for the first hit, and then load the all the other layers for the next event/playback. This is just one example off the top of my head; I'm sure there are many other operations that access the disk for data that it just doesn't make sense to load into RAM until it's needed. Some of this may be due to the way Windows itself manages resources. As far as the CPU load-balancing goes, SONAR has gotten pretty good at this over the last couple years, but might still have issues with specific plug-ins or tasks. You might try disabling different features of your project to see if you can identify anything in particular that's causing the high load on the first core. If the load just drops gradually as you disable things or if it happens with all projects, including the bundled demos, you might have a system problem.
SONAR Platinum x64, 2x MOTU 2408/PCIe-424 (24-bit, 48kHz) Win10, I7-6700K @ 4.0GHz, 24GB DDR4, 2TB HDD, 32GB SSD Cache, GeForce GTX 750Ti, 2x 24" 16:10 IPS Monitors
|
adrian4u
Max Output Level: -79 dBFS
- Total Posts : 568
- Joined: 2010/12/07 19:07:11
- Location: Poland
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/19 16:05:55
(permalink)
Dappa1 What is your sample rate on the project? plus, is your Cache unticked? what you mean by "Cache unticked" ?
Phenom II x6 1100T (OC to 6x 4,1gHz), 8gB DDR3/1600gHz RAM, Win7/64; SONAR Producer X1c; Korgs: Z1, M50, Triton Rack, TRinity Rack; NI Maschine; Behringer BCF-R2000; MOTU 828mk3 FW; Edirol Edirol UA-1000; guitars: Cort Z-Custom, LAG JET100 totally customed, Cort SFX-DAO; some other music toys, one very musical cat *************************************** Be patient for newbie ;)
|
kooldude
Max Output Level: -90 dBFS
- Total Posts : 24
- Joined: 2010/12/16 01:18:57
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/19 19:18:19
(permalink)
Hi thanks for the responses. I'm running 96K/24Bit on my project. My project has a few recorded audio tracks but no frozen synths tracks. I know for a fact that the automation volume and panning is causing high core1 usage and some of the dropouts. But I guess I can disable each plugin to see if there's anything that's adding to the problem.
|
archerdrummer
Max Output Level: -90 dBFS
- Total Posts : 21
- Joined: 2009/04/11 14:59:16
- Location: Olney, MD
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/19 19:39:56
(permalink)
I'm no expert but I have a comparable system to yours and experienced similar performance issues until I turned off core parking in windows. Runs like a dream now with lots of synth and audio tracks. Here's a link: http://forum.cakewalk.com/tm.aspx?m=1861804 Hope it helps!
post edited by archerdrummer - 2011/09/19 19:49:34
Windows 10 Intel i7 7820X 8-core 4.2GHz 32GB RAM 2400 Mhz ASROCK Taichi NVIDIA GTX 1070 Superior Drummer 2.0 Rode NT2-A TONEPORT UX-2 (ASIO drivers) Beer
|
inaheartbeat
Max Output Level: -77 dBFS
- Total Posts : 679
- Joined: 2011/08/11 12:19:15
- Location: Nashua, NH USA
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/19 23:26:05
(permalink)
Have you set the variable ThreadSchedulingModel to 2? The default value is 1 and is not optimal for a i7 990x. I have almost exactly the same system you describe as you can see from my sig. In X1c you can set the variable from the Edit->Preferences menu In the Audio section you will see "Configuration Files" Select that and you will see a button to "Edit" the file. The file is actually AUD.INI that you are changing. you will see a list of variables that can be changed and one of them is ThreadSchedulingModel. Hope this helps.
PC Audio Labs mobile i7 MC, 3.46 Ghz i7 990X, 12 Gb RAM, 3 750 Gb 7200 RPM drives, 3 USB2, 2 USB 3 ports, firewire, Windows 7 64 bit Pro, Sonar X3e Producer 64 bit,
|
kooldude
Max Output Level: -90 dBFS
- Total Posts : 24
- Joined: 2010/12/16 01:18:57
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/20 02:33:32
(permalink)
archerdrummer, thanks for the tip. I still have dropout problems with the registry edit but my cpu load seems more balanced now based on task manager. I appreciate your help on this one. brundlefly I may have too many Fxs and automation in this project. If I disable some of them then it defintely helps. I guess I have to keep trying other experiments to rootcause the issue.
|
kooldude
Max Output Level: -90 dBFS
- Total Posts : 24
- Joined: 2010/12/16 01:18:57
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/20 02:34:20
(permalink)
inaheartbeat I have maxed out all my buffers and threads in the options. That didn't help.
|
Sandmännchen
Max Output Level: -90 dBFS
- Total Posts : 48
- Joined: 2011/08/10 11:59:34
- Location: Germany
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/20 02:57:09
(permalink)
Asrock H77 Pro4/MVP, i7 3770, TC Impact Twin, EMU 1616m PCIe, 3 Powercore PCI, Sonar Producer X3e (64 Bit), Windows 10 (64)
|
GIM Productions
Max Output Level: -73 dBFS
- Total Posts : 860
- Joined: 2005/12/14 05:07:56
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/20 04:39:18
(permalink)
|
kooldude
Max Output Level: -90 dBFS
- Total Posts : 24
- Joined: 2010/12/16 01:18:57
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/20 19:23:00
(permalink)
Thanks GIM. It could be. I haven't tried it out yet, but I was monitoring CPU usage through CPUZ and the frequency is definitely all over the place. I was thinking about disabling speedstep in BIOS but I changed my mind since I thought the CPU will run very hot. But I guess for this one project I can disable it. I wish there was an option in Windows and not in Bios so that I could do it realtime. I'll update you guys on how this experiment goes later today. Thanks again.
|
inaheartbeat
Max Output Level: -77 dBFS
- Total Posts : 679
- Joined: 2011/08/11 12:19:15
- Location: Nashua, NH USA
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/20 20:11:24
(permalink)
kooldude Thanks GIM. It could be. I haven't tried it out yet, but I was monitoring CPU usage through CPUZ and the frequency is definitely all over the place. I was thinking about disabling speedstep in BIOS but I changed my mind since I thought the CPU will run very hot. But I guess for this one project I can disable it. I wish there was an option in Windows and not in Bios so that I could do it realtime. I'll update you guys on how this experiment goes later today. Thanks again. I have speedstep disabled on my PC and since we are running something similar I can tell you there are no issues. Not sure what your motherboard is. I never even thought of that since I got my PC from PCAL and they configure it for max audio performance out of the box which would include disabling that option in the BIOS. Hope all goes well with your experiment
PC Audio Labs mobile i7 MC, 3.46 Ghz i7 990X, 12 Gb RAM, 3 750 Gb 7200 RPM drives, 3 USB2, 2 USB 3 ports, firewire, Windows 7 64 bit Pro, Sonar X3e Producer 64 bit,
|
archerdrummer
Max Output Level: -90 dBFS
- Total Posts : 21
- Joined: 2009/04/11 14:59:16
- Location: Olney, MD
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/20 20:30:23
(permalink)
I'm not sure if this is applicable to your situation, but the link in Sandmannchen's thread regarding latency reminded me that my system came with software that monitors temperatures for the CPU, motherboard, fan RPMs, etc. This software wreaked havoc on CPU latency and significantly degraded performace (pops, noises, drop-outs, etc). As soon as I closed the application, latency was back to normal and performance was fine. I can run as many FX, Synths, and sampling plug-ins as I require (in real time!) with incredibly smooth and reliable performance. With your specs, you shouldn't need to freeze any synths or compromise on any FX, even with a hefty project.
post edited by archerdrummer - 2011/09/20 20:38:49
Windows 10 Intel i7 7820X 8-core 4.2GHz 32GB RAM 2400 Mhz ASROCK Taichi NVIDIA GTX 1070 Superior Drummer 2.0 Rode NT2-A TONEPORT UX-2 (ASIO drivers) Beer
|
StarTekh
Max Output Level: -55 dBFS
- Total Posts : 2007
- Joined: 2004/03/09 12:02:20
- Location: Montreal
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/20 21:43:24
(permalink)
whats the audio interface >?
|
Splat
Max Output Level: 0 dBFS
- Total Posts : 8672
- Joined: 2010/12/29 15:28:29
- Location: Mars.
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/20 22:28:09
(permalink)
Hi KoolDude Please use your footer to list your full hardware/software specs. Don't disable speedstep, you don't need to. You need to disable core parking. NB There seem to be two methods, the best method is the one which exposes the core parking functionality in the Power Management area of control panel rather than the direct registry hack (not sure on the right links). Be careful, some posts may give the wrong info... which are then corrected later in the thread (something to do with 10% vs 100%). Anyway I noticed a massive difference with core parking off and a double quadcore PC (well an unusable system became fully usable). If you are using firewire, then legacy firewire driver needs checking out. Other drivers may max out one of your CPU cores.
post edited by CakeAlexS - 2011/09/20 22:37:22
Sell by date at 9000 posts. Do not feed. @48/24 & 128 buffers latency is 367 with offset of 38. Sonar Platinum(64 bit),Win 8.1(64 bit),Saffire Pro 40(Firewire),Mix Control = 3.4,Firewire=VIA,Dell Studio XPS 8100(Intel Core i7 CPU 2.93 Ghz/16 Gb),4 x Seagate ST31500341AS (mirrored),GeForce GTX 460,Yamaha DGX-505 keyboard,Roland A-300PRO,Roland SPD-30 V2,FD-8,Triggera Krigg,Shure SM7B,Yamaha HS5.Maschine Studio+Komplete 9 Ultimate+Kontrol Z1.Addictive Keys,Izotope Nectar elements,Overloud Bundle,Geist.Acronis True Image 2014.
|
StarTekh
Max Output Level: -55 dBFS
- Total Posts : 2007
- Joined: 2004/03/09 12:02:20
- Location: Montreal
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/20 22:33:47
(permalink)
CakeAlexS: thanks im tired tonight !!
|
kooldude
Max Output Level: -90 dBFS
- Total Posts : 24
- Joined: 2010/12/16 01:18:57
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/20 23:18:10
(permalink)
Hey guys thanks for the info. My problem is solved by disabling speedstep. Earlier I had tried disabling core parking through registry and I did see the CPU loads getting balanced out evenly between all my CPUs but the playback had become pretty worse after doing that. So I had to revert that back. So now the temp is at 47*C. I don't expect it to go beyond 55. Earlier it was 42*C so it's only 5 degrees difference. I can live with that. Here's my HW specs. ---- Sonar X1 producer 64Bit (@ patch X1c) Windows 7 64 Bit Enterprise Intel Core i7 990x Gulftown 12GB DDR3 RAM, 1TB HDD Asus Sabertooth X58 MOBO Emu 1616m audio interface Presonus Tube Pre preamp Audiotechnica AT2035 condenser mic.
|
inaheartbeat
Max Output Level: -77 dBFS
- Total Posts : 679
- Joined: 2011/08/11 12:19:15
- Location: Nashua, NH USA
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/21 00:20:30
(permalink)
Sorry but I have to disagree (respectfully) about disabling SpeedStep. It is not wrong to do this with a properly designed system because it will prevent Windows or other software from throttling down the CPU speed based on how it determines system load or thermal margins. Yes, you can effectively disable this behavior by appropriate configuration of power options in Windows 7 but why not just get rid of the problem entirely? You do not need this for a system with reasonably designed thermal management. My system is a mobile workstation. If any system were going to have problems it would and it does not with that option disabled. I believe the folks at PC Audio Labs would not have disabled the option if they thought there was going to be a problem with that.
PC Audio Labs mobile i7 MC, 3.46 Ghz i7 990X, 12 Gb RAM, 3 750 Gb 7200 RPM drives, 3 USB2, 2 USB 3 ports, firewire, Windows 7 64 bit Pro, Sonar X3e Producer 64 bit,
|
kooldude
Max Output Level: -90 dBFS
- Total Posts : 24
- Joined: 2010/12/16 01:18:57
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/21 02:12:57
(permalink)
I kind of agree with inaheartbeat, I think Windows task manager CPU monitor is not very accurate. But based on CPUZ, I found out that most of the time my project was running at less than 2.0G when it was choking. When it started choking, only less than 50% of the time it actually went up to the spec frequency (3.4G Max Non-turbo core freq) . And besides I don't know if switching from 2.0G to 3.4G is fast enough to prevent the dropout. Maybe my 520W power supply's not able to provide enough current for fast frequency switch. I don't know that. But I don't really mind running at 3.4G. It's waste of power when not needed and may also cause the system to freeze in case of catastrophic thermal event, but I don't think that will cause any damage to the CPU and can be solved with a reboot. Besides I haven't seen my system go past 47 degrees. I think Tcase for 990x is advertised at 67.9 degrees. So I think I have enough headroom without getting into trouble. I wish there was an option in windows to disable speedstepping (maybe there is some registry hack). If somebody found that, that would be great. I can't tell about other people since they may have different system configuration. But in my case Park Disable didn't work for me while disabling speedstepping worked. So I guess I will just have to go with that.
|
Splat
Max Output Level: 0 dBFS
- Total Posts : 8672
- Joined: 2010/12/29 15:28:29
- Location: Mars.
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/21 09:00:27
(permalink)
"I wish there was an option in windows to disable speedstepping (maybe there is some registry hack)" Yes there is - it's called disabling core parking! Disabling speedstep is the global option. If you are 100% dedicated towards recording then this may be a good option. For Inaheartbeat this is clearly the option for him.Turn it off... forget. However disabling core parking (rather than disabling speedstep) allows you to disable on the fly via the operating system's power management features, and reading between your lines Kooldude it seems that's exactly what you want to do. Speedstep works well for pretty much everything except music recording, and if you have a multi-boot environment like I do, it's worth leaving speedstep on, and then turning off via a "per operating system" basis, i.e. via core parking. NB Core parking will not work without speedstep being enabled. If you have an issue with disabling speedstep, like I say... make sure you get the correct registry hack working. Lots of people got it wrong (initially). You need the reg hack that exposes exposes speedstep in power options. Once this is exposed you need to set it correctly via Windows power options. Mine is set: Power Options -> Processor Power Management: Processor Core parking Min Cores = 100% Min Processor state = 5% System cool policy = Active Max Processor state = 100% Cheers.
post edited by CakeAlexS - 2011/09/21 09:15:43
Sell by date at 9000 posts. Do not feed. @48/24 & 128 buffers latency is 367 with offset of 38. Sonar Platinum(64 bit),Win 8.1(64 bit),Saffire Pro 40(Firewire),Mix Control = 3.4,Firewire=VIA,Dell Studio XPS 8100(Intel Core i7 CPU 2.93 Ghz/16 Gb),4 x Seagate ST31500341AS (mirrored),GeForce GTX 460,Yamaha DGX-505 keyboard,Roland A-300PRO,Roland SPD-30 V2,FD-8,Triggera Krigg,Shure SM7B,Yamaha HS5.Maschine Studio+Komplete 9 Ultimate+Kontrol Z1.Addictive Keys,Izotope Nectar elements,Overloud Bundle,Geist.Acronis True Image 2014.
|
GIM Productions
Max Output Level: -73 dBFS
- Total Posts : 860
- Joined: 2005/12/14 05:07:56
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/21 10:53:02
(permalink)
Hi all,i have read your post and i think there is some confusion.Core Parking is a W7 feature that i can enable or disable with OS,while SpeedStep and TurboBoost are a features that i can found in the last generation chipset's BIOS. SpeedStep is very dangeorus for dedicated music DAW and here you can found the reasons. http://presonus.zendesk.c...ettings-for-studio-one Best Roby
|
Splat
Max Output Level: 0 dBFS
- Total Posts : 8672
- Joined: 2010/12/29 15:28:29
- Location: Mars.
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/21 12:15:33
(permalink)
Yup my last post is totally compatible with your link GIM. Quote on that page: This 'Audio Processing' profile disables processor idle states, processor throttling, core parking and Turbo Boost. So it seems like a similar hack to the one I am running. That webpage gives you yet another way to disable these features, depending on what you want to do. They are supplying a power profile rather than allow you to build your own. If this hack (cmd file) exposes core parking in the UI for all power management profiles (so it can be adjusted) then this seems valid, however I'm not sure I'd bother with their power management profile other than to have a look and see at their settings. I'd rather set my own power profile. BTW I think the word dangerous can be very misleading, it's not dangerous, it's just that it's totally undesirable. Speedstep should effectively be disabled to avoid dropouts whilst using your DAW, and there are a number of ways to do it. Disabling core parking is one way to do it on a per OS (or per power profile) basis. The other way to do it is to use the global setting in your bios (speedstep), which is perfectly valid if you are always using your DAW. If for some reason you cannot disable speedstep in your BIOS, then you have to go the core parking route anyway. The other expection to this is if you have a single or dual core processor, if so none of this applies to you whatsoever. I cannot comment on turbo-boost, if it's set in my BIOS (from memory I think it is) it does not effect me at all, I suspect the reason why this is the case is that my core parking settings are effectively set to disable this feature in Windows. I suspect if I decided to disable speedstep in my BIOS and not go the core parking route, I would probably disable Turbo Boost as well.
post edited by CakeAlexS - 2011/09/21 12:22:28
Sell by date at 9000 posts. Do not feed. @48/24 & 128 buffers latency is 367 with offset of 38. Sonar Platinum(64 bit),Win 8.1(64 bit),Saffire Pro 40(Firewire),Mix Control = 3.4,Firewire=VIA,Dell Studio XPS 8100(Intel Core i7 CPU 2.93 Ghz/16 Gb),4 x Seagate ST31500341AS (mirrored),GeForce GTX 460,Yamaha DGX-505 keyboard,Roland A-300PRO,Roland SPD-30 V2,FD-8,Triggera Krigg,Shure SM7B,Yamaha HS5.Maschine Studio+Komplete 9 Ultimate+Kontrol Z1.Addictive Keys,Izotope Nectar elements,Overloud Bundle,Geist.Acronis True Image 2014.
|
kooldude
Max Output Level: -90 dBFS
- Total Posts : 24
- Joined: 2010/12/16 01:18:57
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/22 01:47:43
(permalink)
CakeAlexS, I tried the new core parking way through power management and here's what I think is happening based on CPUZ monitor. This is just pure speculation based on my knowledge of how a CPU and core parking works. Core Parking: This prevents the CPU to go into sleep (park) state which is probably the lowest frequency state that the CPU supports which would be somewhere around 1600MHz in my case. However throttling is still happning. CPU frequency that I saw during playback was anywhere between 2.0G to 3.47G. Some (hyperthreaded) CPUs were seen idling in this case contrary to what I previously saw with the registry hack to change the value from 100 to 0. So it's not true that all cores will be active all the time. At least not with the windows power settings options of doing the core parking. Most of the time the CPU was running at full frequency which is 3.47G, but occasionaly it went to a slower speed. When it went to slower speed, there were occasional clicks happening (But nothing bad). The clicks varied depending on how low the CPU speed went. One time when I saw it go down all the way to 2.0G there were few consecutive clicks and pops when it throttled up. However, the good news is that there were no dropouts. So I'm pretty confident that this method will work for most people most and most of my projects. SpeedStepping: This will effectively fix the core frequency at 3.47G. So there will be no throttling and hence no clicks or dropouts. However your CPU is always overworked even when not necessary and the temperature runs slightly higher. In my case it was 5 degrees higher than normal temperature. For some complex projects this may be a necessity. I think for now I'm going to stay with the Core Parking Option since the clicks and pops were not that severe. But knowing that I also have an option to turn off speedstepping in case it's needed makes me feel good. Thanks all for your inputs. Hopefully my discoveries will help you guys also make a decision when you are in a similar situation.
|
kooldude
Max Output Level: -90 dBFS
- Total Posts : 24
- Joined: 2010/12/16 01:18:57
- Status: offline
Re:Sonar X1 Producer memory and CPU management issues
2011/09/22 02:00:35
(permalink)
GIM Productions, The link that you gave is even more awesome. That takes care of all my problems without having to change anything in BIOS. Thanks a lot!!!
|