From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MJrZAQ1Fl15EGwAA0tVLHw (envelope-from ) for ; Wed, 15 Apr 2020 17:31:57 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id MHsEFBBFl17HFgAA1q6Kng (envelope-from ) for ; Wed, 15 Apr 2020 17:32:00 +0000 Received: from arlo.cworth.org (arlo.cworth.org [50.126.95.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id 9AC49681B5B for ; Wed, 15 Apr 2020 17:31:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 381DB6DE0EC6; Wed, 15 Apr 2020 10:31:56 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jw-M8-GIPzJw; Wed, 15 Apr 2020 10:31:55 -0700 (PDT) Received: from arlo.cworth.org (localhost [IPv6:::1]) by arlo.cworth.org (Postfix) with ESMTP id 2890D6DE0A7E; Wed, 15 Apr 2020 10:31:54 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 714A36DE0A43 for ; Wed, 15 Apr 2020 10:31:51 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XM0fs3Ps_i6J for ; Wed, 15 Apr 2020 10:31:49 -0700 (PDT) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by arlo.cworth.org (Postfix) with ESMTPS id AE4846DE0A7E for ; Wed, 15 Apr 2020 10:31:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1586971906; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0rNUpB5DXCC6L/tSmKQ6PBVJrxSJ0qHyKJermxjoupg=; b=cC4BNKyNd0QXY10H7z5F3tsLrCzJdtLNXRTKbe8eHpJoTD0wWig6xTl1moIRsUpS48xpEB AbYZEIveNMgbLuYb6C1lSqofOVkv9RUa3PtJQiJMYaPsH4C0g1UeR/VxNBK/BT3HQJugxj HTQemcT0oQu5+KC4pkClQvPh6uf5b/g= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-445-5JQ6s52jMFyVOq5jAqlgKg-1; Wed, 15 Apr 2020 13:31:42 -0400 X-MC-Unique: 5JQ6s52jMFyVOq5jAqlgKg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C3C59DB61; Wed, 15 Apr 2020 17:31:41 +0000 (UTC) Received: from redhat.com (ovpn-116-138.rdu2.redhat.com [10.10.116.138]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2BD12A0986; Wed, 15 Apr 2020 17:31:40 +0000 (UTC) Date: Wed, 15 Apr 2020 13:31:38 -0400 From: Don Zickus To: David Bremner Subject: Re: performance problems with notmuch new Message-ID: <20200415173138.rn3ubtxo6mkracss@redhat.com> References: <20200415150801.h2mazyo37sspvech@redhat.com> <874ktku49b.fsf@tethera.net> MIME-Version: 1.0 In-Reply-To: <874ktku49b.fsf@tethera.net> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: notmuch@notmuchmail.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: notmuch-bounces@notmuchmail.org Sender: "notmuch" X-Scanner: scn0 X-Spam-Score: 0.09 Authentication-Results: aspmx2.migadu.com; dkim=fail (body hash did not verify) header.d=redhat.com header.s=mimecast20190719 header.b=cC4BNKyN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=redhat.com (policy=none); spf=pass (aspmx2.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 50.126.95.6 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Scan-Result: default: False [0.09 / 13.00]; MID_RHS_MATCH_FROM(0.00)[]; GENERIC_REPUTATION(0.00)[-0.45182995499873]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; IP_REPUTATION_HAM(0.00)[asn: 27017(-0.18), country: US(-0.01), ip: 50.126.95.6(-0.45)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[notmuch@notmuchmail.org]; SPF_REPUTATION_HAM(0.00)[-0.45040755355135]; HAS_LIST_UNSUB(-0.01)[]; R_DKIM_REJECT(1.00)[redhat.com:s=mimecast20190719]; MX_GOOD(-0.50)[cached: notmuchmail.org]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[redhat.com:-]; MAILLIST(-0.20)[mailman]; FORGED_SENDER_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:27017, ipnet:50.126.64.0/18, country:US]; FROM_NEQ_ENVFROM(0.00)[dzickus@redhat.com,notmuch-bounces@notmuchmail.org]; RCVD_COUNT_SEVEN(0.00)[10]; DMARC_POLICY_SOFTFAIL(0.10)[redhat.com : SPF not aligned (relaxed),none] X-TUID: AEljB62qu9I8 On Wed, Apr 15, 2020 at 01:01:52PM -0300, David Bremner wrote: > Don Zickus writes: > > > > > Tips for debugging this? > > > > I ran the notmuch performance/time-test, but after 15 minutes of waiting for > > the initial notmuch new to finish, I gave up and aborted. > > You can try one of the smaller corpus sizes > > $ make OPTIONS=--small time-test > > runs in about 30s here (i7 4770 / SSD). Replacing --small with --medium > takes about 10M (so a superlinear slowdown in wall clock time, since > that represents a 10x scale-up in the corpus size.). Hmm, for me --small was 35s and --medium was 32 minutes. This is on a i7-9750H / nvme. I would expect numbers similar to yours. Cheers, Don