X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=o/bcCGo6zXm7ZIpa
	VhL5IAbu1h9jp32csXUuteXDfwas4d11gIzkx8Msdi3yzscoAgJiqzmuNGxIBB2D
	0TFK7/MIjZe5x+I/wsEXsyFVAor+IjHjzcBq9npSFPfEZv9CodD1RY68PrKQ8uuy
	K2K19TWu/AYcnE8C2xnGyEM1gf8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=2Gk8HZ7FiAjpCgDIKXReXl
	wusE4=; b=Of9v8P14Gz23L1RW21VgGsQtU5DmfBigJ6h/O9VeOfcOOjazss0Ugc
	GqjQwFUKzsy1ZkfELOVfK0W2hsrS7IxwXVTresk9q67MIdCV8AXe+GUbZyYq9lZK
	S5SUV+ax0KXmPVkcbipOxWzvfJtrQERzC5nxNPVimqtnuB5TUgSlU=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=4.0 required=5.0 tests=BAYES_50,FREEMAIL_FROM,GAPPY_SUBJECT,KAM_THEBAT,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*M:yandex, H*F:D*yandex.ru, H*Ad:D*mit.edu, HTo:D*mit.edu
X-HELO: forward2j.cmail.yandex.net
Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.ru
X-Yandex-Suid-Status: 1 0,1 0
Date: Tue, 2 Aug 2016 11:26:49 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <31962217.20160802112649@yandex.ru>
To: Jim Reisert AD1C <jjreisert@alum.mit.edu>, cygwin@cygwin.com
Subject: Re: Cygwin got V E R Y slow after network switchover
In-Reply-To: <CAK-n8j66GOoVbFeFA6q=fMR132+-U0pf4eTrenh8DUjXz1vCYA@mail.gmail.com>
References: <CAK-n8j66GOoVbFeFA6q=fMR132+-U0pf4eTrenh8DUjXz1vCYA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id u728ZXwJ011397

Greetings, Jim Reisert AD1C!

> Our company recently switched to an "active directory" network, with
> different login credentials.  Don't ask me what that is exactly.  Ever
> since, anything having to do with Cygwin takes seconds or minutes,
> whereas it used to be instantaneous.  Even having "uname -a" in a Take
> Command (like CMD.EXE) shell causes the shell window to take seconds
> to come up.  Comment out the uname, and the shell window comes up
> instantaneously.  You don't want to know how long I have to wait for
> an Xterm to start so I can run Emacs to open a file...

You could probably speed it up by running cygserver, which will provide
credentials caching for all Cygwin processes running in the system.
On another note, this is most unsettling to hear.
Do you run latest Cygwin? Are you connected directly to the network, or
remotely?

> My /etc/nsswitch.conf is as follows (the only thing I define is db_home).

> # passwd:   files db
> # group:    files db
> # db_enum:  cache builtin
> # db_home:  /home/%U
> db_home:  /cygdrive/c/Users/jr920141/Box%_Sync/Home

That's one very wrong db_home…

> # db_shell: /bin/bash
> # db_gecos: <empty>

> I've attached cygcheck.out but don't know if that will help.

> It's the exact same laptop.  I don't know why a network change would
> cause Cygwin to slow down so much.  Suggestions or speculations would
> be appreciated!


-- 
With best regards,
Andrey Repin
Tuesday, August 2, 2016 11:24:43

Sorry for my terrible english...

