Csound Csound-dev Csound-tekno Search About

[Cs-dev] inter-opcode communication and multicore

Date2012-07-25 23:13
FromOeyvind Brandtsegg
Subject[Cs-dev] inter-opcode communication and multicore
Hello,

We recently added functionality for getting and setting some internal
parameters (mask indices) of partikkel.
This is done in a similar manner as the earlier communications between
partikkel and partikkelsync, by using an instance id as an optional
argument to partikkel.

Now, with multicore processing, this kind of inter-opcode
communication may lead to indeterministic results, if for example
partikkel and partikkelset are run on separate processors/cores.
I have pushed the latest changes to repo, so that it may be easier to
discuss how this best can be solved.
It is also a bit unclear for me what the status of multicore Csound
is, is it still considered experimental? We could not find
documentation on the multicore implementation details.

best
Oeyvind

-- 

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-07-26 07:21
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] inter-opcode communication and multicore
The eay way is to set the TW and TR bits in the OENTRY line.  A little
overkill but probably OK.  Could use one of the pther bits.

Descriptions of implementation are in ICMC and LAC conferences mainly.  I
guess I need top add so noes somewhere

==John

 Hello,
>
> We recently added functionality for getting and setting some internal
> parameters (mask indices) of partikkel.
> This is done in a similar manner as the earlier communications between
> partikkel and partikkelsync, by using an instance id as an optional
> argument to partikkel.
>
> Now, with multicore processing, this kind of inter-opcode
> communication may lead to indeterministic results, if for example
> partikkel and partikkelset are run on separate processors/cores.
> I have pushed the latest changes to repo, so that it may be easier to
> discuss how this best can be solved.
> It is also a bit unclear for me what the status of multicore Csound
> is, is it still considered experimental? We could not find
> documentation on the multicore implementation details.
>
> best
> Oeyvind
>
> --
>
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
>
> http://flyndresang.no/
> http://www.partikkelaudio.com/
> http://soundcloud.com/brandtsegg
> http://soundcloud.com/t-emp
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-07-28 00:15
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] inter-opcode communication and multicore
AttachmentsNone  None  

Hmm. Some more details about these bits, and the effect of setting them would be nice.
Best, Oeyvind

Den 26. juli 2012 08:22 skrev <jpff@cs.bath.ac.uk> følgende:

The eay way is to set the TW and TR bits in the OENTRY line.  A little
overkill but probably OK.  Could use one of the pther bits.

Descriptions of implementation are in ICMC and LAC conferences mainly.  I
guess I need top add so noes somewhere

==John

 Hello,
>
> We recently added functionality for getting and setting some internal
> parameters (mask indices) of partikkel.
> This is done in a similar manner as the earlier communications between
> partikkel and partikkelsync, by using an instance id as an optional
> argument to partikkel.
>
> Now, with multicore processing, this kind of inter-opcode
> communication may lead to indeterministic results, if for example
> partikkel and partikkelset are run on separate processors/cores.
> I have pushed the latest changes to repo, so that it may be easier to
> discuss how this best can be solved.
> It is also a bit unclear for me what the status of multicore Csound
> is, is it still considered experimental? We could not find
> documentation on the multicore implementation details.
>
> best
> Oeyvind
>
> --
>
> Oeyvind Brandtsegg
> Professor of Music Technology
> NTNU
> 7491 Trondheim
> Norway
> Cell: +47 92 203 205
>
> http://flyndresang.no/
> http://www.partikkelaudio.com/
> http://soundcloud.com/brandtsegg
> http://soundcloud.com/t-emp
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Date2012-07-29 00:26
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] inter-opcode communication and multicore
Hmm. Some more details about these bits, and the effect of setting
them would be nice.

best,
Oeyvind

2012/7/26  :
>
> The eay way is to set the TW and TR bits in the OENTRY line.  A little
> overkill but probably OK.  Could use one of the pther bits.
>
> Descriptions of implementation are in ICMC and LAC conferences mainly.  I
> guess I need top add so noes somewhere
>
> ==John
>
>  Hello,
>>
>> We recently added functionality for getting and setting some internal
>> parameters (mask indices) of partikkel.
>> This is done in a similar manner as the earlier communications between
>> partikkel and partikkelsync, by using an instance id as an optional
>> argument to partikkel.
>>
>> Now, with multicore processing, this kind of inter-opcode
>> communication may lead to indeterministic results, if for example
>> partikkel and partikkelset are run on separate processors/cores.
>> I have pushed the latest changes to repo, so that it may be easier to
>> discuss how this best can be solved.
>> It is also a bit unclear for me what the status of multicore Csound
>> is, is it still considered experimental? We could not find
>> documentation on the multicore implementation details.
>>
>> best
>> Oeyvind
>>
>> --
>>
>> Oeyvind Brandtsegg
>> Professor of Music Technology
>> NTNU
>> 7491 Trondheim
>> Norway
>> Cell: +47 92 203 205
>>
>> http://flyndresang.no/
>> http://www.partikkelaudio.com/
>> http://soundcloud.com/brandtsegg
>> http://soundcloud.com/t-emp
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel



-- 

Oeyvind Brandtsegg
Professor of Music Technology
NTNU
7491 Trondheim
Norway
Cell: +47 92 203 205

http://flyndresang.no/
http://www.partikkelaudio.com/
http://soundcloud.com/brandtsegg
http://soundcloud.com/t-emp

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-07-29 10:33
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] inter-opcode communication and multicore
> Hmm. Some more details about these bits, and the effect of setting
> them would be nice.
>
> best,
> Oeyvind
>

Will try to write it down later today.  It all seems rather obvious to my
contorted mind so hard to explain ......



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net