From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Francis Litterio Newsgroups: gmane.emacs.devel Subject: Re: CVS Emacs on Windows XP takes 60 seconds to start Date: Tue, 02 Sep 2008 16:55:04 -0400 Message-ID: References: <48BD9EA0.60608@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220390174 18519 80.91.229.12 (2 Sep 2008 21:16:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Sep 2008 21:16:14 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 02 23:17:09 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KadEz-0003QQ-51 for ged-emacs-devel@m.gmane.org; Tue, 02 Sep 2008 23:16:45 +0200 Original-Received: from localhost ([127.0.0.1]:58492 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KadDz-0004lf-Ua for ged-emacs-devel@m.gmane.org; Tue, 02 Sep 2008 17:15:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KadDu-0004kw-R1 for emacs-devel@gnu.org; Tue, 02 Sep 2008 17:15:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KadDt-0004kQ-1N for emacs-devel@gnu.org; Tue, 02 Sep 2008 17:15:38 -0400 Original-Received: from [199.232.76.173] (port=58877 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KadDs-0004kN-T5 for emacs-devel@gnu.org; Tue, 02 Sep 2008 17:15:36 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:58213 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KadDs-0001I9-Ss for emacs-devel@gnu.org; Tue, 02 Sep 2008 17:15:37 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KadDp-0005dC-By for emacs-devel@gnu.org; Tue, 02 Sep 2008 21:15:33 +0000 Original-Received: from shell01.theworld.com ([192.74.137.71]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Sep 2008 21:15:33 +0000 Original-Received: from flitterio by shell01.theworld.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Sep 2008 21:15:33 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 54 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: shell01.theworld.com X-Draft-From: ("nntp+news.gmane.org:gmane.emacs.devel" 103445) X-Random-Quote: Good breeding consists in concealing how much we think of ourselves and how little we think of the other person. -- Mark Twain User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (windows-nt) Cancel-Lock: sha1:cmiAztMYWmu69ynv91K5Lg2bloc= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:103449 Archived-At: Eli Zaretskii wrote: >> From: Francis Litterio >> Date: Tue, 02 Sep 2008 16:16:55 -0400 >> >> Lennart Borgman (gmail) wrote: >> >> > Francis Litterio wrote: >> >> CVS Emacs built and running on Windows XP seems to perform some network >> >> operations that cause a ~60 second pause after the initial window is >> >> drawn and before the Welcome screen appears. >> >> > Thanks. Is this when you start with default emacs? >> > >> > emacs -Q >> >> Sorry for omitting that. It happens when I run both "emacs -q" and >> "emacs -Q". > > Is this the first time you built the CVS code? If not, when was the > last time you built it (and I presume saw no such slowdown)? This has happened with every successful CVS build since my mysterious build problems disappeared about week ago. I didn't have time until now to investigate further. I have additional information. My machine has a firewall that blocks all outbound TCP and UDP traffic _except_ to trusted ports on trusted hosts (kind of a "whitelist" firewall). I relaxed my firewall to allow outbound TCP connections to ports in the range 1025-1035 (the ones most commonly used by RPC) on any host, and the pause was immediately reduced to less than 5 seconds (which could be attributed to my domain controller's slow response time). As well, after a successful startup in this configuration, the local cache of information obtained from the domain controller seems to live for several minutes, because I don't see any RPC traffic to ports 1025-1035 on my domain controller until I start Emacs again after several minutes. I think my firewall was causing the ~60 second timeout in RPC calls to the domain controller. I would summarize the problem like this: Starting CVS Emacs on a Windows machine attached to a domain when a firewall prevents RPC communication with the domain controller, caused a ~60 second pause during startup. The strange thing is that no other application or Windows functionality was negatively affected by my firewall rules that blocked outbound TCP connections to ports in the 1025-1035 range on my domain controllers. Perhaps Windows uses the SMB ports to communicate with a domain controller if it can't make an RPC call? -- Fran