[5184] L8 uses 30% more CPU than L7

Dalibor Loncar
Posts: 241
Joined: Wed Nov 21, 2007 4:31 pm

Re: L8 uses 30% more CPU than L7 - hope it's just the beta!

Post by Dalibor Loncar » Wed Mar 18, 2009 9:26 am

Nogi wrote:
Dalibor Loncar wrote:i compared the cpu performance with tarekith´s test, no more than 7 % increase of cpu power consumption
I suspect you are using a quad core? 7-8% per core => ~30%
indeed i have a xeon quad core, but i´m betatesting on a laptop with an intel core2duo mobile processor T8100 (2.1GHz).

i´m on win xp, the cpu power consumption complaints obviously come from mac users.

maybe the actual beta code of the os x port has some design flaws ...

Friedemann
Posts: 425
Joined: Mon Jun 28, 2004 10:47 am
Location: Ableton Headquarter

Re: L8 uses 30% more CPU than L7 - hope it's just the beta!

Post by Friedemann » Wed Mar 18, 2009 10:21 am

Hi,

thank you all for your input.
The problem is probably related to simpler and we are investigating it.

Let me add some comments about *expected* differences regarding performance between
beta builds and the final build:

On PC there is some extra code that allows us to get more information after a crash. This *slightly* degrades the
overall performance (both GUI and audio), but typically not more than a few percent.

On both, Mac and PC there is the EventRecorder running in beta builds that records all user events (like mouse-clicks)
for the sake of reproducing bugs (this is what ends up in the bug reporting .alp files). This should not have any
impact on audio performance but adds a little extra cpu load from the GUI. The EventRecorder can be turned off by putting the line '-EventRecorder=Off' in the Options.txt file (in the preferences folder). If it is off, Live's title-bar
will not show 'recording events' after the name of the current set. Please turn this off *only* for performance tests because otherwise we loose very valuable information in the case of a crash.

If you compare Live 7 and 8 please make always sure that you use the same settings in the preferences, like
sample rate, audio buffer size etc.

Differences in performance between (Intel-)Mac and a comparable PC can arise from the fact that the code is compiled with different compilers which might perform different optimizations even when the target cpu is the same.
Friedemann Schautz
schautz@ableton.com

Dalibor Loncar
Posts: 241
Joined: Wed Nov 21, 2007 4:31 pm

Re: L8 uses 30% more CPU than L7 - hope it's just the beta!

Post by Dalibor Loncar » Wed Mar 18, 2009 10:44 am

Friedemann wrote: The EventRecorder can be turned off by putting the line '-EventRecorder=Off' in the Options.txt file (in the preferences folder). If it is off, Live's title-bar will not show 'recording events' after the name of the current set. Please turn this off *only* for performance tests because otherwise we loose very valuable information in the case of a crash.
guys and gals, don´t forget to switch the eventrecorder on after performance testing :mrgreen:
Friedemann wrote: Differences in performance between (Intel-)Mac and a comparable PC can arise from the fact that the code is compiled with different compilers which might perform different optimizations even when the target cpu is the same.
many thanks, that´s very enlightening!

slirak
Posts: 656
Joined: Tue Jul 24, 2007 10:03 pm

Re: L8 uses 30% more CPU than L7 - hope it's just the beta!

Post by slirak » Wed Mar 18, 2009 10:53 am

Friedemann wrote:The problem is probably related to simpler and we are investigating it.
OK, that would explain why I experience similar differences with other Live sets: I use Session Drums in basically every set. Will test without them after work.
Friedemann wrote:Let me add some comments about *expected* differences regarding performance between beta builds and the final build...
Brilliant info, thank you very much!

/Jonas

glitchrock-buddha
Posts: 4357
Joined: Fri Oct 14, 2005 1:29 am
Location: The Ableton Live Forum

Re: L8 uses 30% more CPU than L7 - hope it's just the beta!

Post by glitchrock-buddha » Wed Mar 18, 2009 2:36 pm

Friedemann wrote: The problem is probably related to simpler and we are investigating it.
I just thought I would mention too that I tried replacing all the simplers in that test set with samplers and got exactly the same performance discrepancies between 7 and 8 as with simpler. So the problem must be both with simpler and sampler. But I guess that's probably assumed since they're the same under the hood.
Professional Shark Jumper.

Friedemann
Posts: 425
Joined: Mon Jun 28, 2004 10:47 am
Location: Ableton Headquarter

Re: L8 uses 30% more CPU than L7 - hope it's just the beta!

Post by Friedemann » Wed Mar 18, 2009 2:57 pm

yes, that's correct.

Best, Friedemann
Friedemann Schautz
schautz@ableton.com

glitchrock-buddha
Posts: 4357
Joined: Fri Oct 14, 2005 1:29 am
Location: The Ableton Live Forum

Re: L8 uses 30% more CPU than L7 - hope it's just the beta!

Post by glitchrock-buddha » Wed Mar 18, 2009 6:15 pm

Should this maybe be moved to the bugs section then?
Professional Shark Jumper.

slirak
Posts: 656
Joined: Tue Jul 24, 2007 10:03 pm

Re: L8 uses 30% more CPU than L7 - hope it's just the beta!

Post by slirak » Wed Mar 18, 2009 6:30 pm

glitchrock-buddha wrote:
Friedemann wrote: The problem is probably related to simpler and we are investigating it.
I just thought I would mention too that I tried replacing all the simplers in that test set with samplers and got exactly the same performance discrepancies between 7 and 8 as with simpler. So the problem must be both with simpler and sampler. But I guess that's probably assumed since they're the same under the hood.
I just did the same but used Tension instead. Still the same result. :?

Friedemann
Posts: 425
Joined: Mon Jun 28, 2004 10:47 am
Location: Ableton Headquarter

Re: L8 uses 30% more CPU than L7 - hope it's just the beta!

Post by Friedemann » Wed Mar 18, 2009 7:02 pm

My first assumption was wrong, Reverb is causing the problem not Simpler. We are working on a fix.

Best, Friedemann

(I move the thread to the bugs forum)
Friedemann Schautz
schautz@ableton.com

bulo
Posts: 434
Joined: Sat Sep 09, 2006 7:57 pm
Location: France
Contact:

Re: [frs]L8 uses 30% more CPU than L7 - hope it's just the beta!

Post by bulo » Thu Mar 19, 2009 12:07 am

My first assumption was wrong, Reverb is causing the problem not Simpler. We are working on a fix.

Best, Friedemann
I've just made tests with some of my sets which contains Reverb (two or three instances), and the results were identical from 7 to 8.
Is the problem you've just pointed out with Reverb caused by the fact there are plenty in the Tarekith's test?

Whatever, glad to see that you've find the problem one more time.
You're making such an intensive and great job those last months.
Respect.
My tongue spits english like a frog and my head is currently searching for a comprehensive language.
And I shit here

Alex
Posts: 4006
Joined: Wed Apr 03, 2002 1:07 pm
Location: Ableton Headquarter

Re: [5184] L8 uses 30% more CPU than L7

Post by Alex » Fri Mar 27, 2009 12:41 am

It depends on the settings of the Reverb.
However, it should be fixed since Live 8.0b25.

Regards
/Alex

glitchrock-buddha
Posts: 4357
Joined: Fri Oct 14, 2005 1:29 am
Location: The Ableton Live Forum

Re: [5184] L8 uses 30% more CPU than L7

Post by glitchrock-buddha » Fri Mar 27, 2009 2:46 am

I ran the test again with b24, and yes, it is much better now. What used to take 70% in Live 7, but took 90% in the previous Live 8 betas, now takes 74%, which seems pretty normal. I don't think a few extra percent is anything to worry about, given that it's beta.

I'd say this thread is ready for the --done-- folder! :D
Professional Shark Jumper.

mr.adl
Posts: 878
Joined: Tue Mar 21, 2006 2:02 pm

Re: [5184] L8 uses 30% more CPU than L7

Post by mr.adl » Fri Mar 27, 2009 8:31 am

glitchrock-buddha wrote:I ran the test again with b24, and yes, it is much better now. What used to take 70% in Live 7, but took 90% in the previous Live 8 betas, now takes 74%, which seems pretty normal. I don't think a few extra percent is anything to worry about, given that it's beta.

I'd say this thread is ready for the --done-- folder! :D

Cool, thanx for checking!

Friedemann
Posts: 425
Joined: Mon Jun 28, 2004 10:47 am
Location: Ableton Headquarter

Re: [5184] L8 uses 30% more CPU than L7

Post by Friedemann » Fri Mar 27, 2009 9:40 am

Thanks for verifying, I move the thread to the 'done' section.

Best, Friedemann
Friedemann Schautz
schautz@ableton.com

Post Reply