lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <dawid.we...@gmail.com>
Subject Re: Slowness on Java 11 with Lucene 6
Date Tue, 30 Jul 2019 15:30:04 GMT
> We have chosen G1GC for both Java 8 and Java 11 versions.

It's not like we have answers for everything. ;) If it's the same GC
on both and there is still a slowdown then something else may be
causing it -- hard to tell without doing trial-and-error. There is a
set of performance benchmarks; perhaps you could run these and see if
there's a difference (on the same hardware, with two different VMs set
with the same GC options).

https://github.com/apache/lucene-solr/tree/master/lucene/benchmark

Here's Mike's blog and current stats:
https://home.apache.org/~mikemccand/lucenebench/

Dawid

>
> Thank you for your answer. We'll try to better configure the garbage collector.
>
> Joel
>
>
>
> -----Message d'origine-----
> De : Uwe Schindler [mailto:uwe@thetaphi.de]
> Envoyé : lundi 29 juillet 2019 18:49
> À : java-user@lucene.apache.org
> Objet : RE: Slowness on Java 11 with Lucene 6
>
> Hi,
>
> We did not notice any slowdown with queries based on Java version, if the configuration
is identical.
> But Java 11 uses G1GC as default garbage collector, in contrast to Java 8 which uses
ParallelGC as garbage collector. G1GC has no longer pause times anymore (so you application
won't halt anymore for longer time), but in contrast it slows down the throughput.
>
> If you use Solr or Elasticsearch, those applications configure the garbage collector
for use with search, but if you just run your application with Java 8 and default command
line parameters, slowdowns due to different defaults may be possible.
>
> I'd suggest to make sure that the garbage collector is configured in a defined way and
then compare again. We also don't know on the mailing list what you have done (is it pure
Lucene, is it Solr, or is it Elasticsearch?) and how your JVM is configured. So assumed the
worst case (default settings with pure Lucene application).
>
> Uwe
>
> -----
> Uwe Schindler
> Achterdiek 19, D-28357 Bremen
> https://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
> > -----Original Message-----
> > From: GASPARD-EXT Joel <joel.gaspard-ext@fnacdarty.com>
> > Sent: Monday, July 29, 2019 5:17 PM
> > To: java-user@lucene.apache.org
> > Subject: Slowness on Java 11 with Lucene 6
> >
> > Hello,
> >
> > We have noticed slower response times on search with Lucene 6 when
> > upgrading to Java 11.
> >
> > We use the version 6.6.5 of Lucene. Our servers are on Windows, with
> > SSD devices. Our index contains several millions of documents.
> > When upgrading from Java 8 to Java 11, we have noticed slower response
> > times in query searches : sometimes 30% slower, sometimes twice as
> > slow, depending on the server capacity.
> >
> > We measure response times with 200000 queries.
> > We have made our tests with different JDK providers. We have noticed
> > the same deviation.
> >
> > Have you encountered this problem ?
> >
> > Thanks
> >
> >
> > ________________________________
> >
> >
> > Ce message et toutes les pi?ces jointes qu'il contient sont uniquement
> > destin?s aux personnes auxquelles ils sont adress?s et sont
> > strictement confidentiels. A moins qu'il en ait ?t? explicitement
> > convenu autrement, son contenu ne refl?te que la pens?e personnelle de
> > son auteur et ne saurait donc repr?senter la vision officielle de
> > l'Entreprise. Si vous avez re?u ce message par erreur, nous vous
> > remercions de bien vouloir en informer l'exp?diteur imm?diatement par
> > retour d'email et supprimer d?finitivement le message de vos
> > r?pertoires. Toute utilisation de ce message non conforme ? sa
> > destination, toute diffusion ou toute publication, totale ou
> > partielle, est interdite, sauf autorisation expresse. L'internet ne
> > permettant pas d'assurer l'int?grit? de ce message, l'Entreprise d?cline toute responsabilit?
au titre de ce message, dans l'hypoth?se o? il aurait ?t? modifi?.
> >
> >
> > This message including any attachments is confidential and intended
> > solely for the addressees. Unless explicitly mentioned, its content
> > reflects only the personal thoughts of the author, and therefore
> > cannot represent the official view of the Company. If received by
> > error, please inform immediately the sender by return e-mail and
> > delete definitely the message from any and all directories. Any use,
> > dissemination or disclosure not in conformity with the intended
> > purposes is strictly prohibited. The integrity of messages via
> > Internet cannot be guaranteed and the Company accepts no liability for any changes
which may occur.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
> ________________________________
>
>
> Ce message et toutes les pièces jointes qu’il contient sont uniquement destinés aux
personnes auxquelles ils sont adressés et sont strictement confidentiels. A moins qu'il en
ait été explicitement convenu autrement, son contenu ne reflète que la pensée personnelle
de son auteur et ne saurait donc représenter la vision officielle de l'Entreprise. Si vous
avez reçu ce message par erreur, nous vous remercions de bien vouloir en informer l'expéditeur
immédiatement par retour d’email et supprimer définitivement le message de vos répertoires.
Toute utilisation de ce message non conforme à sa destination, toute diffusion ou toute publication,
totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas
d'assurer l'intégrité de ce message, l’Entreprise décline toute responsabilité au titre
de ce message, dans l'hypothèse où il aurait été modifié.
>
>
> This message including any attachments is confidential and intended solely for the addressees.
Unless explicitly mentioned, its content reflects only the personal thoughts of the author,
and therefore cannot represent the official view of the Company. If received by error, please
inform immediately the sender by return e-mail and delete definitely the message from any
and all directories. Any use, dissemination or disclosure not in conformity with the intended
purposes is strictly prohibited. The integrity of messages via Internet cannot be guaranteed
and the Company accepts no liability for any changes which may occur.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message