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:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=RZqrjp3AiG5F+VjiSFt9Li57P8RQapmXQWKiJafspaJfA81uTo4ae
	2iebu0fT5Sc1UMGxklInLnWpwhBeCqu+kTfo5DVgFPuUfSxL8FZGjnD3DvIdCTX0
	O9AKQmT/Wv+C0wMdAgDaoj/3Z4s2sW+EgBG7Yb0ihJTO094ZIoJej8=
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:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=wIQjty+1QkuT6DzDZG1ftjB3uVU=; b=relFO6WtWWlDluHePNURjJzHaILg
	68aMtNQRlNXDKGpq1ckREs1nZQZoyBLk0IdG1EPs7tUau5ryyZNb1XIgaLi3yGIT
	a54YBJXfKmVeEfYGYx18g8CgmsMWbMLe8Ifv2p70kq+zbvGxPEBye32sP+jHbjAf
	qbTyndkuD59Zn8w=
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.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 10 Aug 2015 18:01:50 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: commands spends time in cygheap_user
Message-ID: <20150810160150.GD13029@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <1437114390582-119766.post@n5.nabble.com> <1438937297149-120365.post@n5.nabble.com> <20150807090646.GB12475@calimero.vinschen.de> <1438977081850-120377.post@n5.nabble.com> <20150810084019.GB1559@calimero.vinschen.de> <1439208020687-120403.post@n5.nabble.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;	protocol="application/pgp-signature"; boundary="TybLhxa8M7aNoW+V"
Content-Disposition: inline
In-Reply-To: <1439208020687-120403.post@n5.nabble.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--TybLhxa8M7aNoW+V
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Aug 10 05:00, mku wrote:
> Oh, sorry. I did a fresh 2.2 install to avoid side effects from my previo=
us
> updated one and forgot to modify the nsswitch.conf. After correcting it, =
the
> result now is the same from the time aspect but loading of the net dlls h=
ave
> now disappeared as expected.
> +++ 8< -----
>   280   44318 [main] ls 181944 client_request::make_request: cygserver
> un-availa
> --- Process 181944 loaded C:\Windows\SysWOW64\advapi32.dll at 75400000
> --- Process 181944 loaded C:\Windows\SysWOW64\msvcrt.dll at 76CB0000
> --- Process 181944 loaded C:\Windows\SysWOW64\sechost.dll at 76A00000
> --- Process 181944 loaded C:\Windows\SysWOW64\rpcrt4.dll at 75300000
> --- Process 181944 loaded C:\Windows\SysWOW64\sspicli.dll at 750C0000
> --- Process 181944 loaded C:\Windows\SysWOW64\cryptbase.dll at 750B0000
> --- Process 181944 thread 186236 created
> 4525052 4569370 [main] ls 181944 cygheap_user::ontherange: what 2, pw
> 0x612FFCF0
>   302 4569672 [main] ls 181944 cygheap_user::ontherange: HOME is already =
in
> the
> --- 8< -----
> I don't know how the delta time is calculated. As the time lag is always
> printed after loading the dlls, it may be that the log message is printed
> after the logged step has been completed. If that is true, the time lag m=
ay
> occur while loading one of the dlls or creating the thread.
>=20
> As I mentioned before the same command repeated one second again shows
> normal behaviour (0.406s).
> +++ 8< -----
>   106   20307 [main] ls 201132 client_request::make_request: cygserver
> un-availa
> --- Process 201132 loaded C:\Windows\SysWOW64\advapi32.dll at 75400000
> --- Process 201132 loaded C:\Windows\SysWOW64\msvcrt.dll at 76CB0000
> --- Process 201132 loaded C:\Windows\SysWOW64\sechost.dll at 76A00000
> --- Process 201132 loaded C:\Windows\SysWOW64\rpcrt4.dll at 75300000
> --- Process 201132 loaded C:\Windows\SysWOW64\sspicli.dll at 750C0000
> --- Process 201132 loaded C:\Windows\SysWOW64\cryptbase.dll at 750B0000
> --- Process 201132 thread 201240 created
>  9195   29502 [main] ls 201132 cygheap_user::ontherange: what 2, pw
> 0x612FFCF0
>    95   29597 [main] ls 201132 cygheap_user::ontherange: HOME is already =
in
> the
> --- 8< -----
> If you wait a longer period (e.g. 5 minutes), the first (longer) behaviour
> is shown.
> As this time lag is not seen with Version 1.7.28 on the same machine, I
> assume that it has come with Version 2.2.

Well, it might have been introduced by *any* version later than 1.7.28.
It's very unlikley that this has been introduced by 2.2.0.  From the
above output it's not clear where it hangs.  I'll try to reproduce it
later this week.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--TybLhxa8M7aNoW+V
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVyMruAAoJEPU2Bp2uRE+gRYUP/29ks60cuVcUB3jx133lwFOt
hfFmTudyz8Lv7q9b2NjGjmA+SjDAvYZ4kQiF1v4AZfONOzgbKMzxOavPXYeKO47H
fV3R7s+OYyKczeAMSZ66M5tj0Ky9kTxaRHNBkB5FDuiGnLQdQUSlCFKCk/fNPccD
VB6oyxW6JC/IEr1CKiQjmo6wYTu5GJwJNJh6u//Ro1tnc7UU5wFrZpbR6ZQE89bT
HmHtAtQAs9AL9yAtWvzs1YDISqwVj/FGauKT7Z113ilN+kRC/gtK6DsV+MClkAES
ePFwMnsy0JZlWEbyL65rEWaScS27NLUoMg4toJfOIPp0XKn5rS8prNQcrDI5NwVr
gY1YMVqFnCBkItPYHQOf8kO2CFk+C6ddN51zSM1Bktf+rAAaTjdA0TLoAICGRpC8
+2XIAa+WSLD5r8wmfoh/IReOdZUGtUsJPnaIkeT99AOCBW10cRE3EClFsBtmfGrm
vJnHw4LDSR9+8P0SkInbHxGA8NOyPZh1/3NGUFqXoUxi7UZ4WzgyrJ+SSaJTyhoK
venSccn9zLn7CpqJPtEZ1Q5X/yhk6pFJ4d+htYsU1d6k/Nj5iJNsV9abCIq18sgU
hNKlFV5SZP2wU5vyWli0wmIwt2BSco2suKQxveK0L+MJne3oMzV+Q2sO4vSnokf+
5TjyqTLnY7qtaeEYO9D/
=qdfh
-----END PGP SIGNATURE-----

--TybLhxa8M7aNoW+V--
