lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Engels" <>
Subject RE: Results (Re: Survey: Lucene and Java 1.4 vs. 1.5)
Date Mon, 19 Jun 2006 01:25:32 GMT
Are you sure about the JVM numbers? I would think that user + sys must
always be < real (unless maybe the multiprocessor affects this - i.e. sums
the processor time used on each).

-----Original Message-----
From: Vic Bancroft [] 
Sent: Sunday, June 18, 2006 11:55 AM
Subject: Re: Results (Re: Survey: Lucene and Java 1.4 vs. 1.5)

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
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:

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

View raw message