From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,fdfaa240ce25c8de,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-09-02 23:09:08 PST Newsgroups: comp.unix.osf.osf1 Path: bga.com!news.sprintlink.net!uunet!MathWorks.Com!yeshua.marcam.com!charnel.ecst.csuchico.edu!csusac!csus.edu!netcom.com!andrewtc From: andrewtc@netcom.com (Andy) Subject: Q: application slowdown Message-ID: Organization: NETCOM On-line Communication Services (408 261-4700 guest) X-Newsreader: TIN [version 1.2 PL1] Date: Sat, 3 Sep 1994 04:22:42 GMT DEC OSF/1 wizards! I have a mysterious problem of dramatical execution speed slowdown in a new version of my application. Some symptoms: - enormous amount of time spent in system state: user time = 20 sec, system time = 5 min, whereas the previous version gives something like 20 sec and 40 sec. - apparently related to the previous increased number of involuntary context switches (as given by getrusage() ): from about 3,000 in previous version, to 60,000 in the new version. - it cannot be misalignment trap as otherwise the kernel(?) would give a message. - pixie/prof don't show any suspicious deviations The application is primarily dealing with floating point computation, with dynamically allocated data structures. What changed since previous version is that some data structures got some new fields, and we upgraded C compiler (but I'm not in favor of blaming the compiler in everything). Any help will be much appreciated! Dmitri