From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master a37eba8: Speed up initialization by preferring /dev/urandom to GnuTLS Date: Mon, 31 Oct 2016 17:39:51 +0200 Message-ID: <83ins8plx4.fsf@gnu.org> References: <20161030030058.8530.81219@vcs.savannah.gnu.org> <20161030030058.972D62201D5@vcs.savannah.gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1477929657 27213 195.159.176.226 (31 Oct 2016 16:00:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 31 Oct 2016 16:00:57 +0000 (UTC) Cc: larsi@gnus.org, emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 31 17:00:47 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 1c1F0K-00022l-Kb for ged-emacs-devel@m.gmane.org; Mon, 31 Oct 2016 17:00:08 +0100 Original-Received: from localhost ([::1]:36583 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1F0N-0007P8-7V for ged-emacs-devel@m.gmane.org; Mon, 31 Oct 2016 12:00:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1EgZ-0005Vq-N0 for emacs-devel@gnu.org; Mon, 31 Oct 2016 11:39:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1EgU-0005Du-Qc for emacs-devel@gnu.org; Mon, 31 Oct 2016 11:39:43 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1EgU-0005Dq-ND; Mon, 31 Oct 2016 11:39:38 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3116 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c1EgT-0008Rm-W3; Mon, 31 Oct 2016 11:39:38 -0400 In-reply-to: (message from Daniel Colascione on Sat, 29 Oct 2016 23:51:21 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:209019 Archived-At: > From: Daniel Colascione > Date: Sat, 29 Oct 2016 23:51:21 -0700 > Cc: emacs-devel@gnu.org > > 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. I think the decision was to install this on emacs-25, so please cherry-pick from master. Thanks.