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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=vrdJpWNLSHL74Z0uJHD9lAw3aqrnuNGtRlzqiFpThAyFXzC3JErfy OLlN61vKjRWY0QmxLIq3WOqKuC0S0UAF3NPQ1JXZy7+cyrwRPrVte4vvJoh5gs0Y y/IBmDi6ujfFY/QezRUhzb2uBf6TzD2WAG145wLuD6BMvCbXAgocDI= 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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=Ya2YOzv5Ya/TmIugoU/KGToGCS0=; b=xRQHrUwJXcbWbt16sM6ZC9gx281U vCmSL31xhP9OVJJYAqY+95fkE/wd54YEj7GtNK2R7DhKijNZysSwW5cdJHouarKR zZd5c2k/+ru/z24kTdQUay6SryH6i34qBvi/HaNxLDeuOm59NbwhvS1y1Hd3hbfG 9Jd82UzbJU4vmg4= 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=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Mark Geisert Subject: Re: cygwin1.dll and cygstdc++-6.dll account for over 70% of application runtime cost Date: Tue, 18 Nov 2014 19:27:07 +0000 (UTC) Lines: 23 Message-ID: References: <546A96B9 DOT 5060507 AT web DOT de> <546A9B74 DOT 5020807 AT web DOT de> <546B336E DOT 6010904 AT web DOT de> <1DD30E94-585F-4096-BC50-24F8C2EC2AA4 AT cygwin DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes Corinna Vinschen writes: > On November 18, 2014 12:54:22 PM CET, Olumide wrote: > >Thanks Corinna. > > > >My application does not explicitly use XSI IPC functions. It's an > >ordinary C++ application compiled with gcc. > > Your app calls shmat, either the exe or some DLL. > > >BTW, are ZN4muto7releaseEP7_cygtls and ZN4muto7acquireEm also XSI > >function? > > No, these are Cygwin-internal sync methods, apperantly called quite often I suspect it's either the IPC functions are called quite often, or the profiler's timer interrupts are hitting so fast relative to the speed of IPC that you're always caught on a Windows kernel call (such as an event wait) underlying Cygwin's IPC implementation. Looks like the OP would have to debug the app and set a breakpoint at shmat to determine which DLL is using IPC if the app isn't. ..mark -- 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