From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: master a37eba8: Speed up initialization by preferring /dev/urandom to GnuTLS Date: Sat, 29 Oct 2016 23:51:21 -0700 Message-ID: References: <20161030030058.8530.81219@vcs.savannah.gnu.org> <20161030030058.972D62201D5@vcs.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1477810355 16490 195.159.176.226 (30 Oct 2016 06:52:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 30 Oct 2016 06:52:35 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 30 07:52:28 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0jyb-0002My-RU for ged-emacs-devel@m.gmane.org; Sun, 30 Oct 2016 07:52:18 +0100 Original-Received: from localhost ([::1]:57227 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0jye-0001D7-81 for ged-emacs-devel@m.gmane.org; Sun, 30 Oct 2016 02:52:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0jxz-0001Cx-0o for emacs-devel@gnu.org; Sun, 30 Oct 2016 02:51:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0jxu-0008QQ-Tx for emacs-devel@gnu.org; Sun, 30 Oct 2016 02:51:39 -0400 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:48370) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c0jxu-0008Mv-L1 for emacs-devel@gnu.org; Sun, 30 Oct 2016 02:51:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=LcOCkQH+UXLLvzc3RJ7BrCopW+szi8EElkmDa5vlvqw=; b=UVtC+p0+FtVbjqaJirUG3slyDH8ncni54hga1dq726bR9v6dROSpqfpJOTLqiY1S5tYSFq9aG3ZG6VWtb+avW3ZxzxSfuBXo1XvURhx+9S2zS7kYv5bPGSNBxPgLhHMEw6SLSd5BoWj2diM5ta67I8NRuvo/CFZkCjWMLnerv+uYM4eD1I/U0Cj57XBFcVd8LMdK9fM4tlgWraIkdMy3r0FHMdU5c0HLTwvccsZgmYXMEuTgieaOZt6FOjNtN9uD+7kmja1oSe7k0m9SGriVB8hQgCYT0wZNrnIOTcxUW+KbhobWzr5JEUl4uhQrwxufGA9ZJ3t10UaI6b3//0LqSg==; Original-Received: from c-73-97-199-232.hsd1.wa.comcast.net ([73.97.199.232] helo=dancol-glaptop0) by dancol.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.84_2) (envelope-from ) id 1c0jxn-0006KS-SY; Sat, 29 Oct 2016 23:51:27 -0700 In-Reply-To: (Lars Ingebrigtsen's message of "Sun, 30 Oct 2016 07:45:52 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2600:3c01::f03c:91ff:fedf:adf3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:208967 Archived-At: Lars Ingebrigtsen writes: > dancol@dancol.org (Daniel Colascione) writes: > >> + /* If that didn't work, try using GnuTLS, which is secure, but on >> + some systems, can be somewhat slow. */ > > Did anybody make an attempt at determining why this is slow on the > reported system? If calling that function is slow on that system, then > presumably that means that opening a TLS connection will now be > inexplicably slow the first time, right? The system isn't managed by me and has some custom security certificate crud that I didn't feel like digging into. You're right about TLS connection delays, but I'm more willing to tolerate the delay in connecting over a network (which is slow anyway) than I am in process startup.