From owner-freebsd-questions@freebsd.org Fri Oct 6 19:09:33 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47653E3EF99 for ; Fri, 6 Oct 2017 19:09:33 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtpd.telissant.net (smtpd.telissant.net [104.225.1.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1E4C76B9C5 for ; Fri, 6 Oct 2017 19:09:32 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from cortina.3dresearch.com (localhost [127.0.0.1]) by smtpd.telissant.net (Postfix) with ESMTP id 205CE118D18 for ; Fri, 6 Oct 2017 15:09:26 -0400 (EDT) X-Virus-Scanned: amavisd-new at telissant.net Received: from smtpd.telissant.net ([127.0.0.1]) by cortina.3dresearch.com (cortina.3dresearch.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id edLKftMq8Xe5 for ; Fri, 6 Oct 2017 15:08:53 -0400 (EDT) Received: from elettra.3dresearch.com (unknown [71.112.240.62]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: elettra) by smtpd.telissant.net (Postfix) with ESMTPSA id 3213E118D02 for ; Fri, 6 Oct 2017 15:08:18 -0400 (EDT) Received: from elettra.3dresearch.com (localhost [127.0.0.1]) by elettra.3dresearch.com (Postfix) with SMTP id CBD9F23B3E4 for ; Fri, 6 Oct 2017 15:08:17 -0400 (EDT) Date: Fri, 6 Oct 2017 15:08:07 -0400 From: Janos Dohanics To: FreeBSD Questions Subject: Re: Application startup time Message-Id: <20171006150807.4eb51bec656829b9045e032a@3dresearch.com> In-Reply-To: <1507299110.2905.8.camel@au.dyndns.ws> References: <20171005133321.dc9114dee1a31346b96a4d08@3dresearch.com> <1507290916.2905.5.camel@au.dyndns.ws> <20171006083750.2c5331ac8c120ab9624115d4@3dresearch.com> <1507299110.2905.8.camel@au.dyndns.ws> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; amd64-portbld-freebsd10.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 19:09:33 -0000 On Sat, 07 Oct 2017 00:41:50 +1030 Wayne Sierke wrote: > [...] > > Below are some events whose timing in particular might make for an > interesting comparison. Trying to find the matching entries in the output I have... > First dns server connection: > 0.194129868 open("/etc/resolv.conf",O_CLOEXEC,0666) = 13 (0xd) The time elapsed until talking to the DNS server in my case is similar to what you have shown. However, connection to the IMAP server is much delayed, almost 60 seconds! >From the output it seems that before offering the login prompt, Thunderbird reads some or all the messages or headers from the local cache (?). May be that's my problem - the mailbox in question is about 180 GB. -- Janos Dohanics