From java-user-return-64545-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Mon Jul 29 16:48:52 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id E190118063F for ; Mon, 29 Jul 2019 18:48:51 +0200 (CEST) Received: (qmail 56245 invoked by uid 500); 29 Jul 2019 16:48:49 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 56133 invoked by uid 99); 29 Jul 2019 16:48:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2019 16:48:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 0B91EC09DF for ; Mon, 29 Jul 2019 16:48:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.001 X-Spam-Level: X-Spam-Status: No, score=-2.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=thetaphi.de Received: from mx1-ec2-va.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id iqrsuBuBG1rA for ; Mon, 29 Jul 2019 16:48:42 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=78.47.65.36; helo=mail.sd-datasolutions.de; envelope-from=uwe@thetaphi.de; receiver= Received: from mail.sd-datasolutions.de (serv2.sd-datasolutions.de [78.47.65.36]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id D77A1BC7B3 for ; Mon, 29 Jul 2019 16:48:41 +0000 (UTC) Received: from VEGA (p200300C1071CD401A58F81D35142AEBE.dip0.t-ipconnect.de [IPv6:2003:c1:71c:d401:a58f:81d3:5142:aebe]) by mail.sd-datasolutions.de (Postfix) with ESMTPSA id 29DB4480179 for ; Mon, 29 Jul 2019 16:48:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thetaphi.de; s=sddsmail201905; t=1564418914; bh=5elIenNsy5Rvf0O2cvay7uW3KppvQOe0mRdNa0YQQBU=; h=From:To:Subject:Date:Message-ID:From; b=BwD9OWqeryLg+G7irzUq61gjqhB2pTiZ9zX7FTW7F6ZswyAz6vm0e+0HeOZmUPKLy 8o9c4LdK2Zvuz8WgJgEtXjBTGieaAX4Br9i6CkibpcHARiKfnM1wPXoJT7iJIYnryM pLaKZeJxPrOEn7O+9HZXeESSS2FMKmjOw+aKNBdkmbLxzgak0bvljSInb7L5COaK1l gqhckumeCwIQd8R+HJIK2QigSggWl6JuQYDlMqSpZNwmUM/6tNvvxE5PSJv8XwdHbA /rJrC9g7OOUFvkvZ/j+2tfqnr0lg9O7SzxLEiwR7BY6ZjCW+LYhmO2h56GQlLO3Cm2 1sumuaOaW8q0A== X-NSA-Greeting: Dear NSA, have fun with reading and analyzing this e-mail! From: "Uwe Schindler" To: References: In-Reply-To: Subject: RE: Slowness on Java 11 with Lucene 6 Date: Mon, 29 Jul 2019 18:48:33 +0200 Message-ID: <010401d5462d$75e2d410$61a87c30$@thetaphi.de> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIVlvgPZ9v33PW7EdVD05fMNTdNz6ZhK7qA Content-Language: de 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 > Sent: Monday, July 29, 2019 5:17 PM > To: java-user@lucene.apache.org > Subject: Slowness on Java 11 with Lucene 6 >=20 > Hello, >=20 > We have noticed slower response times on search with Lucene 6 when > upgrading to Java 11. >=20 > 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. >=20 > We measure response times with 200000 queries. > We have made our tests with different JDK providers. We have noticed = the > same deviation. >=20 > Have you encountered this problem ? >=20 > Thanks >=20 >=20 > ________________________________ >=20 >=20 > 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?. >=20 >=20 > 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