Hello list
Im pushing a Mac quite a lot with image analysis + audio and id like
to know if there is a simple way to use efficiently the
multiprocessors.
Ive read through a recent paper by Miller concerning multiprocessing,
but is there somewhere a manual :) ? Something practical for a basic
user ?
Would running two instances of PD (one processing image and the other
sound, with some internal bus link) be a good trick ?
Anyone gone along this way ?
Thanks
JM
hello,
you can use multiple pd instance, or use pd~ objects. This 2 solution aimed to have 2 (or more) pd running. the 2nd solution is great since all pd instance are synchronized at audio rate. The 1st is better if some instances can slow down, so that it did not slow the others.
The main bottleneck is the communication between this process. for audio communication, prefer pd~ solution. for huge data communication, i don't find both approach very good. for image communication, i successfully use pix_share_read and pix_share_write object (for both solution).
cheers Cyrille
Le 30/08/2011 11:11, Jean-Marie Adrien a écrit :
Hello list Im pushing a Mac quite a lot with image analysis + audio and id like to know if there is a simple way to use efficiently the multiprocessors. Ive read through a recent paper by Miller concerning multiprocessing, but is there somewhere a manual :) ? Something practical for a basic user ? Would running two instances of PD (one processing image and the other sound, with some internal bus link) be a good trick ? Anyone gone along this way ? Thanks JM
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On OSX you should make the shm settings much larger. OSX still has the original values (~4MB) from the original mid-80s NextStep.
On Tue, Aug 30, 2011 at 5:25 AM, cyrille henry ch@chnry.net wrote:
hello,
you can use multiple pd instance, or use pd~ objects. This 2 solution aimed to have 2 (or more) pd running. the 2nd solution is great since all pd instance are synchronized at audio rate. The 1st is better if some instances can slow down, so that it did not slow the others.
The main bottleneck is the communication between this process. for audio communication, prefer pd~ solution. for huge data communication, i don't find both approach very good. for image communication, i successfully use pix_share_read and pix_share_write object (for both solution).
cheers Cyrille
Le 30/08/2011 11:11, Jean-Marie Adrien a écrit :
Hello list
Im pushing a Mac quite a lot with image analysis + audio and id like to know if there is a simple way to use efficiently the multiprocessors. Ive read through a recent paper by Miller concerning multiprocessing, but is there somewhere a manual :) ? Something practical for a basic user ? Would running two instances of PD (one processing image and the other sound, with some internal bus link) be a good trick ? Anyone gone along this way ? Thanks JM
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
Thanks cyrille. I discover the wheel once more :) jm
Le 30 août 11 à 11:25, cyrille henry a écrit :
hello,
you can use multiple pd instance, or use pd~ objects. This 2 solution aimed to have 2 (or more) pd running. the 2nd solution is great since all pd instance are synchronized at
audio rate. The 1st is better if some instances can slow down, so that it did
not slow the others.The main bottleneck is the communication between this process. for audio communication, prefer pd~ solution. for huge data communication, i don't find both approach very good. for image communication, i successfully use pix_share_read and
pix_share_write object (for both solution).cheers Cyrille
Le 30/08/2011 11:11, Jean-Marie Adrien a écrit :
Hello list Im pushing a Mac quite a lot with image analysis + audio and id
like to know if there is a simple way to use efficiently the
multiprocessors. Ive read through a recent paper by Miller concerning
multiprocessing, but is there somewhere a manual :) ? Something
practical for a basic user ? Would running two instances of PD (one processing image and the
other sound, with some internal bus link) be a good trick ? Anyone gone along this way ? Thanks JM
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list