On Mon, Aug 15, 2011 at 10:11 AM, Christian Schmitz <
[email protected]> wrote:

>
> Am 15.08.2011 um 18:07 schrieb Peter K. Stys:
>
> > IPC.  I've had throughputs up to 200 MB/sec.  For larger datasets (mine
> may
> > range into the GBs), duplicating is inefficient, and slow even via IPC,
> so I
> > use shared memory (MBS plugin) and simply send the shared memory segment
> > name and the appropriate offset, to my slave via IPC.  Works very well.
>
> IPC uses shared memory under the hood as far as I know.
> But it may be required to make a copy of your memoryblock/string internally
> to get it page aligned.
>
>
It may well, but a copy must be made because you can operate on the data you
sent via IPC w/o altering the original.  The shared mem-only approach
operates on the same chunk of data of course, which eliminates the need to
make copies, which of course is ill-advised for large data sets.



> Peter, do you have a blog entry or some other text where you explain it? I
> could link it from my blog.
>

Unf not, it's all in my head (and in my app's source ;-)

P.


-- 
---------------------------------------------
Peter K. Stys, MD
Dept. of Clinical Neurosciences
Hotchkiss Brain Institute
University of Calgary
tel (403) 210-8646
---------------------------------------------
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to