You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Deepak Goel <de...@gmail.com> on 2019/10/01 02:08:48 UTC

Re: Throughput does not increase in spite of low CPU usage

Hello

Can you please try increasing 'new size' and 'max new size' to 1GB+?

Deepak

On Mon, 30 Sep 2019, 13:35 Yasufumi Mizoguchi, <ya...@gmail.com>
wrote:

> Hi, Deepak.
> Thank you for replying me.
>
> JVM settings from solr.in.sh file are as follows. (Sorry, I could not show
> all due to our policy)
>
> -verbose:gc
> -XX:+PrintHeapAtGC
> -XX:+PrintGCDetails
> -XX:+PrintGCDateStamps
> -XX:+PrintGCTimeStamps
> -XX:+PrintTenuringDistribution
> -XX:+PrintGCApplicationStoppedTime
> -Dcom.sun.management.jmxremote.ssl=false
> -Dcom.sun.management.jmxremote.authenticate=false
> -Dcom.sun.management.jmxremote.port=18983
> -XX:OnOutOfMemoryError=/home/solr/solr-6.2.1/bin/oom_solr.sh
> -XX:NewSize=128m
> -XX:MaxNewSize=128m
> -XX:+UseG1GC
> -XX:+PerfDisableSharedMem
> -XX:+ParallelRefProcEnabled
> -XX:G1HeapRegionSize=8m
> -XX:MaxGCPauseMillis=250
> -XX:InitiatingHeapOccupancyPercent=75
> -XX:+UseLargePages
> -XX:+AggressiveOpts
> -Xmx32G
> -Xms32G
> -Xss256k
>
>
> Thanks & Regards
> Yasufumi.
>
> 2019年9月30日(月) 16:12 Deepak Goel <de...@gmail.com>:
>
> > Hello
> >
> > Can you please share the JVM heap settings in detail?
> >
> > Deepak
> >
> > On Mon, 30 Sep 2019, 11:15 Yasufumi Mizoguchi, <ya...@gmail.com>
> > wrote:
> >
> > > Hi,
> > >
> > > I am trying some tests to confirm if single Solr instance can perform
> > over
> > > 1000 queries per second(!).
> > >
> > > But now, although CPU usage is 40% or so and iowait is almost 0%,
> > > throughput does not increase over 60 queries per second.
> > >
> > > I think there are some bottlenecks around Kernel, JVM, or Solr
> settings.
> > >
> > > The values we already checked and configured are followings.
> > >
> > > * Kernel:
> > > file descriptor
> > > net.ipv4.tcp_max_syn_backlog
> > > net.ipv4.tcp_syncookies
> > > net.core.somaxconn
> > > net.core.rmem_max
> > > net.core.wmem_max
> > > net.ipv4.tcp_rmem
> > > net.ipv4.tcp_wmem
> > >
> > > * JVM:
> > > Heap [ -> 32GB]
> > > G1GC settings
> > >
> > > * Solr:
> > > (Jetty) MaxThreads [ -> 20000]
> > >
> > >
> > > And the other info is as follows.
> > >
> > > CPU : 16 cores
> > > RAM : 128 GB
> > > Disk : SSD 500GB
> > > NIC : 10Gbps(maybe)
> > > OS : Ubuntu 14.04
> > > JVM : OpenJDK 1.8.0u191
> > > Solr : 6.2.1
> > > Index size : about 60GB
> > >
> > > Any insights will be appreciated.
> > >
> > > Thanks and regards,
> > > Yasufumi.
> > >
> >
>

Re: Throughput does not increase in spite of low CPU usage

Posted by Yasufumi Mizoguchi <ya...@gmail.com>.
Thank you for replying me.

I will try to resize NewRatio.

Thanks,
Yasufumi.

2019年10月1日(火) 11:19 Deepak Goel <de...@gmail.com>:

> Hello
>
> Can you please try increasing 'new size' and 'max new size' to 1GB+?
>
> Deepak
>
> On Mon, 30 Sep 2019, 13:35 Yasufumi Mizoguchi, <ya...@gmail.com>
> wrote:
>
> > Hi, Deepak.
> > Thank you for replying me.
> >
> > JVM settings from solr.in.sh file are as follows. (Sorry, I could not
> show
> > all due to our policy)
> >
> > -verbose:gc
> > -XX:+PrintHeapAtGC
> > -XX:+PrintGCDetails
> > -XX:+PrintGCDateStamps
> > -XX:+PrintGCTimeStamps
> > -XX:+PrintTenuringDistribution
> > -XX:+PrintGCApplicationStoppedTime
> > -Dcom.sun.management.jmxremote.ssl=false
> > -Dcom.sun.management.jmxremote.authenticate=false
> > -Dcom.sun.management.jmxremote.port=18983
> > -XX:OnOutOfMemoryError=/home/solr/solr-6.2.1/bin/oom_solr.sh
> > -XX:NewSize=128m
> > -XX:MaxNewSize=128m
> > -XX:+UseG1GC
> > -XX:+PerfDisableSharedMem
> > -XX:+ParallelRefProcEnabled
> > -XX:G1HeapRegionSize=8m
> > -XX:MaxGCPauseMillis=250
> > -XX:InitiatingHeapOccupancyPercent=75
> > -XX:+UseLargePages
> > -XX:+AggressiveOpts
> > -Xmx32G
> > -Xms32G
> > -Xss256k
> >
> >
> > Thanks & Regards
> > Yasufumi.
> >
> > 2019年9月30日(月) 16:12 Deepak Goel <de...@gmail.com>:
> >
> > > Hello
> > >
> > > Can you please share the JVM heap settings in detail?
> > >
> > > Deepak
> > >
> > > On Mon, 30 Sep 2019, 11:15 Yasufumi Mizoguchi, <yasufumi0410@gmail.com
> >
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I am trying some tests to confirm if single Solr instance can perform
> > > over
> > > > 1000 queries per second(!).
> > > >
> > > > But now, although CPU usage is 40% or so and iowait is almost 0%,
> > > > throughput does not increase over 60 queries per second.
> > > >
> > > > I think there are some bottlenecks around Kernel, JVM, or Solr
> > settings.
> > > >
> > > > The values we already checked and configured are followings.
> > > >
> > > > * Kernel:
> > > > file descriptor
> > > > net.ipv4.tcp_max_syn_backlog
> > > > net.ipv4.tcp_syncookies
> > > > net.core.somaxconn
> > > > net.core.rmem_max
> > > > net.core.wmem_max
> > > > net.ipv4.tcp_rmem
> > > > net.ipv4.tcp_wmem
> > > >
> > > > * JVM:
> > > > Heap [ -> 32GB]
> > > > G1GC settings
> > > >
> > > > * Solr:
> > > > (Jetty) MaxThreads [ -> 20000]
> > > >
> > > >
> > > > And the other info is as follows.
> > > >
> > > > CPU : 16 cores
> > > > RAM : 128 GB
> > > > Disk : SSD 500GB
> > > > NIC : 10Gbps(maybe)
> > > > OS : Ubuntu 14.04
> > > > JVM : OpenJDK 1.8.0u191
> > > > Solr : 6.2.1
> > > > Index size : about 60GB
> > > >
> > > > Any insights will be appreciated.
> > > >
> > > > Thanks and regards,
> > > > Yasufumi.
> > > >
> > >
> >
>