You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by elisabeth benoit <el...@gmail.com> on 2024/05/23 15:23:13 UTC

solr 9.2.1 response time

Hello,

We've just migrated one of our services from solr 7.3.1 to solr 9.2.1 in
production.

We have 6 servers, each with one solr instance, all conf is automated with
puppet, git, etc. so they  all have same conf, but they dont behave the
same way. We have two servers with solr response time much faster, from
50ms to 75ms.

This week we rebooted all our servers, and now we have three solr instances
running faster than the three other ones instead of two.

We've check everything we could think of: memory, GC, caches, everything is
the same.

We're not in solr cloud, but with leader conf.

Just writing in case someone has an idea about this unstable behaviour.

Best regards,
Elisabeth

Re: solr 9.2.1 response time

Posted by elisabeth benoit <el...@gmail.com>.
Thanks a lot for your answer.

Will check that out.

Le jeu. 23 mai 2024 à 20:46, Oleksandr Tkachuk <sa...@gmail.com> a
écrit :

> Check your clocksource
> cat /sys/devices/system/clocksource/clocksource0/current_clocksource
>
> Also check your other hardware characteristics, like cpu freq and governor,
> ram speed, drive performance/schedulers. Perhaps additional checks like cpu
> bench, fio will not hurt.
> Also disable java security manager.
>
>
> чт, 23 мая 2024 г., 18:24 elisabeth benoit <el...@gmail.com>:
>
> > Hello,
> >
> > We've just migrated one of our services from solr 7.3.1 to solr 9.2.1 in
> > production.
> >
> > We have 6 servers, each with one solr instance, all conf is automated
> with
> > puppet, git, etc. so they  all have same conf, but they dont behave the
> > same way. We have two servers with solr response time much faster, from
> > 50ms to 75ms.
> >
> > This week we rebooted all our servers, and now we have three solr
> instances
> > running faster than the three other ones instead of two.
> >
> > We've check everything we could think of: memory, GC, caches, everything
> is
> > the same.
> >
> > We're not in solr cloud, but with leader conf.
> >
> > Just writing in case someone has an idea about this unstable behaviour.
> >
> > Best regards,
> > Elisabeth
> >
>

Re: solr 9.2.1 response time

Posted by Oleksandr Tkachuk <sa...@gmail.com>.
Check your clocksource
cat /sys/devices/system/clocksource/clocksource0/current_clocksource

Also check your other hardware characteristics, like cpu freq and governor,
ram speed, drive performance/schedulers. Perhaps additional checks like cpu
bench, fio will not hurt.
Also disable java security manager.


чт, 23 мая 2024 г., 18:24 elisabeth benoit <el...@gmail.com>:

> Hello,
>
> We've just migrated one of our services from solr 7.3.1 to solr 9.2.1 in
> production.
>
> We have 6 servers, each with one solr instance, all conf is automated with
> puppet, git, etc. so they  all have same conf, but they dont behave the
> same way. We have two servers with solr response time much faster, from
> 50ms to 75ms.
>
> This week we rebooted all our servers, and now we have three solr instances
> running faster than the three other ones instead of two.
>
> We've check everything we could think of: memory, GC, caches, everything is
> the same.
>
> We're not in solr cloud, but with leader conf.
>
> Just writing in case someone has an idea about this unstable behaviour.
>
> Best regards,
> Elisabeth
>

Re: solr 9.2.1 response time

Posted by Houston Putman <ho...@apache.org>.
It might also be http2. Ive seen numerous issues with http2 performance
(which will hopefully be fixed soon). This can be tested with
“-Dsolr.http1=true”

- Houston

On Fri, May 24, 2024 at 1:25 PM Eric Pugh <ep...@opensourceconnections.com>
wrote:

> I’d be curious if other folks have seen this either anecdotally or even
> better through some performance testing!
>
> > On May 24, 2024, at 9:12 AM, Tim Funk <fu...@apache.org> wrote:
> >
> > solr9 turns security on manager by default. This has a high probability
> of
> > a performance impact..
> >
> > disable via adding to startup
> > export SOLR_SECURITY_MANAGER_ENABLED=false
> >
> > -Tim
> >
> > On Thu, May 23, 2024 at 11:23 AM elisabeth benoit <
> elisaelisaelisa@gmail.com>
> > wrote:
> >
> >> Hello,
> >>
> >> We've just migrated one of our services from solr 7.3.1 to solr 9.2.1 in
> >> production.
> >>
> >> We have 6 servers, each with one solr instance, all conf is automated
> with
> >> puppet, git, etc. so they  all have same conf, but they dont behave the
> >> same way. We have two servers with solr response time much faster, from
> >> 50ms to 75ms.
> >>
> >> This week we rebooted all our servers, and now we have three solr
> instances
> >> running faster than the three other ones instead of two.
> >>
> >> We've check everything we could think of: memory, GC, caches,
> everything is
> >> the same.
> >>
> >> We're not in solr cloud, but with leader conf.
> >>
> >> Just writing in case someone has an idea about this unstable behaviour.
> >>
> >>
>
> _______________________
> Eric Pugh | Founder | OpenSource Connections, LLC | 434.466.1467 |
> http://www.opensourceconnections.com <
> http://www.opensourceconnections.com/> | My Free/Busy <
> http://tinyurl.com/eric-cal>
> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <
> https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw>
>
> This e-mail and all contents, including attachments, is considered to be
> Company Confidential unless explicitly stated otherwise, regardless of
> whether attachments are marked as such.
>
>

Re: solr 9.2.1 response time

Posted by Tim Funk <fu...@apache.org>.
Jetty with security manager enabled does a reverse lookup on the ip.
Depending on settings, that can slow things down. In my case, it caused
timeouts.

https://lists.apache.org/thread/po5qwkgpt3qf0qfv4p8rrqj3blm2wcpz

-Tim


On Fri, May 24, 2024 at 2:26 PM Eric Pugh <ep...@opensourceconnections.com>
wrote:

> I’d be curious if other folks have seen this either anecdotally or even
> better through some performance testing!
>
> > On May 24, 2024, at 9:12 AM, Tim Funk <fu...@apache.org> wrote:
> >
> > solr9 turns security on manager by default. This has a high probability
> of
> > a performance impact..
> >
> > disable via adding to startup
> > export SOLR_SECURITY_MANAGER_ENABLED=false
> >
> > -Tim
>
>

Re: solr 9.2.1 response time

Posted by Eric Pugh <ep...@opensourceconnections.com>.
I’d be curious if other folks have seen this either anecdotally or even better through some performance testing!

> On May 24, 2024, at 9:12 AM, Tim Funk <fu...@apache.org> wrote:
> 
> solr9 turns security on manager by default. This has a high probability of
> a performance impact..
> 
> disable via adding to startup
> export SOLR_SECURITY_MANAGER_ENABLED=false
> 
> -Tim
> 
> On Thu, May 23, 2024 at 11:23 AM elisabeth benoit <el...@gmail.com>
> wrote:
> 
>> Hello,
>> 
>> We've just migrated one of our services from solr 7.3.1 to solr 9.2.1 in
>> production.
>> 
>> We have 6 servers, each with one solr instance, all conf is automated with
>> puppet, git, etc. so they  all have same conf, but they dont behave the
>> same way. We have two servers with solr response time much faster, from
>> 50ms to 75ms.
>> 
>> This week we rebooted all our servers, and now we have three solr instances
>> running faster than the three other ones instead of two.
>> 
>> We've check everything we could think of: memory, GC, caches, everything is
>> the same.
>> 
>> We're not in solr cloud, but with leader conf.
>> 
>> Just writing in case someone has an idea about this unstable behaviour.
>> 
>> 

_______________________
Eric Pugh | Founder | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com <http://www.opensourceconnections.com/> | My Free/Busy <http://tinyurl.com/eric-cal>  
Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw>	
This e-mail and all contents, including attachments, is considered to be Company Confidential unless explicitly stated otherwise, regardless of whether attachments are marked as such.


Re: solr 9.2.1 response time

Posted by Tim Funk <fu...@apache.org>.
solr9 turns security on manager by default. This has a high probability of
a performance impact..

disable via adding to startup
export SOLR_SECURITY_MANAGER_ENABLED=false

-Tim

On Thu, May 23, 2024 at 11:23 AM elisabeth benoit <el...@gmail.com>
wrote:

> Hello,
>
> We've just migrated one of our services from solr 7.3.1 to solr 9.2.1 in
> production.
>
> We have 6 servers, each with one solr instance, all conf is automated with
> puppet, git, etc. so they  all have same conf, but they dont behave the
> same way. We have two servers with solr response time much faster, from
> 50ms to 75ms.
>
> This week we rebooted all our servers, and now we have three solr instances
> running faster than the three other ones instead of two.
>
> We've check everything we could think of: memory, GC, caches, everything is
> the same.
>
> We're not in solr cloud, but with leader conf.
>
> Just writing in case someone has an idea about this unstable behaviour.
>
>