delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/23/15:37:36

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
Resent-date: Wed, 23 Apr 2003 14:36:59 -0500
Date: Wed, 23 Apr 2003 13:59:34 -0500
Resent-from:
From: "Matthew W. Roberts" <robermat AT uwplatt DOT edu>
Subject: Re: Upgraded, CYGWIN *much* slower
In-reply-to: <Pine.GSO.4.44.0304231355130.25233-100000@slinky.cs.nyu.edu>
To: cygwin AT cygwin DOT com
Cc: "Matthew W. Roberts" <robermat AT uwplatt DOT edu>
Resent-message-id: <01KV2JJLLTOCJ9V4Q4 AT uwplatt DOT edu>
Message-id: <20030423185933.GA1964@ottabcxyz>
X-VMS-To: IN%"cygwin AT cygwin DOT com"
X-VMS-Cc: IN%"robermat AT uwplatt DOT edu" "Matthew W. Roberts"
MIME-version: 1.0
User-Agent: Mutt/1.4i
X-Auth-No:
References: <20030423172510 DOT GA1768 AT ottabcxyz>
<Pine DOT GSO DOT 4 DOT 44 DOT 0304231355130 DOT 25233-100000 AT slinky DOT cs DOT nyu DOT edu>

> > Looks like I'm going to have to roll up my sleeves, compile a
> > debug version of one of the offending programs, and see what's
> > really causing the problem.

> Before you do that, you might wish to run the offending programs under
> "strace".

Ran "strace" and the most time-consuming system calls were:

84604 3814935 [main] vim 1992 readv: readv (6, 0x22EB90, 1) blocking, sigcatchers 19
92088 2548200 [main] vim 1992 readv: readv (4, 0x22F600, 1) blocking, sigcatchers 19
96805 7012741 [main] vim 1992 readv: readv (5, 0x22F2B0, 1) blocking, sigcatchers 19
106822 6915348 [main] vim 1992 readv: readv (5, 0x22F2B0, 1) blocking, sigcatchers 19
110040 2337183 [main] vim 1992 cwdstuff::get: posix /tmp
167417 9815084 [main] vim 1992 writev: writev (1, 0x22F9B0, 1)
252042 6702013 [main] vim 1992 readv: readv (5, 0x22F2B0, 1) blocking, sigcatchers 19
322631 5929674 [main] vim 1992 readv: readv (5, 0x22F2B0, 1) blocking, sigcatchers 19
512837 14355860 [select_pipe] vim 1992 peek_pipe: /dev/piper, ready for read
998746 2134752 [main] vim 1992 nanosleep: 0 = nanosleep (999, 0)
998975 1135614 [main] vim 1992 nanosleep: 0 = nanosleep (999, 0)
1105267 9616875 [main] vim 1992 cygwin_gethostname: name ottabcxyz
4000071 13834069 [main] vim 1992 select_stuff::wait: timed out

The full output too large to attach.

A lot of it just seems to be waiting around.  The last line of
output is:

2458 14480012 [main] vim 1992 _pinfo::exit: Calling ExitProcess 0

There is a noticeable delay after this -- several seconds.  And it
only occurs in "sizeable" programs (e.g., bash, vim, mutt).  More
liteweight fare such as awk, more, /bin/ls, etc. do not have the delay.

Any suggestions are appreciated.  Based on the results from strace,
I'm not sure running a debugger will give me many answers.

Matt


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019