[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Shared memory interface to Octave
From: |
N Smethurst |
Subject: |
Re: Shared memory interface to Octave |
Date: |
Mon, 10 Nov 2003 17:08:21 +0100 |
User-agent: |
KMail/1.5.3 |
Hi John
I've been using sockets in my application (kvisualiser.free.fr). I've found it
generally takes only about 10-15ms to base64 encode in XML, transfer, and
then decode a 150x150 point polydata surface (703KB including base64
encoding). Admitedly this is on an Athlon 1400. However, the amount of data
for a GUI would generally be far less than this, so I would imagine that the
resulting time lag would be negligible.
Out of interest, what kind of application are you aiming to write? I was
invisaging starting at some point a front end to Octave as a companion to
KVisualiser. If our ideas were similar, perhaps there could be a
collaboration.
Nick
Le Lundi 10 Novembre 2003 16:55, a écrit :
> It indicates that transfering 256KB via named pipes would take ~32 ms while
> only ~256 microseconds with the shared memory.
> It should be noted that the document is somewhat old and was tested on
> Linux kernel 1.2.9 on a 90 MHz machine. It would be expected to be much,
> much faster on modern day 1GHz and above machines.