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:message-id:in-reply-to:references :subject:mime-version:content-type:content-transfer-encoding; q= dns; s=default; b=abMoaE8BHnNdvMdkMp3uFeWmN3QTtTTVc7iSuFljhIacGA mI3t7yOnXbBaVw/na5d5E50NC87vzEHsYJrGbRYTJog+f6Iw8pa+7vf6aDAyXrUX Kgg3Xfe+/8LmwNr0hdztfTC59zFTyyiekj8Ism+K1Q9ebolqvWJVrLFO9JrdU= 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:message-id:in-reply-to:references :subject:mime-version:content-type:content-transfer-encoding; s= default; bh=gsGYaLtVEcCm9DLuTnvl2Ci83L8=; b=R5fJMnIBRZBm+6rnxtWL He6btF8BZiybIXXqw+yuGBAP/nd1Uf5827cqQCUkA5/ehGa0NDsFSIFvgazlp4Lp wpzek5BPQ1f7eDQjWBBIOxS2UNxitf8eJiyACa1N4LoQuTR+k/+S/99OZ1loaSuU v1FUN7xfqEus5dw6hE+stVg= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.0 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,URI_HEX autolearn=no version=3.3.2 X-HELO: mbob.nabble.com Date: Wed, 12 Aug 2015 04:59:24 -0700 (MST) From: mku To: cygwin AT cygwin DOT com Message-ID: <1439380764318-120458.post@n5.nabble.com> In-Reply-To: <20150810160150.GD13029@calimero.vinschen.de> 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> Subject: Re: commands spends time in cygheap_user MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. If I look to the strace output from 1.7.28 the following lines (without the 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] = 'ls' 19 10759 [main] ls 64316 build_argv: argv[1] = '-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. Perhaps this helps in finding the problem. -- View this message in context: http://cygwin.1069669.n5.nabble.com/commands-spends-time-in-cygheap-user-tp119766p120458.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple