[PD] pd and multi-core processors
tim vets
timvets at gmail.com
Tue Apr 6 11:39:18 CEST 2010
2010/4/5 cyrille henry <ch at chnry.net>
>
>
> tim vets a écrit :
>
>
>>
>> tim vets a écrit :
>>
>> has anyone been using pd~ successfully ?
>>
>> yes
>>
>> I am trying it out, but i get very poor results.
>> It seems like a patch loaded with pd~ is a lot heavier than the
>> same loaded as a regular abstraction (DIO errors, see also my
>> message "pd~ and DIO errors").
>> I assumed it would run on another processor core...but does it?
>>
>> if your OS can deal with multiple CPU, then it should run the pd and
>> pd~ process on 2 different core.
>>
>>
>> Ok, I have no idea id ubuntu-studio Hardy supports it...
>>
> yes, linux does suport multiple processor
> system / administration / system monitor
> you should see both processor used.
>
>
> hi Cyrille,
With my patch open i get these values (average):
cpu1 60% cpu2 60% cpu3 11% cpu4 2%
Then, when I open a pd~ patch:
cpu1 80% cpu2 80% cpu3 40% cpu4 3%
so, still plenty of overhead on the 4th core, but it doesn't seem to be
used.
soundwise, I get fast and regular clackles.
...sounds like a squarewave based amplitude modulator...
The ubuntu I use is an image of an old installation that was originally
installed on a single core machine.
Does that matter ?
gr,
Tim
c
>
>
>>
>> Is there a way to check this?
>>
>> depend on your OS.
>>
>>
>> ubuntu
>>
>
>
>> gr,
>> Tim
>>
>>
>> cyrille
>>
>> thanks!
>>
>>
>> 2010/4/5 Jaime Oliver <jaime.oliver2 at gmail.com
>> <mailto:jaime.oliver2 at gmail.com> <mailto:jaime.oliver2 at gmail.com
>>
>> <mailto:jaime.oliver2 at gmail.com>>>
>>
>>
>> hey vedran,
>> pd~ is a way of opening another instance of pd from within a
>> patch.
>>
>> ideally you want gem and sound on separate instances
>> (connected via
>> udp, pd~ or some other way). each of these processes will use
>> one
>> processor.
>>
>> nicely enough, pd's graphical interface and the actual
>> process, are
>> separate threads, so you (or more precisely your OS) might
>> have them
>> in separate processors if needed.
>>
>> for sound, you can create objects in faust and make
>> multithreaded
>> audio externals.
>>
>> other than that, the processes in a patch are single threaded.
>>
>> J
>>
>>
>>
>> On Mon, Apr 5, 2010 at 2:59 AM, vedran
>> <vedran.kolac at gmail.com <mailto:vedran.kolac at gmail.com>
>> <mailto:vedran.kolac at gmail.com
>> <mailto:vedran.kolac at gmail.com>>> wrote:
>>
>> Hi!
>> can someone tell me if one instance of pd (with gem) can use
>> more than one core on multi-core processor?
>>
>>
>>
>>
>> .....................................................
>> vedran kolac
>> .....................................................
>> gTalk - vedran.kolac at gmail.com
>> <mailto:vedran.kolac at gmail.com> <mailto:vedran.kolac at gmail.com
>>
>> <mailto:vedran.kolac at gmail.com>>
>>
>> .....................................................
>> skype - vedrankolac
>> .....................................................
>> +385 (0) 91 567 07 17
>> .....................................................
>> http://www.onoxo.net
>> http://www.projectmoe.net
>> .....................................................
>>
>> _______________________________________________
>> Pd-list at iem.at <mailto:Pd-list at iem.at>
>> <mailto:Pd-list at iem.at <mailto:Pd-list at iem.at>> mailing list
>>
>>
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>>
>>
>> -- Jaime E Oliver LR
>>
>> www.jaimeoliver.pe <http://www.jaimeoliver.pe>
>> <http://www.jaimeoliver.pe>
>>
>>
>> 858 750 0924 (cel)
>> 858 202 1522 (home)
>> 9168 Regents Rd. Apt. G
>> La Jolla, CA 92037
>> USA
>>
>> _______________________________________________
>> Pd-list at iem.at <mailto:Pd-list at iem.at> <mailto:Pd-list at iem.at
>>
>> <mailto:Pd-list at iem.at>> mailing list
>>
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> Pd-list at iem.at <mailto:Pd-list at iem.at> mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100406/d8058fef/attachment.htm>
More information about the Pd-list
mailing list