From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AKgMI0gNCGKqcwAAgWs5BA (envelope-from ) for ; Sat, 12 Feb 2022 20:40:56 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4EKQH0gNCGI6/wAAauVa8A (envelope-from ) for ; Sat, 12 Feb 2022 20:40:56 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 142AA2B21D for ; Sat, 12 Feb 2022 20:40:56 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 004AB5F702; Sat, 12 Feb 2022 19:40:54 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 20C075F6C3 for ; Sat, 12 Feb 2022 19:40:52 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id F36365FBD2; Sat, 12 Feb 2022 14:40:50 -0500 (EST) Received: (nullmailer pid 2557304 invoked by uid 1000); Sat, 12 Feb 2022 19:40:27 -0000 From: David Bremner To: Tomi Ollila , Michael J Gruber Subject: Re: Test suite timing issues? In-Reply-To: <874k54xfuw.fsf@tethera.net> References: <164458773197.3086.16103597141743611268.git@grubix.eu> <87k0e1x87f.fsf@tethera.net> <164467277576.6467.13919733764427871872.git@grubix.eu> <874k54xfuw.fsf@tethera.net> Date: Sat, 12 Feb 2022 15:40:27 -0400 Message-ID: <871r07yitw.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: IWA76O46PP3I7N6GNBI7LGCVR3I55Q37 X-Message-ID-Hash: IWA76O46PP3I7N6GNBI7LGCVR3I55Q37 X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: notmuch@notmuchmail.org X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644694856; 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:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=u3h1g3SoTGWW8EgtuyF7exGS55bpxExyU2qCfSqPXbo=; b=XHCWTQh1pa+NUIt8fK6mYZW7DSFwJOBSt8Zwn+lyaz254XX+bLAkOwdtSsTxiXpIFqGqsH S2lm9ltlickGr++jI6kqNHsUh4ZhnV3chb+YvWrckqAux7T+ZSLU2Aw0U6lG+5SVQvRaZn dB9ASirg/k/7GdMv2HU2JdVIBZL6M/88VuuoD+XIkHHjbP6wMADkHtV5LQ/MmtXDi8SLdE KvppezuV/2I/ZXM8y5QmT5ZI+0ut0MxvRf0k5I6QR0/gnFBYW0iU033iT1FsJCAPlny3wL KHXYFi0oXUaZcsjywyN4Y3gdBLpVhp3pO/slUinQXeQ6bIdwqKBvPKWsDhFF+A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644694856; a=rsa-sha256; cv=none; b=gloOENz22PY4QKCHJVOTI574ViMAAQPdwJTZhoGQXAMlKzaQ4e3Uo86Nuf3QQRgFc1Gv9t 8074r9wC7VnQQnkLwr5Bzq274qmOancJfNVEr3JGK4fnlYr/rUxzleTOUPq0qBOX059eei zx8TaZQKT9P4vXPP36BXQNik9XcYy0JQORyXiGqLcy/r41VIq97d6q+NZQ5u8u0hL28Bqy bsKp/eXuZWLjLfKTINRNllAUqhxmTL8bAx5aD9cE9/6Z7z80F+CnV0ztKsk8QUVJ3bIXSX 8TNLKe60mo9HD6HJad/ypOQPUhwU2bZ4H9AbvXmhM+ZDJXpZIHjhGXecPxxddA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.34 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 142AA2B21D X-Spam-Score: -1.34 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7rTU1Q2wHZ05 David Bremner writes: > Tomi Ollila writes: > >> On Sat, Feb 12 2022, Michael J. Gruber wrote: >> >> Only thing that came into mind are directory timestamps... if directory >> (m)time is same as before notmuch will not scan it for files... >> >> ... following that if the granularity of directory timestamp were 1 second, >> then it could easily happen than first one new message is not seen, and >> next time there is one extra message to be see... > > What do you think about adding --full-scan to the notmuch-new invocation > in add_message? It doesn't make any tests fail and is about the same > speed. I need to do a few more trials, but first time through it was > actually faster (!), maybe because the cache is hot OK, I did 10 repetitions, and for the sequential version of the test suit it is about 2% slower in elapsed time. I would expect it to have more impact on slower disks (this SSD), but still not too bad of a slowdown. d