From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.bugs Subject: bug#20015: 25.0.50; Slow Emacs startup after recent TRAMP changes Date: Fri, 06 Mar 2015 14:45:11 -0800 Message-ID: <54FA2DF7.8020406@dancol.org> References: <877fuur6eo.fsf@gnu.org> <87pp8mwmun.fsf@gmx.de> <87y4najym7.fsf@gnu.org> <87385iv5s1.fsf@gmx.de> <87pp8mjo4s.fsf@gnu.org> <87lhjanqbs.fsf@igel.home> <87h9tyjhr2.fsf@gnu.org> <877fuunkk9.fsf@igel.home> <87y4nalyu0.fsf@igel.home> <54FA2B80.3020201@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Pl6dK1AdIFSVPrif1cF6MrQp8B6jg4nEk" X-Trace: ger.gmane.org 1425681984 7287 80.91.229.3 (6 Mar 2015 22:46:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Mar 2015 22:46:24 +0000 (UTC) Cc: Tassilo Horn , Michael Albinus , 20015@debbugs.gnu.org To: Andreas Schwab , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 06 23:46:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YU10W-0007EC-2X for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Mar 2015 23:46:12 +0100 Original-Received: from localhost ([::1]:60718 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YU10V-0007uC-Kn for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Mar 2015 17:46:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YU10R-0007t4-Jy for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 17:46:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YU10N-0002k6-4F for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 17:46:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YU10N-0002k0-0X for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 17:46:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YU10M-0004WX-Hy for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 17:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Colascione Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Mar 2015 22:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20015 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20015-submit@debbugs.gnu.org id=B20015.142568192217329 (code B ref 20015); Fri, 06 Mar 2015 22:46:02 +0000 Original-Received: (at 20015) by debbugs.gnu.org; 6 Mar 2015 22:45:22 +0000 Original-Received: from localhost ([127.0.0.1]:37945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YU0zh-0004VO-Ta for submit@debbugs.gnu.org; Fri, 06 Mar 2015 17:45:22 -0500 Original-Received: from dancol.org ([96.126.100.184]:55876) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YU0ze-0004VG-VB for 20015@debbugs.gnu.org; Fri, 06 Mar 2015 17:45:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=pFdc/BVzCToOUylNEelykAPHTLI+XUyYuN+Ch41isE0=; b=SqhNfmk5PLxCVCUQqnthVVbeamLd2ZJr4QFjEoHHGKIeB4mLx3sKOFtMgRRglYvRh5n18bgEsha2yOCxyZ3LerReVFeJJMndBotFOgScIiMBT/fMw6AlegnAGRtklHikc7h6S0D0YbFxFc1AYPfOpJ7ZgEpLmI380R05aIu+jVIurbTIYGSrCe8HJIgCSAcljQXBFVVhSiFSY2CfrFkRmFuYfzAgAVDgvRuyE/qJXxvloFCMNsZnUQEm35mQ2Nb8lNhR3uK2aiWPG4vCwpIgzRpBiFQwsc4LveSISv04v8FJg5pOFCkmHgSq2e4AUy78cUnvxDuBb77cNnMEwqBGdQ==; Original-Received: from [2620:10d:c083:1004:56ee:75ff:fe20:83dc] by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1YU0zd-0003cY-HT; Fri, 06 Mar 2015 14:45:17 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 In-Reply-To: <54FA2B80.3020201@dancol.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:100207 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Pl6dK1AdIFSVPrif1cF6MrQp8B6jg4nEk Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 03/06/2015 02:34 PM, Daniel Colascione wrote: > On 03/06/2015 11:17 AM, Andreas Schwab wrote: >> Stefan Monnier writes: >> >>>>> % time getent ahosts host.does.not.exist >>>>> getent ahosts host.does.not.exist 0,00s user 0,00s system 0% cpu 3= 0,013 total >>>> Which means your system is misconfigured. >>> >>> But that's no excuse to impose such a 30s timeout on the user who did= >>> not actually do anything that would explicitly trigger this problem. >> >> A working hostname lookup is a fundamental part of the system. >=20 > In theory. In practice, lookup is broken all the time, and for good > reason. We can't always know right away when we don't have connectivity= =2E > What if I'm on a train and enter a tunnel? Connectivity is interrupted > for a little while, but not enough to trigger OS network > reconfiguration. It's inexcusable for Emacs to block for 30 seconds on > DNS resolution in this case. It's also unacceptable to start six (by my count) ssh subprocesses, especially on systems like Cygwin, where process creation is very slow. At the very least, this work needs to be delayed until someone tries to use an ssh connection method, and the result should be called. --Pl6dK1AdIFSVPrif1cF6MrQp8B6jg4nEk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJU+i33AAoJEN4WImmbpWBlN5oP/1+A9OYscK1DyIOaM41WofS/ 8RmO7h88HjHEPA6YUxrifcn9MKT4or971exYjswS8QCnq1SEornVRoH4Rn0Fn29o 8sV6xQYiMuB68njAlBfVGW2I3M7YR7ijmloCKTYO8n67ugfptq4NB4qrLcIf8qpP p+CYjmaRWXvcQncSEpHvWc4HebULuwyOdIM5gdMXeXbur1YvhRm2VxpBPYXaVTKj InLUpndjtYwJB8m8JkLNtSqyGTyjCgtqZnuUHp39ghmQfGa28YAsT5ZN6ybkI8Ox gqqlb/J8Rie7BidZpd7t0GTEXmhxXCaXXGCEK9BWaBLYjzUCCXiHbwMQHF7D70qz YJuC2/opmlBLanYo4PoOp41PfOldHzED+SaGSqBn4SuYhTlSkoEAquCx8jrv85re Qt/51qyPYeVSVgwdx1o5aFXx3Io1fSIski7g5/L7zn3N5AcZuSTHUiCWCD4SqhqJ 8zajdP7PSDkB6QBeYNBrREnLBj54AbIbaI5+z1Xx+q1L9LLpg/AA1x9T8H1ULh/N KlcFvB6gAvJVuRieEz0PcIkHM1VyQOcIu7F3LPpA0n3Dy6EoXj12VO1Aq3DiP+Jc jH0bxsdqR2FrwlmGOJGhTv2BfY4yORx4y9SEqlKUD2O960MvvD9EW60KpSJMVSs6 g5A7/WAllqFMomoJbshe =b/UL -----END PGP SIGNATURE----- --Pl6dK1AdIFSVPrif1cF6MrQp8B6jg4nEk--