www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT 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=c3vk3OE4tFH1ttL5S/W8KWF518zpE2zTtkIFDiSPx1Ic/baLabJkk | |
1fr/jCUssVBb2kILVw38D0GGi5KIQaMhCxBi25z0MTt/2PApolu/VXFJ8Aw42ixD | |
fSXrPfSt8dWm9wR80hG773PcT8ciDtHWKWpz41ScHhj31kpHJNUfQI= | |
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=gzap7eH2egqNFF/5YyOpwidgzLE=; b=HxGcIDLcUQjqP/0A/dmqNUW9v88E | |
HBPDGZbdQc3bT7qivCvmav+fKPp2ubTfASFYXV+ZloDoRHjLiPf1/jeJ2A34q9ua | |
IhcIFmTgkjjpg8tkaLl2szmhE/xGaWnSvVnBfHxA985ichrNWs4ZOFRolkS0Lgzj | |
jE1/PGAjkgIbOYo= | |
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 |
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: | Wed, 12 Aug 2015 16:47:54 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: commands spends time in cygheap_user |
Message-ID: | <20150812144754.GJ13029@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <1437114390582-119766 DOT post AT n5 DOT nabble DOT com> <1438937297149-120365 DOT post AT n5 DOT nabble DOT com> <20150807090646 DOT GB12475 AT calimero DOT vinschen DOT de> <1438977081850-120377 DOT post AT n5 DOT nabble DOT com> <20150810084019 DOT GB1559 AT calimero DOT vinschen DOT de> <1439208020687-120403 DOT post AT n5 DOT nabble DOT com> <20150810160150 DOT GD13029 AT calimero DOT vinschen DOT de> <1439380764318-120458 DOT post AT n5 DOT nabble DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <1439380764318-120458.post@n5.nabble.com> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--IbVRjBtIbJdbeK1C Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Aug 12 04:59, mku wrote: > I compared strace output between the 2.2 and 1.7.28 installation and it > seems, that loading the dll files before the cygheap_user log entry is > responsible for the time lag.=20 > If I look to the strace output from 1.7.28 the following lines (without t= he > dll loads) are shown: > +++ 8< ------ > 31 9709 [main] ls 64316 pinfo_init: Set nice to 0 > 19 9728 [main] ls 64316 pinfo_init: pid 64316, pgid 64316, > process_state 0x41 > 17 9745 [main] ls 64316 App version: 1007.10, api: 0.259 > 19 9764 [main] ls 64316 DLL version: 1007.28, api: 0.271 > 17 9781 [main] ls 64316 DLL build: 2014-02-09 21:06 > 19 9800 [main] ls 64316 dtable::extend: size 32, fds 0x612AD6C4 > 319 10119 [main] ls 64316 pwdgrp::load: \etc\passwd curr_lines 8 > 30 10149 [main] ls 64316 pwdgrp::load: \etc\passwd load succeeded > 323 10472 [main] ls 64316 pwdgrp::load: \etc\group curr_lines 58 > 35 10507 [main] ls 64316 pwdgrp::load: \etc\group load succeeded > 26 10533 [main] ls 64316 cygheap_user::ontherange: what 2, pw > 0x8003A770 > 25 10558 [main] ls 64316 cygheap_user::ontherange: HOME is already in > the environment /home/ > 120 10678 [main] ls 64316 internal_setlocale: Cygwin charset changed > from UTF-8 to ISO-8859-1 > 62 10740 [main] ls 64316 build_argv: argv[0] =3D 'ls' > 19 10759 [main] ls 64316 build_argv: argv[1] =3D '-lrt' > --- 8< ------- > Yes, this Version has nsswitch.conf in the default configuration (with db > entries) so you see the pwdgrp log entries but it is very fast.=20 > Perhaps this helps in finding the problem. Thanks, but I think this is a red herring. The strace from 1.7.28 didn't even print the dll loads. This is an extension to strace which has been added with Cygwin 2.1.0. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --IbVRjBtIbJdbeK1C Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVy1yaAAoJEPU2Bp2uRE+gnCsP/i71mzEhY13NXqVloSRqQuaA YDsbXk3fOgYgOxOc203GfJmG5Iba6y0Vydg4cRSeE/qbCP33lVLIwuCdXV0yZMOc eQYjhtZD3iOqkzR3Cs/WrRw8RgiI+pThEkcNcu6hqAlx/Ib7fj4hx8jfhjYaFV0t JTGz66u+RyTeXE3Tbhd6x/bQeccy/NNCT5O0ehm3WuEILQ2IuRjXpB7Mr59rtzPv 3T3EicrlNsyMUT+MAXiIhRiph8umjJ3nuWAmZBS3p6eyfC3aUfLrR2+P83l4dqs3 yWs5UF4QhWWumpn4QbkV+ZZV/ZqWxdJvovkF+Fbq0VcM8F2chj2VJdda91DqqKJ1 7pzEEVccFH2Nd/gFQKUjW0ApFmPJWDidVf3iLBllpXmbjrQIh232hA61frgVAYep b8lRKYMO29U8dX0sWwkZayMPdxhY0rIjNwsqDEn6ON7CM9AC1x/kMwm5DqkB0fqH J7yw1QLj3vtgSyA2CJ0HCCqB0NvsDaIWRPX9R9QIxlqH5dR5GetZ632TrYgz2jCt 38Wf8QVBHCnTnZ9fWTRW+5nR7DgPVfHIALqsZ6Qb9HL/O1Oxd6wr/eVoTXEq652s 46ujIFmqr6tSAJ3zXglC0bSJGIWnE0892S1RkDKwuds2t16kpmj2re4NwhtTxURl EY7tcb+kghKjgXaHtFhA =NZKS -----END PGP SIGNATURE----- --IbVRjBtIbJdbeK1C--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |