Ever see your CPU meter spike?

Author
soens
Max Output Level: -23.5 dBFS
  • Total Posts : 5154
  • Joined: 2005/09/16 03:19:55
  • Location: Location: Location
  • Status: offline
2012/10/19 22:14:45 (permalink)

Ever see your CPU meter spike?

On my laptop I had X1 open with a project last saved in X2. The song was stopped while I was doing some other things around the house.
 
All of a sudden I noticed the Performance module CPU lines spike all the way to red line on all 8 core strings. A few seconds later it did it again. All this while X1 sat idle. I've never seen this before and so far X2 has not done it.
 
What would cause that to happen?
 
 
Steve
#1

7 Replies Related Threads

    tomixornot
    Max Output Level: -58.5 dBFS
    • Total Posts : 1674
    • Joined: 2011/03/05 11:31:26
    • Status: offline
    Re:Ever see your CPU meter spike? 2012/10/19 22:19:35 (permalink)
    Yes, first time for me too, happened yesterday, while I was playing a project with a lot of samples (6x Session Drummer 3 and 1 BFD, and a few others..). But only at the beginning of the playback. Then I've not seen this spike again.

    Albert


    i7 2600K @ 3.40GHz / MB Intel DP67BG / 16GB Ram
    - ADATA 250GB SSD (Boot)
    - Samsung Spinpoint F1 1TB HDD (Samples)
    Audio interface : Motu 828 MK ii
     
    i7 6700K @ 4.00GHz / MB Asrock Z170 / 16GB Ram
    - Samsung EVO 850 120GB / 500 GB SSD

    Audio interface : Roland Quad Capture
     
    Win 10 Pro / Sonar Platinum
    #2
    Bristol_Jonesey
    Max Output Level: 0 dBFS
    • Total Posts : 16775
    • Joined: 2007/10/08 15:41:17
    • Location: Bristol, UK
    • Status: offline
    Re:Ever see your CPU meter spike? 2012/10/20 09:34:58 (permalink)
    Nope, never seen that.

    Download & run DPLat - it will spot any processes or services that cause this sort of thing

    CbB, Platinum, 64 bit throughout
    Custom built i7 3930, 32Gb RAM, 2 x 1Tb Internal HDD, 1 x 1TB system SSD (Win 7), 1 x 500Gb system SSD (Win 10), 2 x 1Tb External HDD's, Dual boot Win 7 & Win 10 64 Bit, Saffire Pro 26, ISA One, Adam P11A,
    #3
    bitflipper
    01100010 01101001 01110100 01100110 01101100 01101
    • Total Posts : 26036
    • Joined: 2006/09/17 11:23:23
    • Location: Everett, WA USA
    • Status: offline
    Re:Ever see your CPU meter spike? 2012/10/20 10:25:18 (permalink)
    Some synth plugins continue to generate audio even when there is no MIDI input, and some effect plugins generate low-level noise even when there is no audio input. This can be easily observed. Open a blank project and you'll see the CPU meter sitting at zero; drop in an instance of the TTS-1 and you'll suddenly see activity on the CPU meter. 

    The point is that even when the project is idle, the audio engine may still be processing output data, filling the output buffer while the driver empties it. If the computer were to then undertake some CPU-intensive background activity, you'd see the CPU usage jump up, possibly even up into the red. 

    SONAR's CPU meter indicates how long it's taking to service the audio buffers, so it can rise not just because of demands placed on it by SONAR but by other, non-audio processes that steal time from the business of servicing audio data.

    In addition to that, laptops may switch to a slower CPU speed or shut down cores in order to conserve power when they're idle. This will also make the CPU meter rise because the CPU is less efficient when its performance has been degraded in this way.

    One or more things may have been happening when you saw that spike. The laptop may have entered a power-saving mode. If you have a wireless network adapter active it may have decided to poll the network for other computers. You may have even been attacked by a port scanner or denial-of-service attack. You could have spyware or a virus. You could have had an anti-virus scan kick in that's scheduled for when the CPU isn't busy. If you use the Comodo firewall, it could have decided to play its tricks and open up 50 network connections to the mothership. Windows Update may have decided to check for updates. The MS Office index service may have started up. The laptop may have initiated hibernation mode. 

    IOW, there are a gazillion reasons why your CPU suddenly got busy even when you weren't playing back your SONAR project, as long as SONAR was generating any output at all.


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

    My Stuff
    #4
    soens
    Max Output Level: -23.5 dBFS
    • Total Posts : 5154
    • Joined: 2005/09/16 03:19:55
    • Location: Location: Location
    • Status: offline
    Re:Ever see your CPU meter spike? 2012/10/20 11:32:32 (permalink)
    Thanks flipper. The laptop is connected to the net and I failed to turn off the wireless. Whatever it was I'm sure it wasn't good. The interesting thing is I also had X2 open with the same project trying to work out a bug in X2. Both were idle at the time but X2 did not spike like X1 did.
    #5
    GIM Productions
    Max Output Level: -73 dBFS
    • Total Posts : 860
    • Joined: 2005/12/14 05:07:56
    • Status: offline
    Re:Ever see your CPU meter spike? 2012/10/20 11:58:04 (permalink)
    Hi all,you can try to set thread scheduling model at value 2 in AUD.ini,it's very important for cpu cicles behaviour.Best.Roby

    Intel i7 3600,Asus Z170P,16 GIG Corsair ram,Focusrite Saffire Pro 26 i\o,Nektar Impact LX 49,Focusrite Liquid Mix,Monitors ADAM-K&H,Sonar Platinum
    Windows 10 SP1
    Producer....more stuff in SStudio, Rome ,Italy.
    #6
    bigboi
    Max Output Level: -85 dBFS
    • Total Posts : 260
    • Joined: 2004/03/12 00:30:41
    • Status: offline
    Re:Ever see your CPU meter spike? 2012/10/20 21:13:59 (permalink)
    whee can you find his setting robby?

    I7 920, 8 gigs ram, Newest gigabyte motherboard, 100 gig ssd for operating system and program files, 1 TB 7400 rpm for storage, Full V-Studio system, 2x Motu 2408 MKIII, 2x Motu 24 I/O, Maschine, Kore 2, Virus TI2, Korg m3, Novation Supernova, Novation D-station, Mo Phatt, Elektron Machine Drum, MicroKorg XL, Arturia Origin, Korg Triton, Roland jv2080-completely expanded, Avalon 737SP, 3 Sony premiere monitors, 2 event 20/20 studio monitors, Autotune AVP1, TC Helicon Voiceworks, 1 TC Electronics Powercore 6000, 1 Powercore Firewire
    #7
    bitflipper
    01100010 01101001 01110100 01100110 01101100 01101
    • Total Posts : 26036
    • Joined: 2006/09/17 11:23:23
    • Location: Everett, WA USA
    • Status: offline
    Re:Ever see your CPU meter spike? 2012/10/20 21:28:19 (permalink)
    It's called ThreadSchedulingModel. At 8.3 a new thread scheduling model was introduced to provide better load balancing. Setting this variable to 0 reverts to the pre-8.3 thread scheduling model, 1 enables the new model. Setting it to 2 is a third option that may help quad-core and higher systems, but is not recommended for dual-core systems.


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

    My Stuff
    #8
    Jump to:
    © 2025 APG vNext Commercial Version 5.1