From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15189 invoked by alias); 12 Aug 2015 14:47:57 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 15174 invoked by uid 89); 12 Aug 2015 14:47:57 -0000 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 Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 12 Aug 2015 14:47:56 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 292CDA80565; Wed, 12 Aug 2015 16:47:54 +0200 (CEST) Date: Wed, 12 Aug 2015 14:47:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: commands spends time in cygheap_user Message-ID: <20150812144754.GJ13029@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> <20150810160150.GD13029@calimero.vinschen.de> <1439380764318-120458.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IbVRjBtIbJdbeK1C" Content-Disposition: inline In-Reply-To: <1439380764318-120458.post@n5.nabble.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-08/txt/msg00171.txt.bz2 --IbVRjBtIbJdbeK1C Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1978 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 Content-length: 819 -----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--