Csound Csound-dev Csound-tekno Search About

[Cs-dev] Improving multicore csound

Date2012-08-03 12:22
Fromjohn ffitch
Subject[Cs-dev] Improving multicore csound
Some time back Michael reported the results of profiling the multicore
system.  I know I have not responded, but I have been worrying!

Yesterday afternoon I spent 3 hours with a friend and ex-student, took
his PhD this summer.  Most of the time we discussed parallel csound of
which he knew the basic scheme.  Great fun but hard work!

The bottom line is we have a new design for the dispatcher, no memory
use except when instruments start and stop (think I can minimise that
as well...) and almost no locking.  Based on ideas from SAT solvers it
uses watch lists rather than search and consumption of the DAG.  There
is one possible deadlock in the scheme but we think we have an
avoidance strategy; my friend works on validation/verification etc and
so we hope to get the code proven deadlock-free.

No code as yet just a design and a photograph of the white board.  I
hope to start the coding this weekend, probably as a standalone test
program

If you (any of you) want to know more I can try to explain but it
might be better to await the code?  Not easy to write I suspect.  Will
report more if/when I get there.

Friend had a 8am video meeting this morning so I do not expect his
version of the notes today.

==John ffitch

------------------------------------------------------------------------------
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-08-06 09:29
FromOeyvind Brandtsegg
SubjectRe: [Cs-dev] Improving multicore csound
Excellent news, looking forward to the further developments of this.
best
Oeyvind

2012/8/3 john ffitch :
> Some time back Michael reported the results of profiling the multicore
> system.  I know I have not responded, but I have been worrying!
>
> Yesterday afternoon I spent 3 hours with a friend and ex-student, took
> his PhD this summer.  Most of the time we discussed parallel csound of
> which he knew the basic scheme.  Great fun but hard work!
>
> The bottom line is we have a new design for the dispatcher, no memory
> use except when instruments start and stop (think I can minimise that
> as well...) and almost no locking.  Based on ideas from SAT solvers it
> uses watch lists rather than search and consumption of the DAG.  There
> is one possible deadlock in the scheme but we think we have an
> avoidance strategy; my friend works on validation/verification etc and
> so we hope to get the code proven deadlock-free.
>
> No code as yet just a design and a photograph of the white board.  I
> hope to start the coding this weekend, probably as a standalone test
> program
>
> If you (any of you) want to know more I can try to explain but it
> might be better to await the code?  Not easy to write I suspect.  Will
> report more if/when I get there.
>
> Friend had a 8am video meeting this morning so I do not expect his
> version of the notes today.
>
> ==John ffitch
>
> ------------------------------------------------------------------------------
> 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