PastorJon

Q: Mainstage CPU spikes

I have MainStage 2 and Lion running on my MacBook Pro . . . plenty of memory. It's a newer MBP. Anyway, I still get the red CPU spikes after I installed Pianoteq recently. I noticed in Activity monitor I max out at 50-60% CPU usage. However, in MainStage I'm way in the red.

 

Is this normal?

Posted on Aug 31, 2011 1:05 PM

Close

Q: Mainstage CPU spikes

  • All replies
  • Helpful answers

first Previous Page 6 of 8 last Next
  • by dingdangdawg,

    dingdangdawg dingdangdawg Mar 1, 2012 10:25 PM in response to rc tech
    Level 2 (455 points)
    Mar 1, 2012 10:25 PM in response to rc tech

    I just upgraded to a Mac Mini Server with quad core i7 running Lion, and decided to give MainStage another chance (2.2.1). I must admit I am impressed enough with this new rig to put together a new setup and give another shot at live performance with it. MS is using all the cores in a decent balanced fashion according to Activity Monitor, and I am getting <10 ms roundtrip at about 25% cpu usage, which is my goal for software instruments and guitar. For vocal and sax, I go straight through my audio i/o for zero latency, and just use MainStage for delay or reverb fx.

  • by dhjdhj,

    dhjdhj dhjdhj Mar 2, 2012 4:49 AM in response to dingdangdawg
    Level 2 (165 points)
    Mar 2, 2012 4:49 AM in response to dingdangdawg

    Clicking on the Release Notes in the Help menu takes you to non-existing webpage.

  • by dingdangdawg,

    dingdangdawg dingdangdawg Mar 2, 2012 10:49 AM in response to dhjdhj
    Level 2 (455 points)
    Mar 2, 2012 10:49 AM in response to dhjdhj

    http://support.apple.com/kb/TS4027

     

    does that get you there?

  • by lohogan,

    lohogan lohogan Mar 2, 2012 6:58 PM in response to dingdangdawg
    Level 1 (0 points)
    Mar 2, 2012 6:58 PM in response to dingdangdawg

    Hi D3,

    First of all, http://support.apple.com/kb/TS4027 doesn't mention that you have to go to the App Store to find any mention of the upgrade. The upgrade is not mentioned any where else except in TS4027. I'm not used to going to the App Store yet, so it took me quite a while to find it.

     

    I did the upgrade on my MBPro 3.1. It shows that MS2.2.1 uses almost exactly twice as much CPU load as MS2.1.3. The older version runs reliably. The new version simply requires more horsepower than I have to run my concerts.

     

    My solution (albeit just a bit spendy) is to get a UAD Apollo quad for IO and processing, and use a new MBPro for musical instruments only - and all connected together with Thunderbolt. UAD is claiming less than 2ms latency for the entire rig, and enough processing power to keep my ten little fingers busy... The Apollo will be about $2500, and the new MBPro (with 8 gigs, 512 SS drive, and hi res screen) will be about $3700. But hey, won't it be nice?

  • by rc tech,

    rc tech rc tech Mar 2, 2012 7:33 PM in response to lohogan
    Level 2 (240 points)
    Mar 2, 2012 7:33 PM in response to lohogan

    Maybe you are running into http://support.apple.com/kb/TS4157, MainStage 2.2: Performance may appear to decrease on some dual-core computers. I have noticed that although the CPU meter reads higher in 2.2.1 compared to 2.1.3, I get better performance (i.e., I can run more channel strips) compared to 2.1.3 before overloading it.  Also I found this tech note which relates to MainStage's processing: http://support.apple.com/kb/HT5155

  • by Blueberry,

    Blueberry Blueberry Mar 3, 2012 1:15 AM in response to lohogan
    Level 4 (2,944 points)
    Mar 3, 2012 1:15 AM in response to lohogan

    Because the audio engine in MainStage 2.2 is completely different from MainStage 2.1.3, you can't compare the CPU meters between these versions. The only point interesting was already stated: how much can you actually do.

  • by lohogan,

    lohogan lohogan Mar 3, 2012 10:16 AM in response to Blueberry
    Level 1 (0 points)
    Mar 3, 2012 10:16 AM in response to Blueberry

    Hi everybody,

    I ran the same concert in 2.2.1 and 2.1.3. I measured the CPU usage using Activity Monitor, because I was getting such an awful response from 2.2.1 on my MBPro 3.1.

    This is what I got:

    2.2.1 idled at between 15% and 30%. It would spike to 100% erratically, every few seconds, and the audio would glitch or cut out if I played a single note. 256 samples, no buffer.

    2.1.3 idled at 37%. It would go to 70% with pushes to 89% based on demand when I played normally. 256 samples, no buffer.

    128 samples doesn't work. In 2.1.3, it glitches the audio, and in 2.2.1, it puts out a loud, weird artifact that sounds like massive digital distortion, and no real tone at all. In 2.2.1, I had to put the samples to 1024, and back to 256 to get the machine to recover. I shut off 2.2.1 and started up 2.1.3 while 2.2.1 was making this noise, and 2.1.3 worked just fine. When I restarted 2.2.1, it still made the noise until I did the 1024 to 256 entry. I'm guessing that the overload on 2.2.1 when I set it to 128 was so bad it didn't record the 128 entry properly.

    In addition, with the fan running at 5000 rpm (I force it there to keep the processors cool), 2.1.3 ran at 208º with regular excursions into 212º territory. 2.2.1 went to 218º, which I know is high enough to force the processor to slow down to keep from overheating. My poor old MBPro can't handle 2.2.1 the way I use it.

    I don't use the buffer at all, because the latency goes from not very good to totally unacceptible.

    In 2.2.1, the roundtrip time was 18.9 msec, and the output time was 11.7 with samples at 256.

    In 2.1.3, the roundtrip time was 18.9 msec with samples at 256.

  • by Blueberry,

    Blueberry Blueberry Mar 3, 2012 11:06 AM in response to lohogan
    Level 4 (2,944 points)
    Mar 3, 2012 11:06 AM in response to lohogan

    lohogan wrote:

    I measured the CPU usage using Activity Monitor, because I was getting such an awful response from 2.2.1 on my MBPro 3.1.

     

    That's the first issue: Acitivity Monitor doesn't work with realtime applications. On the other hand: a MacBook Pro 3.1 can't be faster in MS 2.2 compared to 2.1.3: the CPU doesn't have more resources to be used.

     

    lohogan wrote:

    In 2.2.1, the roundtrip time was 18.9 msec, and the output time was 11.7 with samples at 256.

    In 2.1.3, the roundtrip time was 18.9 msec with samples at 256.

     

    Please read the articles from Apple, because you are actually comparing the wrong things. 256 in 2.1.3 is not the same as 256 in 2.2:

     

    http://support.apple.com/kb/TS4027 MainStage 2.2 release notes

     

    http://support.apple.com/kb/HT5155 MainStage 2.2.1: Optimize latency

  • by lohogan,

    lohogan lohogan Mar 3, 2012 11:28 AM in response to Blueberry
    Level 1 (0 points)
    Mar 3, 2012 11:28 AM in response to Blueberry

    Hi Blueberry,

    Activity Monitor has a readout very much like the CPU readout in MS. The two jibed, but Activity Monitor gave separate readings for the two processors, and also had per-app percentages and a history meter. Activity Monitor has been very helpful for realtime applications for me. It uses about 1.5% of CPU resources.

     

    I know nothing is the same between the two, but the performance of 2.2.1 was noticably less than the performance of 2.1.3. I get barely satisfactory results with 2.1.3, and I can't get 2.2.1 to run well enough to use. My concert has 9 instruments running on some patches, and 5 guitar pro with bass patches, plus three audio channels and 8 output channels. It takes up 1.1GB of my 4GB memory. It sounds awesome when it works!

  • by lrizzo2001,

    lrizzo2001 lrizzo2001 Mar 3, 2012 11:32 AM in response to Blueberry
    Level 1 (26 points)
    Mar 3, 2012 11:32 AM in response to Blueberry

    So is the bottom line that 2.2.1 will probably give me worse performance on a Core 2 Duo 15" MBP? than 2.1?

  • by Madddcow,

    Madddcow Madddcow Mar 3, 2012 3:30 PM in response to lrizzo2001
    Level 1 (112 points)
    Audio
    Mar 3, 2012 3:30 PM in response to lrizzo2001

    lrizzo2001 wrote:

     

    So is the bottom line that 2.2.1 will probably give me worse performance on a Core 2 Duo 15" MBP? than 2.1?

    That's been my experience, yes.  CPU and RAM usage is approximately doubled in 2.2.1 vs. 2.1.3 for me

  • by dhjdhj,

    dhjdhj dhjdhj Mar 3, 2012 3:36 PM in response to Madddcow
    Level 2 (165 points)
    Mar 3, 2012 3:36 PM in response to Madddcow

    You know, as long as CPU doesn't go over 100%, I'm not sure why I care about the actual performance. I don't need CPU cycles left over to read email or something during a performance.

     

    Reliability is much more relevent.

  • by dingdangdawg,

    dingdangdawg dingdangdawg Mar 4, 2012 7:26 PM in response to Madddcow
    Level 2 (455 points)
    Mar 4, 2012 7:26 PM in response to Madddcow

    I can't give an apples to apples comparison on CPU/RAM usage between 2.2.1 vs 2.13, as I upgraded everything at the same time (computer, OSX, and MS version). But if usage doubled between versions on the same setup, as in madcow's case, how and why would that be happening? Its not like the application added a lot of powerful features. I would expect it to get more efficient with bug fixes, based on the number of complaints. Maddening indeed!

     

    And I agree with dhjdhj: reliability is #1. This is a live performance application; its not like you're sitting at home with no one listening or caring if you have to restart your application.

  • by lohogan,

    lohogan lohogan Mar 4, 2012 8:02 PM in response to dingdangdawg
    Level 1 (0 points)
    Mar 4, 2012 8:02 PM in response to dingdangdawg

    Reliability can be managed. Keeping CPU usage under control is one of the more direct ways to control it.

     

    2.2.1 uses twice as much CPU on my machine as 2.1.3. I like the improvement in the concepts on 2.2.1, and if they can find the problem and get the CPU usage reduced (hopefully below 2.1.3) that will be a great thing. Until then, I have to use 2.1.3.

    I wonder how the other brands, Ableton, Max, and even Logic, keep the usage down...

  • by rc tech,

    rc tech rc tech Mar 4, 2012 8:50 PM in response to lohogan
    Level 2 (240 points)
    Mar 4, 2012 8:50 PM in response to lohogan

    lohogan, have you tried removing all of your third party AUs in case one of them is conflicting?

     

    The other apps are not really comparable since they do not achieve the same task -- it would be difficult to achieve the exact same end result with those apps.

first Previous Page 6 of 8 last Next