This is going to be very hard to beleive
 
Strangly on my 8GB ram machine I can do the make-world in 55 seconds with J-RTL and this is running under eclipse java debugger with very verbose loading.    The C-RTL is 14 minutes.
 
My eyeballs also show me the J-RTL running 40%-300% faster the C-RTL the webbrowser at the subl commandline and inference performance.
 
However 'top' tells me that the J-RTL takes up 4x more memory than the C-RTL
 
The java gets the edge I am guessing becasue of lazy destruction of objects that the C-RTL has to do complete object dellalocations.
 
Your eyeballs on a machine with 3GB may be telling/told  you the JRTL is 5-40 times *slower* than the CTRL!?!
 
I think If you had 2GB more ram the Java version is going to be just as fast as the 8GB dump below
 
If you can load only the opencyc KB into the J-RTL I think (now I am guessing) 3GB might more than enough and I'll bet it runs faster than the C-RTL.
 
Some magic Cycorp firgured out is the java opimization switches
 
With:
java -server -Xmx7g -Xms4g -XX:MaxPermSize=256m -XX:+AggressiveOpts -XX:+UseBiasedLocking -XX:+UseFastAccessorMethods -XX:+RelaxAccessControlCheck -XX:-UseSpinning -XX:PreBlockSpin=10 -XX:+PrintCommandLineFlags -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+UseAdaptiveGCBoundary   
 
Gives me the 55 second startup.   (non debug its 40 seconds)
 
 
With only:
java -server -Xmx5g -XX:MaxPermSize=256m  (these are the bare needs I think)
 
Gives me a 210 second starup
 
 
 
 
Also the J-RTL being in *.class files you can AOP/re-instrument how all the low level stuff works in CYC
----- Original Message -----
From: Paul Fodor
To: dmiles@users.sourceforge.net ; OpenCyc developers
Sent: Thursday, July 31, 2008 6:59 PM
Subject: Re: [OpenCyc-devel] OpenCyc on Ubuntu 7.10

On Thu, Jul 31, 2008 at 9:32 PM, <dmiles@users.sourceforge.net> wrote:
> Paul,
> Have you tried the Java RTLs of ResearchCyc?
 
No. I think you are right and it will work, but I don't know what is the performance difference. I am interested in testing the performance of the Cyc inference engine. I was always under the impression that Java based implementations are slower than the original systems. I don't know if this is the case with ResearchCyc. Do you know anything about this?
 
Thanks you, regards,
Paul.  
 
> ----- Original Message -----
> From: Paul Fodor
> To: OpenCyc developers
> Sent: Thursday, July 31, 2008 10:47 AM
> Subject: Re: [OpenCyc-devel] OpenCyc on Ubuntu 7.10
> Thanks Yeb. I think I tried all versions of ResearchCyc and OpenCyc on our Ubuntu server (Ubuntu 7.10, 32bits architecture with 3Gb RAM). All except OpenCyc 0.9 give the error at initialization (see previous emails).
> OpenCyc 0.9 doesn't give an error at initialization or the server (see below), but once I try to connect with the browser (to the URI: "http://127.0.0.1:3602/cgi-bin/cyccgi/cg?cb-start") it gives "Segmentation fault".
>
> I guess I will make my programs in the Windows version of ResearchCyc, which seems to work.
>
> Trace for segmentation fault:
> /usr/share/opencyc-0.9/run/bin/latest.bin -w /usr/share/opencyc-0.9/run/world/startWorld.load
>
> Loading statics.
> Mapping in the memory image.
> Running initializers ... PROCESS (16391), PROCESS (16414), done.
> Reconnected to shared object RED Library (auto-loaded).
> Cyc 10 (Linux 32-bit)
> Copyright (C) 1995 - 2005 Cycorp, Inc. All rights reserved.
> RTL (Green Threads/ASM Contexts) initialized.
> CycL Initialized.
> Initializing file-backed caches.
> Warning: Unable to find file hashtable: data/caches/0001/generic-singular-nl-generation-fort-cache.fht
> Enabling base TCP services to port 3600.
>
> Ready for services.
> Process ID: 12488
> System 1.8084 KB 2.
> CYC(1): Error: Received signal 8 SIGFPE (Erroneous arithmetic operation).
> Note: Running in #<PROCESS Port 3602 server dispatcher "Run" 4ABB01E4>.
> [Switching to single-threaded mode ....]
>
> Select a restart:
> 0: Continue waiting for connections.
> 1: Restart process Port 3602 server dispatcher.
> 2: Exit process Port 3602 server dispatcher.
> 3: Recursive read loop.
> 4: Exit program.
> ? 0
> [Resuming multi-threaded mode ....]
> Segmentation fault
>
>
>
> On Thu, Jul 31, 2008 at 1:37 PM, Yeb Havinga <yeb.havinga@portavita.nl> wrote:
>>
>> dmiles@users.sourceforge.net wrote:
>> > http://sourceforge.net/project/showfiles.php?group_id=27274
>> >
>> > Oops 1.06 is 1.02
>> > I'd give 0.9 a try for sanity to make sure it's not just a Ubuntu thing
>> > opencyc-0.9.0-Suse91.tgz
>> > <http://downloads.sourceforge.net/opencyc/opencyc-0.9.0-Suse91.tgz?modtime=1109427630&big_mirror=0>
>> >  Mirror
>> > <http://sourceforge.net/project/mirror_picker.php?height=350&width=300&group_id=27274&use_mirror=voxel&filename=opencyc-0.9.0-Suse91.tgz&abmode=>
>> Hi all,
>>
>> For what it's worth. I've used the latest version of opencyc on a recent
>> (half year) debian x86_64 as well as Ubuntu 8.10 (intrepid) x86_64,
>> using the suse opencyc binary. Both recent intel processors (EM64T) as
>> amd processors support amd's 64 bit architecture. (Do not confuse intels
>> IA64 for the itanium with EM64T)
>>
>> regards,
>> Yeb
>>
>>
>> -------------------------------------------------------------------------
>> 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=/
>> _______________________________________________
>> OpenCyc-devel mailing list
>> OpenCyc-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/opencyc-devel
>
> ________________________________
>
> -------------------------------------------------------------------------
> 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=/
>
> ________________________________
>
> _______________________________________________
> OpenCyc-devel mailing list
> OpenCyc-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opencyc-devel
>
> -------------------------------------------------------------------------
> 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=/
> _______________________________________________
> OpenCyc-devel mailing list
> OpenCyc-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opencyc-devel
>
 
Thank you,
 Paul Fodor


-------------------------------------------------------------------------
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=/


_______________________________________________
OpenCyc-devel mailing list
OpenCyc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opencyc-devel