Author |
Message |
BobTheDog
Joined: Feb 28, 2005 Posts: 4044 Location: England
Audio files: 32
G2 patch files: 15
|
Posted: Fri May 27, 2011 12:46 pm Post subject:
Multiple cores/processors on OS X |
|
|
Hi Guys,
Since I have got the new rather spiffing SuperCollider book I have started actually learning SuperCollider.
I have started running out of juice on a single core. I understand I can run multiple servers and load balance between these servers but this is a bit of a pain.
Is there a plan to get the server to run over multiple cores/processors?
Also is the server code also open source?
Thanks for any help
Andy |
|
Back to top
|
|
|
dewdrop_world
Joined: Aug 28, 2006 Posts: 858 Location: Guangzhou, China
Audio files: 4
|
Posted: Thu Jun 09, 2011 7:39 am Post subject:
Re: Multiple cores/processors on OS X |
|
|
BobTheDog wrote: | Hi Guys,
Since I have got the new rather spiffing SuperCollider book I have started actually learning SuperCollider.
I have started running out of juice on a single core. I understand I can run multiple servers and load balance between these servers but this is a bit of a pain.
Is there a plan to get the server to run over multiple cores/processors? |
The latest sources (3.5 development version), available from the git repository at sourceforge, include a newer server called "supernova," which can distribute processing onto multiple cores. If you create a ParGroup (instead of a regular Group), it tells the server that all the nodes inside (its immediate children) don't have any signal dependencies and could be calculated in any order, including parallel-ly. Normal groups calculate in sequence, as in the standard scsynth. Regular groups can be placed inside ParGroups, to have sequentially-executing chains on different processors, and ParGroups can go inside regular groups (where everything inside the ParGroup has to finish, whether distributed over cores or not, before advancing to the next node in sequence).
It's still in development so there are some limitations. I think the sc3-plugins pack isn't ready for it yet (but I could be wrong about that). None of the Mac-using developers has had time to write the CoreAudio stuff for it, so for the time being, you have to use Jack OSX. But I'm told it does work in OSX with Jack. There's something else about rebuilding the plugins (ugens) for supernova... don't remember exactly.
Not packaged so you'll have to compile from sources yourself. Watch the cmake options carefully -- 3.5 also introduces Qt for GUIs, so if you don't want to have to install Qt's developer libraries, you'll have to tell cmake to disable Qt -- "cmake -DSC_QT=OFF .." from README OSX.
Quote: | Also is the server code also open source? |
All of SC's code is open source.
James _________________ ddw online: http://www.dewdrop-world.net
sc3 online: http://supercollider.sourceforge.net |
|
Back to top
|
|
|
BobTheDog
Joined: Feb 28, 2005 Posts: 4044 Location: England
Audio files: 32
G2 patch files: 15
|
Posted: Sun Jun 12, 2011 2:41 pm Post subject:
|
|
|
Hi James,
Thanks for the very informative post.
I think I have built 3.5, I built the latest dev build a couple of weeks ago as I was having issues with xcode 4 and the normal branch. Then I got sidetracked with the iPad build and forgot about it!
I will have a look again.
Cheers
Andy |
|
Back to top
|
|
|
|