Hello again,
About the 95%CPU problem when portaudio is selected...
As it was suggested, I upgraded GCC from 4.1 to 4.2 and recompiled
portaudio and nova. It seems that it doesn't solve my CPU usage problem.
In attachement you will find a report of top and oprofile statistics. I
hope it will be useful. I can tweak some options in oprofile on demand.
--
Olivier
Nova CPU usage and CLK_UNHALT
-----------------------------
SVN REVISION : 829
$uname -a
Linux cassis 2.6.22.1-rt9 #2 PREEMPT RT Fri Aug 24 13:13:01 CEST 2007 i686 AMD
Athlon(tm) XP 2400+ GNU/Linux
$gcc --version
gcc (GCC) 4.2.2 20070909 (prerelease) (4.2.2-0.RC.1mdv2007.1)
Opened Patch is a typical patch with [buffer~], [tabread4~], [svf~], [dac~]
objects.
############################
"Compute Audio" NOT Selected
"Dummy" Selected
############################
TOP:
----
Tasks: 111 total, 1 running, 109 sleeping, 0 stopped, 1 zombie
Cpu(s): 9.3%us, 2.0%sy, 0.0%ni, 88.0%id, 0.0%wa, 0.3%hi, 0.3%si, 0.0%st
Mem: 906064k total, 609812k used, 296252k free, 100456k buffers
Swap: 514040k total, 0k used, 514040k free, 336036k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5500 ol 20 0 129m 29m 19m S 5.7 3.3 0:23.78 python
OPROFILE:
---------
CPU: Athlon, speed 1992.07 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Cycles outside of halt state) with a unit mask
of 0x00 (No unit mask) count 100000
CPU_CLK_UNHALT...|
samples| %|
------------------
970 46.6570 python
CPU_CLK_UNHALT...|
samples| %|
------------------
428 44.1237 py_nova.so
136 14.0206 libglib-2.0.so.0.1200.11
88 9.0722 libpython2.5.so.1.0
79 8.1443 libpthread-2.4.so
72 7.4227 libQtCore.so.4.3.1
58 5.9794 libc-2.4.so
38 3.9175 libX11.so.6.2.0
27 2.7835 librt-2.4.so
21 2.1649 libQtGui.so.4.3.1
12 1.2371 sip.so
7 0.7216 libgthread-2.0.so.0.1200.11
2 0.2062 QtCore.so
1 0.1031 collections.so
1 0.1031 QtGui.so
########################
"Compute Audio" Selected
"Dummy" Selected
########################
TOP:
----
Tasks: 112 total, 1 running, 110 sleeping, 0 stopped, 1 zombie
Cpu(s): 4.7%us, 0.7%sy, 0.0%ni, 94.3%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 906064k total, 611920k used, 294144k free, 101496k buffers
Swap: 514040k total, 0k used, 514040k free, 336268k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5500 ol 20 0 129m 29m 19m S 6.0 3.3 0:35.98 python
OPROFILE:
---------
CPU: Athlon, speed 1992.07 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Cycles outside of halt state) with a unit mask
of 0x00 (No unit mask) count 100000
CPU_CLK_UNHALT...|
samples| %|
------------------
1908 64.2208 python
CPU_CLK_UNHALT...|
samples| %|
------------------
778 40.7757 py_nova.so
473 24.7904 libpython2.5.so.1.0
174 9.1195 libglib-2.0.so.0.1200.11
148 7.7568 libpthread-2.4.so
107 5.6080 libQtCore.so.4.3.1
75 3.9308 libc-2.4.so
74 3.8784 libX11.so.6.2.0
30 1.5723 libQtGui.so.4.3.1
29 1.5199 librt-2.4.so
9 0.4717 sip.so
8 0.4193 libgthread-2.0.so.0.1200.11
2 0.1048 QtGui.so
1 0.0524 QtCore.so
#########################
"Compute Audio" Selected
"Portaudio" Selected
"Default" device selected
#########################
TOP:
----
Tasks: 115 total, 2 running, 112 sleeping, 0 stopped, 1 zombie
Cpu(s): 48.3%us, 50.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 1.3%hi, 0.3%si, 0.0%st
Mem: 906064k total, 648824k used, 257240k free, 101948k buffers
Swap: 514040k total, 0k used, 514040k free, 342392k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5500 ol 20 0 130m 31m 21m R 92.6 3.6 3:34.34 python
OPROFILE:
---------
CPU: Athlon, speed 1992.07 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Cycles outside of halt state) with a unit mask
of 0x00 (No unit mask) count 100000
CPU_CLK_UNHALT...|
samples| %|
------------------
1254 56.1828 python
CPU_CLK_UNHALT...|
samples| %|
------------------
403 32.1372 libglib-2.0.so.0.1200.11
297 23.6842 libpthread-2.4.so
169 13.4769 libQtCore.so.4.3.1
134 10.6858 libX11.so.6.2.0
60 4.7847 librt-2.4.so
51 4.0670 libc-2.4.so
44 3.5088 libQtGui.so.4.3.1
43 3.4290 libasound.so.2.0.0
32 2.5518 libpython2.5.so.1.0
13 1.0367 libgthread-2.0.so.0.1200.11
6 0.4785 libportaudio.so.2.0.0
2 0.1595 sip.so
#########################
"Compute Audio" Selected
"Portaudio" Selected
"Jack" device selected
#########################
TOP:
----
Tasks: 114 total, 3 running, 110 sleeping, 0 stopped, 1 zombie
Cpu(s): 49.8%us, 47.9%sy, 0.0%ni, 0.0%id, 0.0%wa, 2.0%hi, 0.3%si, 0.0%st
Mem: 906064k total, 731712k used, 174352k free, 103780k buffers
Swap: 514040k total, 0k used, 514040k free, 348524k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5500 ol 20 0 131m 131m 47m R 86.1 14.8 13:42.36 python
OPROFILE:
---------
CPU: Athlon, speed 1992.07 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Cycles outside of halt state) with a unit mask
of 0x00 (No unit mask) count 100000
CPU_CLK_UNHALT...|
samples| %|
------------------
1039 67.0323 python
CPU_CLK_UNHALT...|
samples| %|
------------------
314 30.2214 libglib-2.0.so.0.1200.11
242 23.2916 libpthread-2.4.so
143 13.7632 libQtCore.so.4.3.1
108 10.3946 libX11.so.6.2.0
75 7.2185 py_nova.so
46 4.4273 libc-2.4.so
38 3.6574 librt-2.4.so
29 2.7911 libQtGui.so.4.3.1
24 2.3099 libpython2.5.so.1.0
12 1.1550 libgthread-2.0.so.0.1200.11
5 0.4812 libjack.so.0.0.28
2 0.1925 QtCore.so
1 0.0962 libportaudio.so.2.0.0
_______________________________________________
nova-dev mailing list
[email protected]
http://klingt.org/cgi-bin/mailman/listinfo/nova-dev
http://tim.klingt.org/nova