Re: Multi CPU Cores

2011-10-17 Thread Robert Brown
ene ecosystem search :: http://search-lucene.com/ > > > > >> >>From: Robert Brown >>To: solr-user@lucene.apache.org >>Sent: Monday, October 17, 2011 4:01 AM >>Subject: Re: Multi CPU Cores >> >>Where exactly do you set this up? 

Re: Multi CPU Cores

2011-10-17 Thread Otis Gospodnetic
://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ > >From: Robert Brown >To: solr-user@lucene.apache.org >Sent: Monday, October 17, 2011 4:01 AM >Subject: Re: Multi CPU Cores > >Where exactly do yo

Re: Multi CPU Cores

2011-10-17 Thread Johannes Goll
Yes, same thing. This was for the jetty servlet container not tomcat. I would refer to the tomcat documentation on how to modify/configure the java runtime environment (JRE) arguments for your running instance. Johannes On Oct 17, 2011, at 4:01 AM, Robert Brown wrote: > Where exactly do you se

Re: Multi CPU Cores

2011-10-17 Thread Robert Brown
Where exactly do you set this up? We're running Solr3.4 under tomcat, OpenJDK 1.6.0.20 btw, is the JRE just a different name for the VM? Apologies for such a newbie Java question. On Sun, 16 Oct 2011 12:51:44 -0400, Johannes Goll wrote: > we use the the following in production > > java -ser

Re: Multi CPU Cores

2011-10-16 Thread Mikhail Khludnev
nnes Goll > Reply-to: solr-user@lucene.apache.org > To: solr-user@lucene.apache.org > Subject: Re: Multi CPU Cores > Date: Sun, 16 Oct 2011 08:18:47 -0400 > > Try using -useParallelGc as vm option. > > Johannes > > On Oct 16, 2011, at 7:51 AM, Ken Krugler >

Re: Multi CPU Cores

2011-10-16 Thread Johannes Goll
we use the the following in production java -server -XX:+UseParallelGC -XX:+AggressiveOpts -XX:+DisableExplicitGC -Xms3G -Xmx40G -Djetty.port= -Dsolr.solr.home= jar start.jar more information http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html Johannes

Re: Multi CPU Cores

2011-10-16 Thread Li Li
for indexing, your can make use of multi cores easily by call IndexWriter.addDocument with multi-threads as far as I know, for searching, if there is only one request, you can't make good use of cpus. On Sat, Oct 15, 2011 at 9:37 PM, Rob Brown wrote: > Hi, > > I'm running Solr on a machine with

Re: Multi CPU Cores

2011-10-16 Thread Rob Brown
-user@lucene.apache.org To: solr-user@lucene.apache.org Subject: Re: Multi CPU Cores Date: Sun, 16 Oct 2011 08:18:47 -0400 Try using -useParallelGc as vm option. Johannes On Oct 16, 2011, at 7:51 AM, Ken Krugler wrote: > > On Oct 16, 2011, at 1:44pm, Rob Brown wrote: > >> Looks

Re: Multi CPU Cores

2011-10-16 Thread Johannes Goll
> -- Ken > > >> -Original Message- >> From: Johannes Goll >> Reply-to: solr-user@lucene.apache.org >> To: solr-user@lucene.apache.org >> Subject: Re: Multi CPU Cores >> Date: Sat, 15 Oct 2011 21:30:11 -0400 >> >> Did you try to subm

Re: Multi CPU Cores

2011-10-16 Thread Ken Krugler
e background GC, depending on what you've got your JVM configured to use. Though that shouldn't stay at 100% for very long. -- Ken > -Original Message- > From: Johannes Goll > Reply-to: solr-user@lucene.apache.org > To: solr-user@lucene.apache.org > Subject: Re: Multi

Re: Multi CPU Cores

2011-10-16 Thread Rob Brown
-Original Message- From: Johannes Goll Reply-to: solr-user@lucene.apache.org To: solr-user@lucene.apache.org Subject: Re: Multi CPU Cores Date: Sat, 15 Oct 2011 21:30:11 -0400 Did you try to submit multiple search requests in parallel? The apache ab tool is great tool to simulate simultaneous

Re: Multi CPU Cores

2011-10-15 Thread Otis Gospodnetic
Hello Rob, Well, you didn't say how many concurrent requests are happening there.  It looks like just 1.  Can it be? Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ > >From: Rob Brown >To:

Re: Multi CPU Cores

2011-10-15 Thread Johannes Goll
Did you try to submit multiple search requests in parallel? The apache ab tool is great tool to simulate simultaneous load using (-n and -c). Johannes On Oct 15, 2011, at 7:32 PM, Rob Brown wrote: > Hi, > > I'm running Solr on a machine with 16 CPU cores, yet watching "top" > shows that java i

Re: Multi CPU Cores

2011-10-15 Thread Chris Hostetter
: Subject: Multi CPU Cores : In-Reply-To: <1318672302307-3423799.p...@n3.nabble.com> : References: <1318672302307-3423799.p...@n3.nabble.com> http://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting a new discussion on a mailing list, please do not reply to