After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 340307 - Excessive CPU usage in scopes
Excessive CPU usage in scopes
Status: RESOLVED FIXED
Product: beast
Classification: Other
Component: beast-gtk
SVN trunk
Other Linux
: Normal major
: ---
Assigned To: Tim Janik
Beast Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-05-01 16:25 UTC by Stefan Westerfeld
Modified: 2006-05-17 22:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stefan Westerfeld 2006-05-01 16:25:19 UTC
The scopes that BEAST provides use a lot of CPU. An example is that while I am playing "passive.bse" with my desktop computer it uses about 60% CPU when scopes are enabled, and about 15% without scopes (and without meters).

When scopes are enabled, 25% are spent within the bse core thread and 20% within the GUI thread (thats the data the "Profiler View" window gives me), where as without scopes, the CPU usage in these two threads is neglectable (< 1%).

This performance was measured using recent CVS on an 64bit Athlon system, with the following processor:

stefan@lotrien:~$ cat /proc/cpuinfo 
...
model name      : AMD Athlon(tm) 64 Processor 3400+
stepping        : 10
cpu MHz         : 2202.916
cache size      : 1024 KB
...

Note: due to priorization, this problem should not limit the sounds that can be produced on a given machine with BEAST, as long as the suid wrapper is installed.
Comment 1 Tim Janik 2006-05-17 22:13:40 UTC
this has been remedied with:

Sun May  7 03:37:18 2006  Tim Janik  <timj@gtk.org>
        * bseprobe.hh, bseprobe.cc: allmost complete rewrite

and the subsequent changes.