lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vic Bancroft <>
Subject Re: Results (Re: Survey: Lucene and Java 1.4 vs. 1.5)
Date Sun, 18 Jun 2006 16:55:16 GMT
Robert Engels wrote:

>Do you have any hard numbers to support this? The last time I checked, gcj
>had minimal improvement over JVM 1.5. 
In terms of speed, there is not much difference between native code and 
classes (see sample timings).  However, the pragmatic availability of 
java 5 environment for even somewhat _exotic_ platforms is sadly 
limited.  My current environment is linux on a dual core x86_64. 

One can only ride a jrocket into 1.5 land and still address 64 bits of 
goodness !


BTW, given a native compile and link,

    [bancroft@orca lucene-415145]$ ldd  build/indexFiles
   => /usr/lib64/ (0x0000003f00400000)
   => /lib64/ (0x0000003efec00000)
   => /usr/lib64/ (0x00002aaaaaac2000)
   => /lib64/ (0x0000003ef9100000)
   => /lib64/ (0x0000003efa500000)
   => /usr/lib64/ (0x0000003ef9500000)
   => /lib64/ (0x0000003ef9300000)
   => /lib64/ (0x0000003ef8e00000)
            /lib64/ (0x0000003ef8c00000)

The native indexing,

[bancroft@orca lucene-415145]$ time build/indexFiles . 2>&1 > /dev/null

real    0m22.932s
user    0m16.581s
sys     0m6.224s

The virtual machine indexing,

[bancroft@orca lucene-415145]$ time java -d64 -Xmx8192m -cp build/lucene-demos-2.0-rc1-dev.jar:build/lucene-core-2.0-rc1-dev.jar
org.apache.lucene.demo.IndexFiles . 2>&1 > /dev/null
real    0m23.224s
user    0m33.238s
sys     0m5.184s

Side note, the jrocket seems to use both processors just about 1/3 of 
the way through, where as the gcj doesn't . . .

"The future is here. It's just not evenly distributed yet."
 -- William Gibson, quoted by Whitfield Diffie

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message