delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
Message-ID: | <002001c30f60$523ccfe0$24784e51@ellixia> |
From: | "Elfyn McBratney" <elfyn-cygwin AT exposure DOT org DOT uk> |
To: | "cygwin" <cygwin AT cygwin DOT com> |
References: | <Pine DOT GSO DOT 4 DOT 44 DOT 0304301513591 DOT 18331-100000 AT eos> <01c701c30f5b$1e283d20$9aea86d9 AT ellixia> |
Subject: | Re: App w/excessive soft page faults |
Date: | Wed, 30 Apr 2003 22:07:14 +0100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
> > I have an app that is generating excessive soft page faults 500-700+/sec. > > pfmon shows they happen here: > > > > SOFT: RtlTimeFieldsToTime+0x3dd : 0a7cb004 > > SOFT: stricmp+0x2f6 : 0a7da3ac > > > > This pattern repeats endlessly. > > > > We probably do make a lot of time related calls, but is this page faulting > > behavior "normal"? Any idea of how to track this back through cygwin1.dll > > and into my app? Thanks. > > First you need to compile your application with debugging symbols (the '-g' > flag to gcc/c++). Once you've done that you can start your program under gdb > like so > > $ gdb /path/to/app.exe > (gdb) run [put any args here] > > and you can then issue the 'bt' command to gdb to get the backtrace, or if > you suspect the problem is occurring inside the (Cygwin) DLL you can do > > (gdb) dll cygwin1 > (gdb) thread 1 > (gdb) bt > > this... I may have some of the above wrong (?). Having just re-read that, if your program functions and doesn't SIGSEGV then it it won't be stack dumping, will it? Elfyn -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |