Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Profiling csound -- revised again

Date2008-04-23 21:40
FromMichael Gogins
SubjectRe: [Cs-dev] Profiling csound -- revised again
You are not treading on my toes. I welcome a second pair of eyes and hands on this issue. Also, I do not have valgrind.

Do you have any thoughts on my email about parallel rendering?

Regards,
Mike



-----Original Message-----
>From: jpff 
>Sent: Apr 23, 2008 4:33 PM
>To: Developer discussions 
>Cc: csound-devel@lists.sourceforge.net
>Subject: Re: [Cs-dev] Profiling csound -- revised again
>
>Apologies if I seemed to tread on your toes.  I had a rail trip to
>London and spent the time on the train looking at valgrind output.
>And then again on the way back -- got about 0.5% improvement in each
>direction.
>
>OT...the trip was to the opera, to see The Minotaur (third performance
>at Royal Opera House), Harry Birtwistle's new work.  14 killings and
>one rape on stage, but a great experience.  Still trying to digest it
>all.  But then I love opera.
>
>==John ffitch
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
>Don't miss this year's exciting event. There's still time to save $100. 
>Use priority code J8TL2D2. 
>http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-04-24 11:30
Fromjpff
SubjectRe: [Cs-dev] Profiling csound -- revised again
Regarding parallel Csound, I was designing a system on the bike last
week.  If/when I get a free gap I wanted to try the following attempt
at multi-core.

If an instrument does not access globals or zak then we can have a
small group of worker threads that run instruments in parallel.  This
could be policed with a small change to the parser.  However there is
a flaw -- out is in effect a global access.  So as an experiment
replace outs with a version that checks a semaphore, ignore the
zak/globals for now, and see if there is any performance gain. This
seems a simple investment.

I am convinced that the solution lies in compiler-time analysis.  If
one breaks it all down to dataflow level the overheads dominate --
that seems to be the lesson of Midas.

I will read Mike's message more carefully soon -- drowning in e-mail
(mainly from students who have to hand in their dissertation next
Monday)

==John ffitch

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net