delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
X-Mailer: | QUALCOMM Windows Eudora Version 7.1.0.9 |
Date: | Mon, 07 Jan 2008 17:34:42 -0500 |
To: | cygwin AT cygwin DOT com |
From: | George Wyner <gwyner AT computer DOT org> |
Subject: | Observation: setting HOME to "/" can lead to slow cygwin |
Mime-Version: | 1.0 |
Message-ID: | <4782a905.21a47e0a.1a4f.ffffedd7@mx.google.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
I am running Cygwin 1.5.25 on Windows XP Professional (Ver 5.1 Build 2600 Service Pack 2) No longer sure why, but at some point I set my HOME directory to C:\cygwin Running cygwin on my machine was quite slow, especially when starting bash and running man and info (2-5 seconds for each). I also noticed that nano complained it could not find the file "//.nanorc" I changed the home directory in my passwd file to /home/gwyner at which point the slowdown vanished: bash, man, and info are now fast. the nano error also went away. End of observation. Start of uninformed speculation: I suspect that this is a variation on the network share cause of slowdown reported in the FAQ (http://cygwin.com/faq/faq.using.html#faq.using.slow) -- I suspect that because HOME was set to "/" that directory references beginning with the prefix $HOME/ would resolve to // and therefore be interpreted as a network share. It may be that "//" showed up somewhere in my environment and I did not see it (although I looked) but if that is not so then it might be worth flagging the above configuration as another potential source of problems. (Perhaps more likely with windozy users like me who may not have the right intuitions or knowledge about where to put the home directory.) --George Wyner -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |