Csound Csound-dev Csound-tekno Search About

[Cs-dev] Multicore - Change use of csound->pds and csound->ids

Date2012-11-01 22:11
FromSteven Yi
Subject[Cs-dev] Multicore - Change use of csound->pds and csound->ids
AttachmentsNone  None  
Hi All,

Just to get some conversation going, I was looking at CS6 today.  I decided to run a project of mine that's pretty heavy to compile and ran it with -j4 which caused a segfault.  It crashed out in useropcd2, having to do with use of csound->pds.  I assume it has to do with that global spot being overwritten by multiple threads.  Even if not, I think we need to remove the use of csound->pds and csound->ids to do i-pass and k-pass to remove a point of contention for multithreading.

I'm still trying to get my bearings again with CS6 and am looking through some notes as well as doing some brainstorming. I'll write back here sometime when I've collected them into good list. 

Thanks!
steven


Date2012-11-02 01:59
FromMichael Gogins
SubjectRe: [Cs-dev] Multicore - Change use of csound->pds and csound->ids
AttachmentsNone  None  
I've been looking at this in Csound 5 and have identified some real problems in the PARCS branch. John ffitch has sent on to me some of his notes on how this can be cleaned up. I've been planning to do just that. I will forward to you what he sent to me.

Best,
Mike


On Thu, Nov 1, 2012 at 6:11 PM, Steven Yi <stevenyi@gmail.com> wrote:
Hi All,

Just to get some conversation going, I was looking at CS6 today.  I decided to run a project of mine that's pretty heavy to compile and ran it with -j4 which caused a segfault.  It crashed out in useropcd2, having to do with use of csound->pds.  I assume it has to do with that global spot being overwritten by multiple threads.  Even if not, I think we need to remove the use of csound->pds and csound->ids to do i-pass and k-pass to remove a point of contention for multithreading.

I'm still trying to get my bearings again with CS6 and am looking through some notes as well as doing some brainstorming. I'll write back here sometime when I've collected them into good list. 

Thanks!
steven


------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

Date2012-11-02 09:25
FromVictor Lazzarini
SubjectRe: [Cs-dev] Multicore - Change use of csound->pds and csound->ids
AttachmentsNone  None  
Is PARCS a branch now? Last time I looked the code was fully integrated into the production version.
On 2 Nov 2012, at 01:59, Michael Gogins wrote:

I've been looking at this in Csound 5 and have identified some real problems in the PARCS branch. John ffitch has sent on to me some of his notes on how this can be cleaned up. I've been planning to do just that. I will forward to you what he sent to me.

Best,
Mike


On Thu, Nov 1, 2012 at 6:11 PM, Steven Yi <stevenyi@gmail.com> wrote:
Hi All,

Just to get some conversation going, I was looking at CS6 today.  I decided to run a project of mine that's pretty heavy to compile and ran it with -j4 which caused a segfault.  It crashed out in useropcd2, having to do with use of csound->pds.  I assume it has to do with that global spot being overwritten by multiple threads.  Even if not, I think we need to remove the use of csound->pds and csound->ids to do i-pass and k-pass to remove a point of contention for multithreading.

I'm still trying to get my bearings again with CS6 and am looking through some notes as well as doing some brainstorming. I'll write back here sometime when I've collected them into good list. 

Thanks!
steven


------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




Date2012-11-02 13:15
FromMichael Gogins
SubjectRe: [Cs-dev] Multicore - Change use of csound->pds and csound->ids
AttachmentsNone  None  
I misspoke. I know the code is in the main branch, I should have said "PARCS code" not "PARCS branch."

Regards,
Mike


On Fri, Nov 2, 2012 at 5:25 AM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Is PARCS a branch now? Last time I looked the code was fully integrated into the production version.

On 2 Nov 2012, at 01:59, Michael Gogins wrote:

I've been looking at this in Csound 5 and have identified some real problems in the PARCS branch. John ffitch has sent on to me some of his notes on how this can be cleaned up. I've been planning to do just that. I will forward to you what he sent to me.

Best,
Mike


On Thu, Nov 1, 2012 at 6:11 PM, Steven Yi <stevenyi@gmail.com> wrote:
Hi All,

Just to get some conversation going, I was looking at CS6 today.  I decided to run a project of mine that's pretty heavy to compile and ran it with -j4 which caused a segfault.  It crashed out in useropcd2, having to do with use of csound->pds.  I assume it has to do with that global spot being overwritten by multiple threads.  Even if not, I think we need to remove the use of csound->pds and csound->ids to do i-pass and k-pass to remove a point of contention for multithreading.

I'm still trying to get my bearings again with CS6 and am looking through some notes as well as doing some brainstorming. I'll write back here sometime when I've collected them into good list. 

Thanks!
steven


------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com