Csound Csound-dev Csound-tekno Search About

Csound5 or Csound6 on Raspi

Date2015-09-11 20:33
FromAlex Hofmann
SubjectCsound5 or Csound6 on Raspi
Hi,

I was using Csound5 (5.17) on my Raspberry Pi for 2 years.
Now I got a second Raspi and installed Csound6 (6.05) on it. I noticed that Csound6 uses more CPU when running the same patches and causes Buffer underruns and overruns, causing dropouts. (Running the same patch on the same Raspi in python with Csound5 (5.17) works well.)

Did anyone notice that difference, too?
Is Csound6 more hungry than Csound5 was?


Alex
------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-09-11 20:42
Fromjpff
SubjectRe: Csound5 or Csound6 on Raspi
In the experiments i made cs6 was less cpu intensive than cs5, despite a 
couple of potentially added koad
1:  --sample-accurate adds code all over
2:  multicore has a slight load on every cycle

OTOH many optimisations seemed to win over these.

I guess it is time to reassess these costs
==John ffitc


On Fri, 11 Sep 2015, Alex Hofmann wrote:

> Hi,
>
> I was using Csound5 (5.17) on my Raspberry Pi for 2 years.
> Now I got a second Raspi and installed Csound6 (6.05) on it. I noticed that Csound6 uses more CPU when running the same patches and causes Buffer underruns and overruns, causing dropouts. (Running the same patch on the same Raspi in python with Csound5 (5.17) works well.)
>
> Did anyone notice that difference, too?
> Is Csound6 more hungry than Csound5 was?
>
>
> Alex
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-09-11 21:20
FromVictor Lazzarini
SubjectRe: Csound5 or Csound6 on Raspi
How did you install it? On OSX 6.* is faster than 5.*
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 11 Sep 2015, at 20:33, Alex Hofmann  wrote:
> 
> Hi,
> 
> I was using Csound5 (5.17) on my Raspberry Pi for 2 years.
> Now I got a second Raspi and installed Csound6 (6.05) on it. I noticed that Csound6 uses more CPU when running the same patches and causes Buffer underruns and overruns, causing dropouts. (Running the same patch on the same Raspi in python with Csound5 (5.17) works well.)
> 
> Did anyone notice that difference, too?
> Is Csound6 more hungry than Csound5 was?
> 
> 
> Alex
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-09-12 08:47
FromAlex Hofmann
SubjectRe: Csound5 or Csound6 on Raspi
Hi Victor,

to install Csound6 I followed the Git instructions: https://github.com/csound/csound/blob/develop/BUILD.md#raspberry-pi-standard-distro-
Whereas Csound5 PythonAPI I installed via: apt-get

But maybe I messed something up?

Alex


Am 11.09.2015 um 22:20 schrieb Victor Lazzarini :

> How did you install it? On OSX 6.* is faster than 5.*
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
> 
>> On 11 Sep 2015, at 20:33, Alex Hofmann  wrote:
>> 
>> Hi,
>> 
>> I was using Csound5 (5.17) on my Raspberry Pi for 2 years.
>> Now I got a second Raspi and installed Csound6 (6.05) on it. I noticed that Csound6 uses more CPU when running the same patches and causes Buffer underruns and overruns, causing dropouts. (Running the same patch on the same Raspi in python with Csound5 (5.17) works well.)
>> 
>> Did anyone notice that difference, too?
>> Is Csound6 more hungry than Csound5 was?
>> 
>> 
>> Alex
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-09-12 15:27
FromVictor Lazzarini
SubjectRe: Csound5 or Csound6 on Raspi
Maybe the settings are not using -03 optimisation flags.If build a release configuration, then these will be set.
Try running cmake with -DCMAKE_BUILD_TYPE=“Release" 

Regards
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 12 Sep 2015, at 08:47, Alex Hofmann  wrote:
> 
> Hi Victor,
> 
> to install Csound6 I followed the Git instructions: https://github.com/csound/csound/blob/develop/BUILD.md#raspberry-pi-standard-distro-
> Whereas Csound5 PythonAPI I installed via: apt-get
> 
> But maybe I messed something up?
> 
> Alex
> 
> 
> Am 11.09.2015 um 22:20 schrieb Victor Lazzarini :
> 
>> How did you install it? On OSX 6.* is faster than 5.*
>> ========================
>> Dr Victor Lazzarini
>> Dean of Arts, Celtic Studies and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952 
>> 
>>> On 11 Sep 2015, at 20:33, Alex Hofmann  wrote:
>>> 
>>> Hi,
>>> 
>>> I was using Csound5 (5.17) on my Raspberry Pi for 2 years.
>>> Now I got a second Raspi and installed Csound6 (6.05) on it. I noticed that Csound6 uses more CPU when running the same patches and causes Buffer underruns and overruns, causing dropouts. (Running the same patch on the same Raspi in python with Csound5 (5.17) works well.)
>>> 
>>> Did anyone notice that difference, too?
>>> Is Csound6 more hungry than Csound5 was?
>>> 
>>> 
>>> Alex
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> Send bugs reports to
>>>      https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> 
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-09-12 16:19
FromAlex Hofmann
SubjectRe: Csound5 or Csound6 on Raspi
AttachmentsNone  None  
Hi Victor,

thanks for your suggestions, I compiled Csound6 again with the release settings but it didn't change anything.

Running a very simple patch (see bottom) in terminal with Csound 6.05 on the Rasip B+, "top" shows 63% CPU load and Csound  produces dropouts with all 15 voices.
The same patch in python with Csound 5.17, runs smoothly with 27.8% CPU load.

-----
<CsoundSynthesizer>
<CsOptions>
-odac:hw:1,0 -iadc:hw:1 -d -+rtaudio=ALSA -b128 -B1024
</CsOptions>
<CsInstruments>

0dbfs = 1
sr = 44100
ksmps = 20
nchnls = 2
0dbfs = 1

instr 123
prints "Hello World!%n"   
aSin oscili p4, p5, 1
outs aSin, aSin
endin

</CsInstruments>
<CsScore>
f 1 0 1024 10 1
i 123 0 40 0.01 200
i 123 2 40 0.01 400
i 123 4 40 0.01 600
i 123 6 40 0.01 800
i 123 8 40 0.01 1000
i 123 10 40 0.01 1200
i 123 12 40 0.01 1400
i 123 14 40 0.01 1600
i 123 16 40 0.01 1800
i 123 18 40 0.01 2000
i 123 20 40 0.01 2200
i 123 22 40 0.01 2400
i 123 24 40 0.01 2800
i 123 26 40 0.01 3000
i 123 28 40 0.01 3200

e
</CsScore>
</CsoundSynthesizer>

---

Am 12.09.2015 um 16:27 schrieb Victor Lazzarini <Victor.Lazzarini@nuim.ie>:

Maybe the settings are not using -03 optimisation flags.If build a release configuration, then these will be set.
Try running cmake with -DCMAKE_BUILD_TYPE=“Release"

Regards
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

On 12 Sep 2015, at 08:47, Alex Hofmann <ahahof@gmail.com> wrote:

Hi Victor,

to install Csound6 I followed the Git instructions: https://github.com/csound/csound/blob/develop/BUILD.md#raspberry-pi-standard-distro-
Whereas Csound5 PythonAPI I installed via: apt-get

But maybe I messed something up?

Alex


Am 11.09.2015 um 22:20 schrieb Victor Lazzarini <Victor.Lazzarini@nuim.ie>:

How did you install it? On OSX 6.* is faster than 5.*
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952

On 11 Sep 2015, at 20:33, Alex Hofmann <ahah@gmx.net> wrote:

Hi,

I was using Csound5 (5.17) on my Raspberry Pi for 2 years.
Now I got a second Raspi and installed Csound6 (6.05) on it. I noticed that Csound6 uses more CPU when running the same patches and causes Buffer underruns and overruns, causing dropouts. (Running the same patch on the same Raspi in python with Csound5 (5.17) works well.)

Did anyone notice that difference, too?
Is Csound6 more hungry than Csound5 was?


Alex
------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
    https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
     https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
      https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here


Date2015-09-12 16:51
FromVictor Lazzarini
SubjectRe: Csound5 or Csound6 on Raspi
Did you check with -O3 is being used when building it?
The CPU use looks excessive.
=======================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 12 Sep 2015, at 16:19, Alex Hofmann  wrote:
> 
> Hi Victor,
> 
> thanks for your suggestions, I compiled Csound6 again with the release settings but it didn't change anything.
> 
> Running a very simple patch (see bottom) in terminal with Csound 6.05 on the Rasip B+, "top" shows 63% CPU load and Csound  produces dropouts with all 15 voices.
> The same patch in python with Csound 5.17, runs smoothly with 27.8% CPU load.
> 
> -----
> 
> 
> -odac:hw:1,0 -iadc:hw:1 -d -+rtaudio=ALSA -b128 -B1024
> 
> 
> 
> 0dbfs = 1
> sr = 44100
> ksmps = 20
> nchnls = 2
> 0dbfs = 1
> 
> instr 123 									
> 	prints "Hello World!%n" 	   
> 	aSin	oscili p4, p5, 1 	
> 	outs aSin, aSin
> endin
> 
> 
> 
> f 1 0 1024 10 1
> i 123 0 40 0.01 200			
> i 123 2 40 0.01 400
> i 123 4 40 0.01 600
> i 123 6 40 0.01 800
> i 123 8 40 0.01 1000
> i 123 10 40 0.01 1200
> i 123 12 40 0.01 1400
> i 123 14 40 0.01 1600
> i 123 16 40 0.01 1800
> i 123 18 40 0.01 2000
> i 123 20 40 0.01 2200
> i 123 22 40 0.01 2400
> i 123 24 40 0.01 2800
> i 123 26 40 0.01 3000
> i 123 28 40 0.01 3200
> 
> e 	
> 
> 
> 
> ---
> 
> Am 12.09.2015 um 16:27 schrieb Victor Lazzarini :
> 
>> Maybe the settings are not using -03 optimisation flags.If build a release configuration, then these will be set.
>> Try running cmake with -DCMAKE_BUILD_TYPE=“Release" 
>> 
>> Regards
>> ========================
>> Dr Victor Lazzarini
>> Dean of Arts, Celtic Studies and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952 
>> 
>>> On 12 Sep 2015, at 08:47, Alex Hofmann  wrote:
>>> 
>>> Hi Victor,
>>> 
>>> to install Csound6 I followed the Git instructions: https://github.com/csound/csound/blob/develop/BUILD.md#raspberry-pi-standard-distro-
>>> Whereas Csound5 PythonAPI I installed via: apt-get
>>> 
>>> But maybe I messed something up?
>>> 
>>> Alex
>>> 
>>> 
>>> Am 11.09.2015 um 22:20 schrieb Victor Lazzarini :
>>> 
>>>> How did you install it? On OSX 6.* is faster than 5.*
>>>> ========================
>>>> Dr Victor Lazzarini
>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>> Maynooth University,
>>>> Maynooth, Co Kildare, Ireland
>>>> Tel: 00 353 7086936
>>>> Fax: 00 353 1 7086952 
>>>> 
>>>>> On 11 Sep 2015, at 20:33, Alex Hofmann  wrote:
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> I was using Csound5 (5.17) on my Raspberry Pi for 2 years.
>>>>> Now I got a second Raspi and installed Csound6 (6.05) on it. I noticed that Csound6 uses more CPU when running the same patches and causes Buffer underruns and overruns, causing dropouts. (Running the same patch on the same Raspi in python with Csound5 (5.17) works well.)
>>>>> 
>>>>> Did anyone notice that difference, too?
>>>>> Is Csound6 more hungry than Csound5 was?
>>>>> 
>>>>> 
>>>>> Alex
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Csound-users mailing list
>>>>> Csound-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>> Send bugs reports to
>>>>>     https://github.com/csound/csound/issues
>>>>> Discussions of bugs and features can be posted here
>>>> 
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-users mailing list
>>>> Csound-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>> Send bugs reports to
>>>>      https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> Send bugs reports to
>>>       https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> 
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>        https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-09-12 16:54
Fromjpff
SubjectRe: Csound5 or Csound6 on Raspi
AttachmentsNone  None  
On my Linux machine and that simple orc cs6.06 is about 1-3% slower than 
cs5.19
Varies a lot.  That must be the two effects I commented on earlier.  I 
suppose I could build for the rPi but that might takw a little while
==John ff

On Sat, 12 Sep 2015, Alex Hofmann wrote:

> Hi Victor,
> thanks for your suggestions, I compiled Csound6 again with the release settings
> but it didn't change anything.
> 
> Running a very simple patch (see bottom) in terminal with Csound 6.05 on the
> Rasip B+, "top" shows 63% CPU load and Csound  produces dropouts with all 15
> voices.
> The same patch in python with Csound 5.17, runs smoothly with 27.8% CPU load.
> 
> -----
> 
> 
> -odac:hw:1,0 -iadc:hw:1 -d -+rtaudio=ALSA -b128 -B1024
> 
> 
> 
> 0dbfs = 1
> sr = 44100
> ksmps = 20
> nchnls = 2
> 0dbfs = 1
> 
> instr 123
> prints "Hello World!%n"   
> aSin oscili p4, p5, 1
> outs aSin, aSin
> endin
> 
> 
> 
> f 1 0 1024 10 1
> i 123 0 40 0.01 200
> i 123 2 40 0.01 400
> i 123 4 40 0.01 600
> i 123 6 40 0.01 800
> i 123 8 40 0.01 1000
> i 123 10 40 0.01 1200
> i 123 12 40 0.01 1400
> i 123 14 40 0.01 1600
> i 123 16 40 0.01 1800
> i 123 18 40 0.01 2000
> i 123 20 40 0.01 2200
> i 123 22 40 0.01 2400
> i 123 24 40 0.01 2800
> i 123 26 40 0.01 3000
> i 123 28 40 0.01 3200
> 
> e
> 
> 
> 
> ---
> 
> Am 12.09.2015 um 16:27 schrieb Victor Lazzarini :
>
>       Maybe the settings are not using -03 optimisation flags.If build a
>       release configuration, then these will be set.
>       Try running cmake with -DCMAKE_BUILD_TYPE=“Release"
>
>       Regards
>       ========================
>       Dr Victor Lazzarini
>       Dean of Arts, Celtic Studies and Philosophy,
>       Maynooth University,
>       Maynooth, Co Kildare, Ireland
>       Tel: 00 353 7086936
>       Fax: 00 353 1 7086952
>
>             On 12 Sep 2015, at 08:47, Alex Hofmann
>              wrote:
>
>             Hi Victor,
>
>             to install Csound6 I followed the Git instructions:https://github.com/csound/csound/blob/develop/BUILD.md#raspberry-pi-standard-d
>             istro-
>             Whereas Csound5 PythonAPI I installed via: apt-get
>
>             But maybe I messed something up?
>
>             Alex
> 
>
>             Am 11.09.2015 um 22:20 schrieb Victor Lazzarini
>             :
>
>                   How did you install it? On OSX 6.* is
>                   faster than 5.*
>                   ========================
>                   Dr Victor Lazzarini
>                   Dean of Arts, Celtic Studies and
>                   Philosophy,
>                   Maynooth University,
>                   Maynooth, Co Kildare, Ireland
>                   Tel: 00 353 7086936
>                   Fax: 00 353 1 7086952
>
>                         On 11 Sep 2015, at 20:33, Alex
>                         Hofmann  wrote:
>
>                         Hi,
>
>                         I was using Csound5 (5.17) on
>                         my Raspberry Pi for 2 years.
>                         Now I got a second Raspi and
>                         installed Csound6 (6.05) on it.
>                         I noticed that Csound6 uses
>                         more CPU when running the same
>                         patches and causes Buffer
>                         underruns and overruns, causing
>                         dropouts. (Running the same
>                         patch on the same Raspi in
>                         python with Csound5 (5.17)
>                         works well.)
>
>                         Did anyone notice that
>                         difference, too?
>                         Is Csound6 more hungry than
>                         Csound5 was?
> 
>
>                         Alex
> ------------------------------------------------------------------------------
>
>                         _______________________________________________
>                         Csound-users mailing list
>                         Csound-users@lists.sourceforge.net
>                         https://lists.sourceforge.net/lists/listinfo/csound-users
>                         Send bugs reports to
>                             https://github.com/csound/csound/issues
>                         Discussions of bugs and
>                         features can be posted here
> 
> 
> 
> ------------------------------------------------------------------------------
>
>                   _______________________________________________
>                   Csound-users mailing list
>                   Csound-users@lists.sourceforge.net
>                   https://lists.sourceforge.net/lists/listinfo/csound-users
>                   Send bugs reports to
>                        https://github.com/csound/csound/issues
>                   Discussions of bugs and features can be
>                   posted here
> 
> 
> 
> ------------------------------------------------------------------------------
>
>             _______________________________________________
>             Csound-users mailing list
>             Csound-users@lists.sourceforge.net
>             https://lists.sourceforge.net/lists/listinfo/csound-users
>             Send bugs reports to
>                   https://github.com/csound/csound/issues
>             Discussions of bugs and features can be posted here
> 
> 
> 
> ------------------------------------------------------------------------------
>
>       _______________________________________________
>       Csound-users mailing list
>       Csound-users@lists.sourceforge.net
>       https://lists.sourceforge.net/lists/listinfo/csound-users
>       Send bugs reports to
>              https://github.com/csound/csound/issues
>       Discussions of bugs and features can be posted here
> 
> 
> 
>

Date2015-09-12 16:58
Fromjpff
SubjectRe: Csound5 or Csound6 on Raspi
AttachmentsNone  None  
Victor; perhaps we need to have a simpler perf function for low-powered 
unicore machines?  Would eliminate one source of inefficiency.  Not sure 
how long it would take to get that right.
==John ff

On Sat, 12 Sep 2015, Victor Lazzarini wrote:

> Did you check with -O3 is being used when building it?
> The CPU use looks excessive.
> =======================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
>> On 12 Sep 2015, at 16:19, Alex Hofmann  wrote:
>>
>> Hi Victor,
>>
>> thanks for your suggestions, I compiled Csound6 again with the release settings but it didn't change anything.
>>
>> Running a very simple patch (see bottom) in terminal with Csound 6.05 on the Rasip B+, "top" shows 63% CPU load and Csound  produces dropouts with all 15 voices.
>> The same patch in python with Csound 5.17, runs smoothly with 27.8% CPU load.
>>
>> -----
>> 
>> 
>> -odac:hw:1,0 -iadc:hw:1 -d -+rtaudio=ALSA -b128 -B1024
>> 
>> 
>>
>> 0dbfs = 1
>> sr = 44100
>> ksmps = 20
>> nchnls = 2
>> 0dbfs = 1
>>
>> instr 123
>> 	prints "Hello World!%n"
>> 	aSin	oscili p4, p5, 1
>> 	outs aSin, aSin
>> endin
>>
>> 
>> 
>> f 1 0 1024 10 1
>> i 123 0 40 0.01 200
>> i 123 2 40 0.01 400
>> i 123 4 40 0.01 600
>> i 123 6 40 0.01 800
>> i 123 8 40 0.01 1000
>> i 123 10 40 0.01 1200
>> i 123 12 40 0.01 1400
>> i 123 14 40 0.01 1600
>> i 123 16 40 0.01 1800
>> i 123 18 40 0.01 2000
>> i 123 20 40 0.01 2200
>> i 123 22 40 0.01 2400
>> i 123 24 40 0.01 2800
>> i 123 26 40 0.01 3000
>> i 123 28 40 0.01 3200
>>
>> e
>> 
>> 
>>
>> ---
>>
>> Am 12.09.2015 um 16:27 schrieb Victor Lazzarini :
>>
>>> Maybe the settings are not using -03 optimisation flags.If build a release configuration, then these will be set.
>>> Try running cmake with -DCMAKE_BUILD_TYPE=“Release"
>>>
>>> Regards
>>> ========================
>>> Dr Victor Lazzarini
>>> Dean of Arts, Celtic Studies and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952
>>>
>>>> On 12 Sep 2015, at 08:47, Alex Hofmann  wrote:
>>>>
>>>> Hi Victor,
>>>>
>>>> to install Csound6 I followed the Git instructions: https://github.com/csound/csound/blob/develop/BUILD.md#raspberry-pi-standard-distro-
>>>> Whereas Csound5 PythonAPI I installed via: apt-get
>>>>
>>>> But maybe I messed something up?
>>>>
>>>> Alex
>>>>
>>>>
>>>> Am 11.09.2015 um 22:20 schrieb Victor Lazzarini :
>>>>
>>>>> How did you install it? On OSX 6.* is faster than 5.*
>>>>> ========================
>>>>> Dr Victor Lazzarini
>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>> Maynooth University,
>>>>> Maynooth, Co Kildare, Ireland
>>>>> Tel: 00 353 7086936
>>>>> Fax: 00 353 1 7086952
>>>>>
>>>>>> On 11 Sep 2015, at 20:33, Alex Hofmann  wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I was using Csound5 (5.17) on my Raspberry Pi for 2 years.
>>>>>> Now I got a second Raspi and installed Csound6 (6.05) on it. I noticed that Csound6 uses more CPU when running the same patches and causes Buffer underruns and overruns, causing dropouts. (Running the same patch on the same Raspi in python with Csound5 (5.17) works well.)
>>>>>>
>>>>>> Did anyone notice that difference, too?
>>>>>> Is Csound6 more hungry than Csound5 was?
>>>>>>
>>>>>>
>>>>>> Alex
>>>>>> ------------------------------------------------------------------------------
>>>>>> _______________________________________________
>>>>>> Csound-users mailing list
>>>>>> Csound-users@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>>> Send bugs reports to
>>>>>>     https://github.com/csound/csound/issues
>>>>>> Discussions of bugs and features can be posted here
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Csound-users mailing list
>>>>> Csound-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>> Send bugs reports to
>>>>>      https://github.com/csound/csound/issues
>>>>> Discussions of bugs and features can be posted here
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-users mailing list
>>>> Csound-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>> Send bugs reports to
>>>>       https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> Send bugs reports to
>>>        https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>        https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

Date2015-09-12 18:07
FromVictor Lazzarini
SubjectRe: Csound5 or Csound6 on Raspi
1-3% is not much. His figure was more like 100% slower. I think there is something else there
to do with the build.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 12 Sep 2015, at 16:58, jpff  wrote:
> 
> Victor; perhaps we need to have a simpler perf function for low-powered unicore machines?  Would eliminate one source of inefficiency.  Not sure how long it would take to get that right.
> ==John ff
> 
> On Sat, 12 Sep 2015, Victor Lazzarini wrote:
> 
>> Did you check with -O3 is being used when building it?
>> The CPU use looks excessive.
>> =======================
>> Dr Victor Lazzarini
>> Dean of Arts, Celtic Studies and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952
>> 
>>> On 12 Sep 2015, at 16:19, Alex Hofmann  wrote:
>>> 
>>> Hi Victor,
>>> 
>>> thanks for your suggestions, I compiled Csound6 again with the release settings but it didn't change anything.
>>> 
>>> Running a very simple patch (see bottom) in terminal with Csound 6.05 on the Rasip B+, "top" shows 63% CPU load and Csound  produces dropouts with all 15 voices.
>>> The same patch in python with Csound 5.17, runs smoothly with 27.8% CPU load.
>>> 
>>> -----
>>> 
>>> 
>>> -odac:hw:1,0 -iadc:hw:1 -d -+rtaudio=ALSA -b128 -B1024
>>> 
>>> 
>>> 
>>> 0dbfs = 1
>>> sr = 44100
>>> ksmps = 20
>>> nchnls = 2
>>> 0dbfs = 1
>>> 
>>> instr 123
>>> 	prints "Hello World!%n"
>>> 	aSin	oscili p4, p5, 1
>>> 	outs aSin, aSin
>>> endin
>>> 
>>> 
>>> 
>>> f 1 0 1024 10 1
>>> i 123 0 40 0.01 200
>>> i 123 2 40 0.01 400
>>> i 123 4 40 0.01 600
>>> i 123 6 40 0.01 800
>>> i 123 8 40 0.01 1000
>>> i 123 10 40 0.01 1200
>>> i 123 12 40 0.01 1400
>>> i 123 14 40 0.01 1600
>>> i 123 16 40 0.01 1800
>>> i 123 18 40 0.01 2000
>>> i 123 20 40 0.01 2200
>>> i 123 22 40 0.01 2400
>>> i 123 24 40 0.01 2800
>>> i 123 26 40 0.01 3000
>>> i 123 28 40 0.01 3200
>>> 
>>> e
>>> 
>>> 
>>> 
>>> ---
>>> 
>>> Am 12.09.2015 um 16:27 schrieb Victor Lazzarini :
>>> 
>>>> Maybe the settings are not using -03 optimisation flags.If build a release configuration, then these will be set.
>>>> Try running cmake with -DCMAKE_BUILD_TYPE=“Release"
>>>> 
>>>> Regards
>>>> ========================
>>>> Dr Victor Lazzarini
>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>> Maynooth University,
>>>> Maynooth, Co Kildare, Ireland
>>>> Tel: 00 353 7086936
>>>> Fax: 00 353 1 7086952
>>>> 
>>>>> On 12 Sep 2015, at 08:47, Alex Hofmann  wrote:
>>>>> 
>>>>> Hi Victor,
>>>>> 
>>>>> to install Csound6 I followed the Git instructions: https://github.com/csound/csound/blob/develop/BUILD.md#raspberry-pi-standard-distro-
>>>>> Whereas Csound5 PythonAPI I installed via: apt-get
>>>>> 
>>>>> But maybe I messed something up?
>>>>> 
>>>>> Alex
>>>>> 
>>>>> 
>>>>> Am 11.09.2015 um 22:20 schrieb Victor Lazzarini :
>>>>> 
>>>>>> How did you install it? On OSX 6.* is faster than 5.*
>>>>>> ========================
>>>>>> Dr Victor Lazzarini
>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>>> Maynooth University,
>>>>>> Maynooth, Co Kildare, Ireland
>>>>>> Tel: 00 353 7086936
>>>>>> Fax: 00 353 1 7086952
>>>>>> 
>>>>>>> On 11 Sep 2015, at 20:33, Alex Hofmann  wrote:
>>>>>>> 
>>>>>>> Hi,
>>>>>>> 
>>>>>>> I was using Csound5 (5.17) on my Raspberry Pi for 2 years.
>>>>>>> Now I got a second Raspi and installed Csound6 (6.05) on it. I noticed that Csound6 uses more CPU when running the same patches and causes Buffer underruns and overruns, causing dropouts. (Running the same patch on the same Raspi in python with Csound5 (5.17) works well.)
>>>>>>> 
>>>>>>> Did anyone notice that difference, too?
>>>>>>> Is Csound6 more hungry than Csound5 was?
>>>>>>> 
>>>>>>> 
>>>>>>> Alex
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> _______________________________________________
>>>>>>> Csound-users mailing list
>>>>>>> Csound-users@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>>>> Send bugs reports to
>>>>>>>    https://github.com/csound/csound/issues
>>>>>>> Discussions of bugs and features can be posted here
>>>>>> 
>>>>>> 
>>>>>> ------------------------------------------------------------------------------
>>>>>> _______________________________________________
>>>>>> Csound-users mailing list
>>>>>> Csound-users@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>>> Send bugs reports to
>>>>>>     https://github.com/csound/csound/issues
>>>>>> Discussions of bugs and features can be posted here
>>>>> 
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Csound-users mailing list
>>>>> Csound-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>> Send bugs reports to
>>>>>      https://github.com/csound/csound/issues
>>>>> Discussions of bugs and features can be posted here
>>>> 
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-users mailing list
>>>> Csound-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>> Send bugs reports to
>>>>       https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>> 
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> Send bugs reports to
>>>       https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> 
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-09-12 18:19
Fromjpff
SubjectRe: Csound5 or Csound6 on Raspi
AttachmentsNone  None  
I am just gettinf a rPi csound build constructed.
   Should allow some investigation


On Sat, 12 Sep 2015, Victor Lazzarini wrote:

> 1-3% is not much. His figure was more like 100% slower. I think there is something else there
> to do with the build.
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
>> On 12 Sep 2015, at 16:58, jpff  wrote:
>>
>> Victor; perhaps we need to have a simpler perf function for low-powered unicore machines?  Would eliminate one source of inefficiency.  Not sure how long it would take to get that right.
>> ==John ff
>>
>> On Sat, 12 Sep 2015, Victor Lazzarini wrote:
>>
>>> Did you check with -O3 is being used when building it?
>>> The CPU use looks excessive.
>>> =======================
>>> Dr Victor Lazzarini
>>> Dean of Arts, Celtic Studies and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952
>>>
>>>> On 12 Sep 2015, at 16:19, Alex Hofmann  wrote:
>>>>
>>>> Hi Victor,
>>>>
>>>> thanks for your suggestions, I compiled Csound6 again with the release settings but it didn't change anything.
>>>>
>>>> Running a very simple patch (see bottom) in terminal with Csound 6.05 on the Rasip B+, "top" shows 63% CPU load and Csound  produces dropouts with all 15 voices.
>>>> The same patch in python with Csound 5.17, runs smoothly with 27.8% CPU load.
>>>>
>>>> -----
>>>> 
>>>> 
>>>> -odac:hw:1,0 -iadc:hw:1 -d -+rtaudio=ALSA -b128 -B1024
>>>> 
>>>> 
>>>>
>>>> 0dbfs = 1
>>>> sr = 44100
>>>> ksmps = 20
>>>> nchnls = 2
>>>> 0dbfs = 1
>>>>
>>>> instr 123
>>>> 	prints "Hello World!%n"
>>>> 	aSin	oscili p4, p5, 1
>>>> 	outs aSin, aSin
>>>> endin
>>>>
>>>> 
>>>> 
>>>> f 1 0 1024 10 1
>>>> i 123 0 40 0.01 200
>>>> i 123 2 40 0.01 400
>>>> i 123 4 40 0.01 600
>>>> i 123 6 40 0.01 800
>>>> i 123 8 40 0.01 1000
>>>> i 123 10 40 0.01 1200
>>>> i 123 12 40 0.01 1400
>>>> i 123 14 40 0.01 1600
>>>> i 123 16 40 0.01 1800
>>>> i 123 18 40 0.01 2000
>>>> i 123 20 40 0.01 2200
>>>> i 123 22 40 0.01 2400
>>>> i 123 24 40 0.01 2800
>>>> i 123 26 40 0.01 3000
>>>> i 123 28 40 0.01 3200
>>>>
>>>> e
>>>> 
>>>> 
>>>>
>>>> ---
>>>>
>>>> Am 12.09.2015 um 16:27 schrieb Victor Lazzarini :
>>>>
>>>>> Maybe the settings are not using -03 optimisation flags.If build a release configuration, then these will be set.
>>>>> Try running cmake with -DCMAKE_BUILD_TYPE=“Release"
>>>>>
>>>>> Regards
>>>>> ========================
>>>>> Dr Victor Lazzarini
>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>> Maynooth University,
>>>>> Maynooth, Co Kildare, Ireland
>>>>> Tel: 00 353 7086936
>>>>> Fax: 00 353 1 7086952
>>>>>
>>>>>> On 12 Sep 2015, at 08:47, Alex Hofmann  wrote:
>>>>>>
>>>>>> Hi Victor,
>>>>>>
>>>>>> to install Csound6 I followed the Git instructions: https://github.com/csound/csound/blob/develop/BUILD.md#raspberry-pi-standard-distro-
>>>>>> Whereas Csound5 PythonAPI I installed via: apt-get
>>>>>>
>>>>>> But maybe I messed something up?
>>>>>>
>>>>>> Alex
>>>>>>
>>>>>>
>>>>>> Am 11.09.2015 um 22:20 schrieb Victor Lazzarini :
>>>>>>
>>>>>>> How did you install it? On OSX 6.* is faster than 5.*
>>>>>>> ========================
>>>>>>> Dr Victor Lazzarini
>>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>>>> Maynooth University,
>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>> Tel: 00 353 7086936
>>>>>>> Fax: 00 353 1 7086952
>>>>>>>
>>>>>>>> On 11 Sep 2015, at 20:33, Alex Hofmann  wrote:
>>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I was using Csound5 (5.17) on my Raspberry Pi for 2 years.
>>>>>>>> Now I got a second Raspi and installed Csound6 (6.05) on it. I noticed that Csound6 uses more CPU when running the same patches and causes Buffer underruns and overruns, causing dropouts. (Running the same patch on the same Raspi in python with Csound5 (5.17) works well.)
>>>>>>>>
>>>>>>>> Did anyone notice that difference, too?
>>>>>>>> Is Csound6 more hungry than Csound5 was?
>>>>>>>>
>>>>>>>>
>>>>>>>> Alex
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> _______________________________________________
>>>>>>>> Csound-users mailing list
>>>>>>>> Csound-users@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>>>>> Send bugs reports to
>>>>>>>>    https://github.com/csound/csound/issues
>>>>>>>> Discussions of bugs and features can be posted here
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> _______________________________________________
>>>>>>> Csound-users mailing list
>>>>>>> Csound-users@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>>>> Send bugs reports to
>>>>>>>     https://github.com/csound/csound/issues
>>>>>>> Discussions of bugs and features can be posted here
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> _______________________________________________
>>>>>> Csound-users mailing list
>>>>>> Csound-users@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>>> Send bugs reports to
>>>>>>      https://github.com/csound/csound/issues
>>>>>> Discussions of bugs and features can be posted here
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Csound-users mailing list
>>>>> Csound-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>> Send bugs reports to
>>>>>       https://github.com/csound/csound/issues
>>>>> Discussions of bugs and features can be posted here
>>>>
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-users mailing list
>>>> Csound-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>> Send bugs reports to
>>>>       https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> Send bugs reports to
>>>       https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>        https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here
>

Date2015-09-12 19:07
FromVictor Lazzarini
SubjectRe: Csound5 or Csound6 on Raspi
Btw, I have a made a quick test stripping the kperf function to the bare minimum and it did not change much.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 12 Sep 2015, at 18:19, jpff  wrote:
> 
> I am just gettinf a rPi csound build constructed.
>  Should allow some investigation
> 
> 
> On Sat, 12 Sep 2015, Victor Lazzarini wrote:
> 
>> 1-3% is not much. His figure was more like 100% slower. I think there is something else there
>> to do with the build.
>> ========================
>> Dr Victor Lazzarini
>> Dean of Arts, Celtic Studies and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952
>> 
>>> On 12 Sep 2015, at 16:58, jpff  wrote:
>>> 
>>> Victor; perhaps we need to have a simpler perf function for low-powered unicore machines?  Would eliminate one source of inefficiency.  Not sure how long it would take to get that right.
>>> ==John ff
>>> 
>>> On Sat, 12 Sep 2015, Victor Lazzarini wrote:
>>> 
>>>> Did you check with -O3 is being used when building it?
>>>> The CPU use looks excessive.
>>>> =======================
>>>> Dr Victor Lazzarini
>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>> Maynooth University,
>>>> Maynooth, Co Kildare, Ireland
>>>> Tel: 00 353 7086936
>>>> Fax: 00 353 1 7086952
>>>> 
>>>>> On 12 Sep 2015, at 16:19, Alex Hofmann  wrote:
>>>>> 
>>>>> Hi Victor,
>>>>> 
>>>>> thanks for your suggestions, I compiled Csound6 again with the release settings but it didn't change anything.
>>>>> 
>>>>> Running a very simple patch (see bottom) in terminal with Csound 6.05 on the Rasip B+, "top" shows 63% CPU load and Csound  produces dropouts with all 15 voices.
>>>>> The same patch in python with Csound 5.17, runs smoothly with 27.8% CPU load.
>>>>> 
>>>>> -----
>>>>> 
>>>>> 
>>>>> -odac:hw:1,0 -iadc:hw:1 -d -+rtaudio=ALSA -b128 -B1024
>>>>> 
>>>>> 
>>>>> 
>>>>> 0dbfs = 1
>>>>> sr = 44100
>>>>> ksmps = 20
>>>>> nchnls = 2
>>>>> 0dbfs = 1
>>>>> 
>>>>> instr 123
>>>>> 	prints "Hello World!%n"
>>>>> 	aSin	oscili p4, p5, 1
>>>>> 	outs aSin, aSin
>>>>> endin
>>>>> 
>>>>> 
>>>>> 
>>>>> f 1 0 1024 10 1
>>>>> i 123 0 40 0.01 200
>>>>> i 123 2 40 0.01 400
>>>>> i 123 4 40 0.01 600
>>>>> i 123 6 40 0.01 800
>>>>> i 123 8 40 0.01 1000
>>>>> i 123 10 40 0.01 1200
>>>>> i 123 12 40 0.01 1400
>>>>> i 123 14 40 0.01 1600
>>>>> i 123 16 40 0.01 1800
>>>>> i 123 18 40 0.01 2000
>>>>> i 123 20 40 0.01 2200
>>>>> i 123 22 40 0.01 2400
>>>>> i 123 24 40 0.01 2800
>>>>> i 123 26 40 0.01 3000
>>>>> i 123 28 40 0.01 3200
>>>>> 
>>>>> e
>>>>> 
>>>>> 
>>>>> 
>>>>> ---
>>>>> 
>>>>> Am 12.09.2015 um 16:27 schrieb Victor Lazzarini :
>>>>> 
>>>>>> Maybe the settings are not using -03 optimisation flags.If build a release configuration, then these will be set.
>>>>>> Try running cmake with -DCMAKE_BUILD_TYPE=“Release"
>>>>>> 
>>>>>> Regards
>>>>>> ========================
>>>>>> Dr Victor Lazzarini
>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>>> Maynooth University,
>>>>>> Maynooth, Co Kildare, Ireland
>>>>>> Tel: 00 353 7086936
>>>>>> Fax: 00 353 1 7086952
>>>>>> 
>>>>>>> On 12 Sep 2015, at 08:47, Alex Hofmann  wrote:
>>>>>>> 
>>>>>>> Hi Victor,
>>>>>>> 
>>>>>>> to install Csound6 I followed the Git instructions: https://github.com/csound/csound/blob/develop/BUILD.md#raspberry-pi-standard-distro-
>>>>>>> Whereas Csound5 PythonAPI I installed via: apt-get
>>>>>>> 
>>>>>>> But maybe I messed something up?
>>>>>>> 
>>>>>>> Alex
>>>>>>> 
>>>>>>> 
>>>>>>> Am 11.09.2015 um 22:20 schrieb Victor Lazzarini :
>>>>>>> 
>>>>>>>> How did you install it? On OSX 6.* is faster than 5.*
>>>>>>>> ========================
>>>>>>>> Dr Victor Lazzarini
>>>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>>>>> Maynooth University,
>>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>>> Tel: 00 353 7086936
>>>>>>>> Fax: 00 353 1 7086952
>>>>>>>> 
>>>>>>>>> On 11 Sep 2015, at 20:33, Alex Hofmann  wrote:
>>>>>>>>> 
>>>>>>>>> Hi,
>>>>>>>>> 
>>>>>>>>> I was using Csound5 (5.17) on my Raspberry Pi for 2 years.
>>>>>>>>> Now I got a second Raspi and installed Csound6 (6.05) on it. I noticed that Csound6 uses more CPU when running the same patches and causes Buffer underruns and overruns, causing dropouts. (Running the same patch on the same Raspi in python with Csound5 (5.17) works well.)
>>>>>>>>> 
>>>>>>>>> Did anyone notice that difference, too?
>>>>>>>>> Is Csound6 more hungry than Csound5 was?
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> Alex
>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>> _______________________________________________
>>>>>>>>> Csound-users mailing list
>>>>>>>>> Csound-users@lists.sourceforge.net
>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>>>>>> Send bugs reports to
>>>>>>>>>   https://github.com/csound/csound/issues
>>>>>>>>> Discussions of bugs and features can be posted here
>>>>>>>> 
>>>>>>>> 
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> _______________________________________________
>>>>>>>> Csound-users mailing list
>>>>>>>> Csound-users@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>>>>> Send bugs reports to
>>>>>>>>    https://github.com/csound/csound/issues
>>>>>>>> Discussions of bugs and features can be posted here
>>>>>>> 
>>>>>>> 
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> _______________________________________________
>>>>>>> Csound-users mailing list
>>>>>>> Csound-users@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>>>> Send bugs reports to
>>>>>>>     https://github.com/csound/csound/issues
>>>>>>> Discussions of bugs and features can be posted here
>>>>>> 
>>>>>> 
>>>>>> ------------------------------------------------------------------------------
>>>>>> _______________________________________________
>>>>>> Csound-users mailing list
>>>>>> Csound-users@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>>> Send bugs reports to
>>>>>>      https://github.com/csound/csound/issues
>>>>>> Discussions of bugs and features can be posted here
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Csound-users mailing list
>>>>> Csound-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>> Send bugs reports to
>>>>>      https://github.com/csound/csound/issues
>>>>> Discussions of bugs and features can be posted here
>>>> 
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-users mailing list
>>>> Csound-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>> Send bugs reports to
>>>>      https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>>> 
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> Send bugs reports to
>>>       https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> 
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
>> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-09-12 22:13
FromAlex Hofmann
SubjectRe: Csound5 or Csound6 on Raspi
OMG, stupid me, I had a typo in the cmake command, so it wasn't a "release" build, it was a "relese" build. 

Compiling again..now.


Am 12.09.2015 um 17:51 schrieb Victor Lazzarini :

> Did you check with -O3 is being used when building it?
> The CPU use looks excessive.
> =======================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
> 
>> On 12 Sep 2015, at 16:19, Alex Hofmann  wrote:
>> 
>> Hi Victor,
>> 
>> thanks for your suggestions, I compiled Csound6 again with the release settings but it didn't change anything.
>> 
>> Running a very simple patch (see bottom) in terminal with Csound 6.05 on the Rasip B+, "top" shows 63% CPU load and Csound  produces dropouts with all 15 voices.
>> The same patch in python with Csound 5.17, runs smoothly with 27.8% CPU load.
>> 
>> -----
>> 
>> 
>> -odac:hw:1,0 -iadc:hw:1 -d -+rtaudio=ALSA -b128 -B1024
>> 
>> 
>> 
>> 0dbfs = 1
>> sr = 44100
>> ksmps = 20
>> nchnls = 2
>> 0dbfs = 1
>> 
>> instr 123 									
>> 	prints "Hello World!%n" 	   
>> 	aSin	oscili p4, p5, 1 	
>> 	outs aSin, aSin
>> endin
>> 
>> 
>> 
>> f 1 0 1024 10 1
>> i 123 0 40 0.01 200			
>> i 123 2 40 0.01 400
>> i 123 4 40 0.01 600
>> i 123 6 40 0.01 800
>> i 123 8 40 0.01 1000
>> i 123 10 40 0.01 1200
>> i 123 12 40 0.01 1400
>> i 123 14 40 0.01 1600
>> i 123 16 40 0.01 1800
>> i 123 18 40 0.01 2000
>> i 123 20 40 0.01 2200
>> i 123 22 40 0.01 2400
>> i 123 24 40 0.01 2800
>> i 123 26 40 0.01 3000
>> i 123 28 40 0.01 3200
>> 
>> e 	
>> 
>> 
>> 
>> ---
>> 
>> Am 12.09.2015 um 16:27 schrieb Victor Lazzarini :
>> 
>>> Maybe the settings are not using -03 optimisation flags.If build a release configuration, then these will be set.
>>> Try running cmake with -DCMAKE_BUILD_TYPE=“Release" 
>>> 
>>> Regards
>>> ========================
>>> Dr Victor Lazzarini
>>> Dean of Arts, Celtic Studies and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952 
>>> 
>>>> On 12 Sep 2015, at 08:47, Alex Hofmann  wrote:
>>>> 
>>>> Hi Victor,
>>>> 
>>>> to install Csound6 I followed the Git instructions: https://github.com/csound/csound/blob/develop/BUILD.md#raspberry-pi-standard-distro-
>>>> Whereas Csound5 PythonAPI I installed via: apt-get
>>>> 
>>>> But maybe I messed something up?
>>>> 
>>>> Alex
>>>> 
>>>> 
>>>> Am 11.09.2015 um 22:20 schrieb Victor Lazzarini :
>>>> 
>>>>> How did you install it? On OSX 6.* is faster than 5.*
>>>>> ========================
>>>>> Dr Victor Lazzarini
>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>> Maynooth University,
>>>>> Maynooth, Co Kildare, Ireland
>>>>> Tel: 00 353 7086936
>>>>> Fax: 00 353 1 7086952 
>>>>> 
>>>>>> On 11 Sep 2015, at 20:33, Alex Hofmann  wrote:
>>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> I was using Csound5 (5.17) on my Raspberry Pi for 2 years.
>>>>>> Now I got a second Raspi and installed Csound6 (6.05) on it. I noticed that Csound6 uses more CPU when running the same patches and causes Buffer underruns and overruns, causing dropouts. (Running the same patch on the same Raspi in python with Csound5 (5.17) works well.)
>>>>>> 
>>>>>> Did anyone notice that difference, too?
>>>>>> Is Csound6 more hungry than Csound5 was?
>>>>>> 
>>>>>> 
>>>>>> Alex
>>>>>> ------------------------------------------------------------------------------
>>>>>> _______________________________________________
>>>>>> Csound-users mailing list
>>>>>> Csound-users@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>>> Send bugs reports to
>>>>>>    https://github.com/csound/csound/issues
>>>>>> Discussions of bugs and features can be posted here
>>>>> 
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Csound-users mailing list
>>>>> Csound-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>> Send bugs reports to
>>>>>     https://github.com/csound/csound/issues
>>>>> Discussions of bugs and features can be posted here
>>>> 
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-users mailing list
>>>> Csound-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>> Send bugs reports to
>>>>      https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> Send bugs reports to
>>>       https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-09-12 22:22
FromAlex Hofmann
SubjectRe: Csound5 or Csound6 on Raspi
OMG, stupid me, I had a typo in the cmake command, I made a "relese" build.
..compiling again now..

Am 12.09.2015 um 17:51 schrieb Victor Lazzarini :

> Did you check with -O3 is being used when building it?
> The CPU use looks excessive.
> =======================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952 
> 
>> On 12 Sep 2015, at 16:19, Alex Hofmann  wrote:
>> 
>> Hi Victor,
>> 
>> thanks for your suggestions, I compiled Csound6 again with the release settings but it didn't change anything.
>> 
>> Running a very simple patch (see bottom) in terminal with Csound 6.05 on the Rasip B+, "top" shows 63% CPU load and Csound  produces dropouts with all 15 voices.
>> The same patch in python with Csound 5.17, runs smoothly with 27.8% CPU load.
>> 
>> -----
>> 
>> 
>> -odac:hw:1,0 -iadc:hw:1 -d -+rtaudio=ALSA -b128 -B1024
>> 
>> 
>> 
>> 0dbfs = 1
>> sr = 44100
>> ksmps = 20
>> nchnls = 2
>> 0dbfs = 1
>> 
>> instr 123 									
>> 	prints "Hello World!%n" 	   
>> 	aSin	oscili p4, p5, 1 	
>> 	outs aSin, aSin
>> endin
>> 
>> 
>> 
>> f 1 0 1024 10 1
>> i 123 0 40 0.01 200			
>> i 123 2 40 0.01 400
>> i 123 4 40 0.01 600
>> i 123 6 40 0.01 800
>> i 123 8 40 0.01 1000
>> i 123 10 40 0.01 1200
>> i 123 12 40 0.01 1400
>> i 123 14 40 0.01 1600
>> i 123 16 40 0.01 1800
>> i 123 18 40 0.01 2000
>> i 123 20 40 0.01 2200
>> i 123 22 40 0.01 2400
>> i 123 24 40 0.01 2800
>> i 123 26 40 0.01 3000
>> i 123 28 40 0.01 3200
>> 
>> e 	
>> 
>> 
>> 
>> ---
>> 
>> Am 12.09.2015 um 16:27 schrieb Victor Lazzarini :
>> 
>>> Maybe the settings are not using -03 optimisation flags.If build a release configuration, then these will be set.
>>> Try running cmake with -DCMAKE_BUILD_TYPE=“Release" 
>>> 
>>> Regards
>>> ========================
>>> Dr Victor Lazzarini
>>> Dean of Arts, Celtic Studies and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952 
>>> 
>>>> On 12 Sep 2015, at 08:47, Alex Hofmann  wrote:
>>>> 
>>>> Hi Victor,
>>>> 
>>>> to install Csound6 I followed the Git instructions: https://github.com/csound/csound/blob/develop/BUILD.md#raspberry-pi-standard-distro-
>>>> Whereas Csound5 PythonAPI I installed via: apt-get
>>>> 
>>>> But maybe I messed something up?
>>>> 
>>>> Alex
>>>> 
>>>> 
>>>> Am 11.09.2015 um 22:20 schrieb Victor Lazzarini :
>>>> 
>>>>> How did you install it? On OSX 6.* is faster than 5.*
>>>>> ========================
>>>>> Dr Victor Lazzarini
>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>> Maynooth University,
>>>>> Maynooth, Co Kildare, Ireland
>>>>> Tel: 00 353 7086936
>>>>> Fax: 00 353 1 7086952 
>>>>> 
>>>>>> On 11 Sep 2015, at 20:33, Alex Hofmann  wrote:
>>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> I was using Csound5 (5.17) on my Raspberry Pi for 2 years.
>>>>>> Now I got a second Raspi and installed Csound6 (6.05) on it. I noticed that Csound6 uses more CPU when running the same patches and causes Buffer underruns and overruns, causing dropouts. (Running the same patch on the same Raspi in python with Csound5 (5.17) works well.)
>>>>>> 
>>>>>> Did anyone notice that difference, too?
>>>>>> Is Csound6 more hungry than Csound5 was?
>>>>>> 
>>>>>> 
>>>>>> Alex
>>>>>> ------------------------------------------------------------------------------
>>>>>> _______________________________________________
>>>>>> Csound-users mailing list
>>>>>> Csound-users@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>>> Send bugs reports to
>>>>>>    https://github.com/csound/csound/issues
>>>>>> Discussions of bugs and features can be posted here
>>>>> 
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Csound-users mailing list
>>>>> Csound-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>> Send bugs reports to
>>>>>     https://github.com/csound/csound/issues
>>>>> Discussions of bugs and features can be posted here
>>>> 
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-users mailing list
>>>> Csound-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>> Send bugs reports to
>>>>      https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> Send bugs reports to
>>>       https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-09-12 23:14
FromAlex Hofmann
SubjectRe: Csound5 or Csound6 on Raspi
Thanks Victor and John. Yes, the -DCMAKE_BUILD_TYPE="Release", improved things a lot!
I hope I didn't waste your time, I really appreciate your investigations on rpi, although it was my stupid typo causing the problem, sorry.

Alex

Am 12.09.2015 um 23:22 schrieb Alex Hofmann :

> OMG, stupid me, I had a typo in the cmake command, I made a "relese" build.
> ..compiling again now..
> 
> Am 12.09.2015 um 17:51 schrieb Victor Lazzarini :
> 
>> Did you check with -O3 is being used when building it?
>> The CPU use looks excessive.
>> =======================
>> Dr Victor Lazzarini
>> Dean of Arts, Celtic Studies and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952 
>> 
>>> On 12 Sep 2015, at 16:19, Alex Hofmann  wrote:
>>> 
>>> Hi Victor,
>>> 
>>> thanks for your suggestions, I compiled Csound6 again with the release settings but it didn't change anything.
>>> 
>>> Running a very simple patch (see bottom) in terminal with Csound 6.05 on the Rasip B+, "top" shows 63% CPU load and Csound  produces dropouts with all 15 voices.
>>> The same patch in python with Csound 5.17, runs smoothly with 27.8% CPU load.
>>> 
>>> -----
>>> 
>>> 
>>> -odac:hw:1,0 -iadc:hw:1 -d -+rtaudio=ALSA -b128 -B1024
>>> 
>>> 
>>> 
>>> 0dbfs = 1
>>> sr = 44100
>>> ksmps = 20
>>> nchnls = 2
>>> 0dbfs = 1
>>> 
>>> instr 123 									
>>> 	prints "Hello World!%n" 	   
>>> 	aSin	oscili p4, p5, 1 	
>>> 	outs aSin, aSin
>>> endin
>>> 
>>> 
>>> 
>>> f 1 0 1024 10 1
>>> i 123 0 40 0.01 200			
>>> i 123 2 40 0.01 400
>>> i 123 4 40 0.01 600
>>> i 123 6 40 0.01 800
>>> i 123 8 40 0.01 1000
>>> i 123 10 40 0.01 1200
>>> i 123 12 40 0.01 1400
>>> i 123 14 40 0.01 1600
>>> i 123 16 40 0.01 1800
>>> i 123 18 40 0.01 2000
>>> i 123 20 40 0.01 2200
>>> i 123 22 40 0.01 2400
>>> i 123 24 40 0.01 2800
>>> i 123 26 40 0.01 3000
>>> i 123 28 40 0.01 3200
>>> 
>>> e 	
>>> 
>>> 
>>> 
>>> ---
>>> 
>>> Am 12.09.2015 um 16:27 schrieb Victor Lazzarini :
>>> 
>>>> Maybe the settings are not using -03 optimisation flags.If build a release configuration, then these will be set.
>>>> Try running cmake with -DCMAKE_BUILD_TYPE=“Release" 
>>>> 
>>>> Regards
>>>> ========================
>>>> Dr Victor Lazzarini
>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>> Maynooth University,
>>>> Maynooth, Co Kildare, Ireland
>>>> Tel: 00 353 7086936
>>>> Fax: 00 353 1 7086952 
>>>> 
>>>>> On 12 Sep 2015, at 08:47, Alex Hofmann  wrote:
>>>>> 
>>>>> Hi Victor,
>>>>> 
>>>>> to install Csound6 I followed the Git instructions: https://github.com/csound/csound/blob/develop/BUILD.md#raspberry-pi-standard-distro-
>>>>> Whereas Csound5 PythonAPI I installed via: apt-get
>>>>> 
>>>>> But maybe I messed something up?
>>>>> 
>>>>> Alex
>>>>> 
>>>>> 
>>>>> Am 11.09.2015 um 22:20 schrieb Victor Lazzarini :
>>>>> 
>>>>>> How did you install it? On OSX 6.* is faster than 5.*
>>>>>> ========================
>>>>>> Dr Victor Lazzarini
>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>>> Maynooth University,
>>>>>> Maynooth, Co Kildare, Ireland
>>>>>> Tel: 00 353 7086936
>>>>>> Fax: 00 353 1 7086952 
>>>>>> 
>>>>>>> On 11 Sep 2015, at 20:33, Alex Hofmann  wrote:
>>>>>>> 
>>>>>>> Hi,
>>>>>>> 
>>>>>>> I was using Csound5 (5.17) on my Raspberry Pi for 2 years.
>>>>>>> Now I got a second Raspi and installed Csound6 (6.05) on it. I noticed that Csound6 uses more CPU when running the same patches and causes Buffer underruns and overruns, causing dropouts. (Running the same patch on the same Raspi in python with Csound5 (5.17) works well.)
>>>>>>> 
>>>>>>> Did anyone notice that difference, too?
>>>>>>> Is Csound6 more hungry than Csound5 was?
>>>>>>> 
>>>>>>> 
>>>>>>> Alex
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> _______________________________________________
>>>>>>> Csound-users mailing list
>>>>>>> Csound-users@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>>>> Send bugs reports to
>>>>>>>   https://github.com/csound/csound/issues
>>>>>>> Discussions of bugs and features can be posted here
>>>>>> 
>>>>>> 
>>>>>> ------------------------------------------------------------------------------
>>>>>> _______________________________________________
>>>>>> Csound-users mailing list
>>>>>> Csound-users@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>>> Send bugs reports to
>>>>>>    https://github.com/csound/csound/issues
>>>>>> Discussions of bugs and features can be posted here
>>>>> 
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Csound-users mailing list
>>>>> Csound-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>> Send bugs reports to
>>>>>     https://github.com/csound/csound/issues
>>>>> Discussions of bugs and features can be posted here
>>>> 
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-users mailing list
>>>> Csound-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>> Send bugs reports to
>>>>      https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>> 
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> Send bugs reports to
>>>      https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> 
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-09-12 23:17
FromVictor Lazzarini
SubjectRe: Csound5 or Csound6 on Raspi
We'd better add this to the instructions. 

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 12 Sep 2015, at 23:14, Alex Hofmann  wrote:
> 
> Thanks Victor and John. Yes, the -DCMAKE_BUILD_TYPE="Release", improved things a lot!
> I hope I didn't waste your time, I really appreciate your investigations on rpi, although it was my stupid typo causing the problem, sorry.
> 
> Alex
> 
>> Am 12.09.2015 um 23:22 schrieb Alex Hofmann :
>> 
>> OMG, stupid me, I had a typo in the cmake command, I made a "relese" build.
>> ..compiling again now..
>> 
>>> Am 12.09.2015 um 17:51 schrieb Victor Lazzarini :
>>> 
>>> Did you check with -O3 is being used when building it?
>>> The CPU use looks excessive.
>>> =======================
>>> Dr Victor Lazzarini
>>> Dean of Arts, Celtic Studies and Philosophy,
>>> Maynooth University,
>>> Maynooth, Co Kildare, Ireland
>>> Tel: 00 353 7086936
>>> Fax: 00 353 1 7086952 
>>> 
>>>> On 12 Sep 2015, at 16:19, Alex Hofmann  wrote:
>>>> 
>>>> Hi Victor,
>>>> 
>>>> thanks for your suggestions, I compiled Csound6 again with the release settings but it didn't change anything.
>>>> 
>>>> Running a very simple patch (see bottom) in terminal with Csound 6.05 on the Rasip B+, "top" shows 63% CPU load and Csound  produces dropouts with all 15 voices.
>>>> The same patch in python with Csound 5.17, runs smoothly with 27.8% CPU load.
>>>> 
>>>> -----
>>>> 
>>>> 
>>>> -odac:hw:1,0 -iadc:hw:1 -d -+rtaudio=ALSA -b128 -B1024
>>>> 
>>>> 
>>>> 
>>>> 0dbfs = 1
>>>> sr = 44100
>>>> ksmps = 20
>>>> nchnls = 2
>>>> 0dbfs = 1
>>>> 
>>>> instr 123                                    
>>>>    prints "Hello World!%n"       
>>>>    aSin    oscili p4, p5, 1    
>>>>    outs aSin, aSin
>>>> endin
>>>> 
>>>> 
>>>> 
>>>> f 1 0 1024 10 1
>>>> i 123 0 40 0.01 200            
>>>> i 123 2 40 0.01 400
>>>> i 123 4 40 0.01 600
>>>> i 123 6 40 0.01 800
>>>> i 123 8 40 0.01 1000
>>>> i 123 10 40 0.01 1200
>>>> i 123 12 40 0.01 1400
>>>> i 123 14 40 0.01 1600
>>>> i 123 16 40 0.01 1800
>>>> i 123 18 40 0.01 2000
>>>> i 123 20 40 0.01 2200
>>>> i 123 22 40 0.01 2400
>>>> i 123 24 40 0.01 2800
>>>> i 123 26 40 0.01 3000
>>>> i 123 28 40 0.01 3200
>>>> 
>>>> e    
>>>> 
>>>> 
>>>> 
>>>> ---
>>>> 
>>>>> Am 12.09.2015 um 16:27 schrieb Victor Lazzarini :
>>>>> 
>>>>> Maybe the settings are not using -03 optimisation flags.If build a release configuration, then these will be set.
>>>>> Try running cmake with -DCMAKE_BUILD_TYPE=“Release" 
>>>>> 
>>>>> Regards
>>>>> ========================
>>>>> Dr Victor Lazzarini
>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>> Maynooth University,
>>>>> Maynooth, Co Kildare, Ireland
>>>>> Tel: 00 353 7086936
>>>>> Fax: 00 353 1 7086952 
>>>>> 
>>>>>> On 12 Sep 2015, at 08:47, Alex Hofmann  wrote:
>>>>>> 
>>>>>> Hi Victor,
>>>>>> 
>>>>>> to install Csound6 I followed the Git instructions: https://github.com/csound/csound/blob/develop/BUILD.md#raspberry-pi-standard-distro-
>>>>>> Whereas Csound5 PythonAPI I installed via: apt-get
>>>>>> 
>>>>>> But maybe I messed something up?
>>>>>> 
>>>>>> Alex
>>>>>> 
>>>>>> 
>>>>>>> Am 11.09.2015 um 22:20 schrieb Victor Lazzarini :
>>>>>>> 
>>>>>>> How did you install it? On OSX 6.* is faster than 5.*
>>>>>>> ========================
>>>>>>> Dr Victor Lazzarini
>>>>>>> Dean of Arts, Celtic Studies and Philosophy,
>>>>>>> Maynooth University,
>>>>>>> Maynooth, Co Kildare, Ireland
>>>>>>> Tel: 00 353 7086936
>>>>>>> Fax: 00 353 1 7086952 
>>>>>>> 
>>>>>>>> On 11 Sep 2015, at 20:33, Alex Hofmann  wrote:
>>>>>>>> 
>>>>>>>> Hi,
>>>>>>>> 
>>>>>>>> I was using Csound5 (5.17) on my Raspberry Pi for 2 years.
>>>>>>>> Now I got a second Raspi and installed Csound6 (6.05) on it. I noticed that Csound6 uses more CPU when running the same patches and causes Buffer underruns and overruns, causing dropouts. (Running the same patch on the same Raspi in python with Csound5 (5.17) works well.)
>>>>>>>> 
>>>>>>>> Did anyone notice that difference, too?
>>>>>>>> Is Csound6 more hungry than Csound5 was?
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Alex
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> _______________________________________________
>>>>>>>> Csound-users mailing list
>>>>>>>> Csound-users@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>>>>> Send bugs reports to
>>>>>>>>  https://github.com/csound/csound/issues
>>>>>>>> Discussions of bugs and features can be posted here
>>>>>>> 
>>>>>>> 
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> _______________________________________________
>>>>>>> Csound-users mailing list
>>>>>>> Csound-users@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>>>> Send bugs reports to
>>>>>>>   https://github.com/csound/csound/issues
>>>>>>> Discussions of bugs and features can be posted here
>>>>>> 
>>>>>> 
>>>>>> ------------------------------------------------------------------------------
>>>>>> _______________________________________________
>>>>>> Csound-users mailing list
>>>>>> Csound-users@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>>> Send bugs reports to
>>>>>>    https://github.com/csound/csound/issues
>>>>>> Discussions of bugs and features can be posted here
>>>>> 
>>>>> 
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Csound-users mailing list
>>>>> Csound-users@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>>> Send bugs reports to
>>>>>     https://github.com/csound/csound/issues
>>>>> Discussions of bugs and features can be posted here
>>>> 
>>>> ------------------------------------------------------------------------------
>>>> _______________________________________________
>>>> Csound-users mailing list
>>>> Csound-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>>> Send bugs reports to
>>>>     https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Csound-users mailing list
>>> Csound-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-users
>>> Send bugs reports to
>>>      https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> 
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Csound-users mailing list
>> Csound-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-users
>> Send bugs reports to
>>       https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-09-12 23:40
Fromjpff
SubjectRe: Csound5 or Csound6 on Raspi
Now I have errors


../libcsound64.so.6.0: undefined reference to `clock_gettime'

Presumably amissing lirary?


------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-09-13 00:01
FromVictor Lazzarini
SubjectRe: Csound5 or Csound6 on Raspi
It looks like the new clock opcode I added. That should be a linux function.

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

> On 12 Sep 2015, at 23:40, jpff  wrote:
> 
> Now I have errors
> 
> 
> ../libcsound64.so.6.0: undefined reference to `clock_gettime'
> 
> Presumably amissing lirary?
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-users mailing list
> Csound-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-users
> Send bugs reports to
>        https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

------------------------------------------------------------------------------
_______________________________________________
Csound-users mailing list
Csound-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-users
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here