Re: Performance question: Solr 64 bit java vs 32 bit mode.

2007-11-20 Thread Otis Gospodnetic
Solr runs equally well on both 64-bit and 32-bit systems.

Your 15 second problem could be caused by IO bottleneck (not likely if your 
index is small and fits in RAM), could be concurrency (esp. if you are using 
compound index format), could be something else on production killing your CPU, 
could be the JVM being busy sweeping the garbage out, etc.

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch

- Original Message 
From: Robert Purdy [EMAIL PROTECTED]
To: solr-user@lucene.apache.org
Sent: Thursday, November 15, 2007 4:05:00 PM
Subject: Performance question: Solr 64 bit java vs 32 bit mode.


Would anyone know if solr runs better in 64bit java vs 32 bit and could
answer another possible related question.

I currently have two servers running solr under identical tomcat
installations. One is the production server and is under heavy user
 load and
the other is under no load at all because it is a test box.

I was looking in the logs on the production server and noticed some
 queries
were taking about 15 seconds, and this is after auto-warming. So I
 decided
to execute that same query on the other server with nothing in the
 caches
and found that it only took 2 seconds to complete. 

My question is why an Dual Intel Core Duo  Xserve server in 64 bit java
 mode
with 8GB of ram allocated to the tomcat server be slower than a Dual
 Power
PC G5 server running in 32 bit mode with only 2GB of ram allocated? Is
 it
because of the load/concurrrency issues on the production sever that
 made
the time next to the query in the log greater on the production server?
 If
so what is the best way to configure tomcat to deal with that issue? 

Thanks Robert.
-- 
View this message in context:
 
http://www.nabble.com/Performance-question%3A-Solr-64-bit-java-vs-32-bit-mode.-tf4817186.html#a13781791
Sent from the Solr - User mailing list archive at Nabble.com.






Performance question: Solr 64 bit java vs 32 bit mode.

2007-11-15 Thread Robert Purdy

Would anyone know if solr runs better in 64bit java vs 32 bit and could
answer another possible related question.

I currently have two servers running solr under identical tomcat
installations. One is the production server and is under heavy user load and
the other is under no load at all because it is a test box.

I was looking in the logs on the production server and noticed some queries
were taking about 15 seconds, and this is after auto-warming. So I decided
to execute that same query on the other server with nothing in the caches
and found that it only took 2 seconds to complete. 

My question is why an Dual Intel Core Duo  Xserve server in 64 bit java mode
with 8GB of ram allocated to the tomcat server be slower than a Dual Power
PC G5 server running in 32 bit mode with only 2GB of ram allocated? Is it
because of the load/concurrrency issues on the production sever that made
the time next to the query in the log greater on the production server? If
so what is the best way to configure tomcat to deal with that issue? 

Thanks Robert.
-- 
View this message in context: 
http://www.nabble.com/Performance-question%3A-Solr-64-bit-java-vs-32-bit-mode.-tf4817186.html#a13781791
Sent from the Solr - User mailing list archive at Nabble.com.