Re: [eclipse-clp-users] Slow OutOfProcessEclipse under Unix/Linux

From: Kish Shen <kisshen_at_cisco.com>
Date: Sat, 13 Sep 2008 18:04:39 +0100
Martin Wegner wrote:
> Hello,
> 
> I'm a student and work on a project that uses eclipse prolog with
> OutOfProcessEclipse and Java.
> 
> Now I observe that OutOfProcessEclipse is very very slow under Unix/Linux :(
> 
> I wrote a little benchmark-programm and with Windows XP 32 bit I can
> play 14000 games in 60 seconds.
> 
> On the same computer (only 1,86 GHz) with Linux 32 bit I can only play
> 5000-6000 games in 60 seconds.
> 
> With EmbeddedEclipse Linux is fast as Windows.
> 
> And on a server with Unix 64 bit (3,4 GHz) I can only play 7000 games in
> 60 seconds.
> 
> Can you fix this bug?
> 
> Thank you!
> 
> Greetings, Martin
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> ECLiPSe-CLP-Users mailing list
> ECLiPSe-CLP-Users_at_lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/eclipse-clp-users
Hi Martin,

Can you give more information on what you are doing? The communication 
(peer queues) between Java and a OutOfProcessEclipse is via sockets, 
which is relatively slow and also seem to have a relatively large 
overhead for each transmission of data. The EmbeddedEclipse communicates
via in-memory queues, and is much more efficient.

ECLiPSe itself should run at the same speed for both, as long as you are 
running ECLiPSe code and not sending/receiving data via the queues.

Cheers,

Kish

-- 
This e-mail may contain confidential and privileged material for the
sole use of the intended recipient. Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply e-mail and delete all copies of this message.
Cisco Systems Limited (Company Number: 02558939), is registered in
England and Wales with its registered office at 1 Callaghan Square,
Cardiff, South Glamorgan CF10 5BT.
Received on Sat Sep 13 2008 - 10:04:45 CEST

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET