From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YPGnH8POnV5oXAAA0tVLHw (envelope-from ) for ; Mon, 20 Apr 2020 16:33:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uLsLHMjOnV5eEQAAB5/wlQ (envelope-from ) for ; Mon, 20 Apr 2020 16:33:12 +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 aspmx1.migadu.com (Postfix) with ESMTPS id 38F88941D99 for ; Mon, 20 Apr 2020 16:33:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 62A846DE0F7A; Mon, 20 Apr 2020 09:33:06 -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 WfOJ13IxTrXS; Mon, 20 Apr 2020 09:33:05 -0700 (PDT) Received: from arlo.cworth.org (localhost [IPv6:::1]) by arlo.cworth.org (Postfix) with ESMTP id B7BF36DE0F39; Mon, 20 Apr 2020 09:33:04 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 6D5306DE0F39 for ; Mon, 20 Apr 2020 09:33:03 -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 HllQFtA26V9l for ; Mon, 20 Apr 2020 09:33:02 -0700 (PDT) X-Greylist: delayed 387 seconds by postgrey-1.36 at arlo; Mon, 20 Apr 2020 09:33:02 PDT Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by arlo.cworth.org (Postfix) with ESMTPS id 84E266DE0F21 for ; Mon, 20 Apr 2020 09:33:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587400381; 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=E5wTR2q8D1OPF1dPF3TeUnHK9aQA9h5v72awYrAq7po=; b=S9245DjctHMvlMrRsp7wfcNV8KJVKMt8FR+xaGkkz2JMoPQDM32E8rKf2LU8X1khDc6wv9 Cz/Xfs+JDS/vojlqldojfEOj+629q38q1oB7/lPbiEGV650Qjjz1CLf0u8ItOZ1DpF3801 ig2ISSEzZ6wUdEfoqy6j656mU6Fa12M= 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-86-dkHeIv2tOAaJ1bE2VHgIbw-1; Mon, 20 Apr 2020 12:26:31 -0400 X-MC-Unique: dkHeIv2tOAaJ1bE2VHgIbw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C1DC41005509; Mon, 20 Apr 2020 16:26:30 +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 6228310013A1; Mon, 20 Apr 2020 16:26:30 +0000 (UTC) Date: Mon, 20 Apr 2020 12:26:28 -0400 From: Don Zickus To: David Bremner Subject: Re: performance problems with notmuch new Message-ID: <20200420162628.4xfqukvzdqtzd53m@redhat.com> References: <20200415150801.h2mazyo37sspvech@redhat.com> <874ktku49b.fsf@tethera.net> <20200415173138.rn3ubtxo6mkracss@redhat.com> <87lfmqp6tu.fsf@tethera.net> MIME-Version: 1.0 In-Reply-To: <87lfmqp6tu.fsf@tethera.net> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 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.11 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=redhat.com header.s=mimecast20190719 header.b=S9245Djc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=redhat.com (policy=none); spf=pass (aspmx1.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.11 / 13.00]; MID_RHS_MATCH_FROM(0.00)[]; GENERIC_REPUTATION(0.00)[-0.46588010509285]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:c]; IP_REPUTATION_HAM(0.00)[asn: 27017(-0.19), country: US(-0.01), ip: 50.126.95.6(-0.47)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[notmuch@notmuchmail.org]; HAS_LIST_UNSUB(-0.01)[]; R_DKIM_REJECT(1.00)[redhat.com:s=mimecast20190719]; URIBL_BLOCKED(0.00)[notmuchmail.org:email]; DKIM_TRACE(0.00)[redhat.com:-]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.50)[notmuchmail.org]; RCVD_IN_DNSWL_MED(-0.20)[50.126.95.6:from]; 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: Hj197CbjvAqs On Mon, Apr 20, 2020 at 11:31:09AM -0300, David Bremner wrote: > Don Zickus writes: > > > > > 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. > > > > In addition to the breakdown of numbers that I posted, it would be > potentially useful to know if it is I/O bound or CPU bound, and what > kind of file system you are using. I believe it is cpu bound as the cpu hits 95-100% while iotop should around 250k /sec reading and 50k/sec writing. The filesystem is ext4 using device mapper to mount it. The other numbers are in my other reponse. Hope that helps! Cheers, Don