From dev-return-356482-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Tue May 21 18:20:09 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 4E85F18061A for ; Tue, 21 May 2019 20:20:09 +0200 (CEST) Received: (qmail 8765 invoked by uid 500); 21 May 2019 18:20:02 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 8670 invoked by uid 99); 21 May 2019 18:20:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 May 2019 18:20:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 108E7E2C6C for ; Tue, 21 May 2019 18:20:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7AE3B25816 for ; Tue, 21 May 2019 18:20:00 +0000 (UTC) Date: Tue, 21 May 2019 18:20:00 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENE-8757) Better Segment To Thread Mapping Algorithm MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-8757?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D168= 45113#comment-16845113 ]=20 ASF subversion and git services commented on LUCENE-8757: --------------------------------------------------------- Commit 87e936f1bb76b89acdf8d0c3071bb43349c0e00c in lucene-solr's branch ref= s/heads/master from Atri Sharma [ https://gitbox.apache.org/repos/asf?p=3Dlucene-solr.git;h=3D87e936f ] LUCENE-8757: Improving Default Segments To Thread Mapping Algorithm The current slicing algorithm assigns a thread per segment, which can be detrimental to performance in case the distribution has a large number of small segments. The patch introduces a slicing algorithm which coalesces smaller segments to a single thread, thus reducing the impact of context switching by limiting the number of threads Signed-off-by: Adrien Grand > Better Segment To Thread Mapping Algorithm > ------------------------------------------ > > Key: LUCENE-8757 > URL: https://issues.apache.org/jira/browse/LUCENE-8757 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Atri Sharma > Assignee: Simon Willnauer > Priority: Major > Attachments: LUCENE-8757.patch, LUCENE-8757.patch, LUCENE-8757.pa= tch, LUCENE-8757.patch, LUCENE-8757.patch, LUCENE-8757.patch, LUCENE-8757.p= atch, LUCENE-8757.patch, LUCENE-8757.patch, LUCENE-8757.patch > > > The current segments to threads allocation algorithm always=C2=A0allocate= s one thread per segment. This is detrimental to performance in case of ske= w in segment sizes since small segments also get their dedicated thread. Th= is can lead to performance degradation due to context switching overheads. > =C2=A0 > A better algorithm which is cognizant of size skew would have better perf= ormance for realistic scenarios -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org