[Csnd] CsoundQT multicore, threads, and new parser options question
Date | 2012-12-30 21:04 |
From | John Colgrove |
Subject | [Csnd] CsoundQT multicore, threads, and new parser options question |
Is there any point in checking any of these? I do have a multicore processor so if I do check the multicore option, what do I set the threads amount to? I have a 2.4 GHz intel i7 processor on my mac. Also what is the 'Use new parser' option good for? -- View this message in context: http://csound.1045644.n5.nabble.com/CsoundQT-multicore-threads-and-new-parser-options-question-tp5719096.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2012-12-31 04:03 |
From | Michael Gogins |
Subject | Re: [Csnd] CsoundQT multicore, threads, and new parser options question |
What version of Csound are you using? This code is still experimental and not really finished but I will explain it anyway. You should set the thread count to the number of physical central processing units(cores) on your computer. The issue is complicated by Intel's "hyperthreading" technology which runs two CPU threads on one CPU. My testing showed this does no good for Csound. I myself have an Intel i7 with 4 physical cores so I use -j4.
At the moment, multithreading costs more than it is worth unless you have extremely compute-intensive instruments that tend to run multiple instances for reasonably long times. In those cases however it can provide real speedups. We are working on getting some unnecessary inefficiencies out of the multi-threading code. When that is done I think most pieces will show speedups with multi-threading.
Hope this helps, Mike On Sun, Dec 30, 2012 at 4:04 PM, John Colgrove <alpha.omega23@ymail.com> wrote: Is there any point in checking any of these? I do have a multicore processor Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot com |
Date | 2013-01-01 21:51 |
From | John Colgrove |
Subject | [Csnd] Re: CsoundQT multicore, threads, and new parser options question |
Michael Gogins-2 wrote > What version of Csound are you using? I'm using 5.18.031. I probably won't do anything with the multithreading option for now if it's still being worked on. -- View this message in context: http://csound.1045644.n5.nabble.com/CsoundQT-multicore-threads-and-new-parser-options-question-tp5719096p5719123.html Sent from the Csound - General mailing list archive at Nabble.com. |