delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/27/19:26:27

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
Date: Thu, 28 Nov 2002 01:24:28 +0100
From: thomas <tom AT huno DOT net>
Reply-To: thomas <tom AT huno DOT net>
X-Priority: 3 (Normal)
Message-ID: <14946092609.20021128012428@huno.net>
To: thomas <cygwin AT cygwin DOT com>
Subject: Re: pipe performance problem
In-Reply-To: <1245871093.20021128012046@huno.net>
References: <20021122210856 DOT GA10679 AT redhat DOT com>
<777770015 DOT 20021122040845 AT huno DOT net> <007301c291ff$eb9ce050$78d96f83 AT pomello>
<21545718 DOT 20021122114035 AT huno DOT net> <12415481703 DOT 20021122220059 AT huno DOT net>
<20021122210856 DOT GA10679 AT redhat DOT com>
<5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20021122143402 DOT 00fdc148 AT pop3 DOT cris DOT com>
<10824453046 DOT 20021123003030 AT huno DOT net> <14936170000 DOT 20021127223905 AT huno DOT net>
<20021127233624 DOT GK17798 AT redhat DOT com> <1245871093 DOT 20021128012046 AT huno DOT net>
MIME-Version: 1.0

thomas <tom AT huno DOT net> wrote:

>    26  245082 [main] dd 3100 readv: DEBUG 1.a syscalls.cc
>    23  245105 [main] dd 3100 readv: DEBUG 1.b syscalls.cc
>    23  245128 [main] dd 3100 readv: DEBUG 2.a syscalls.cc
>    23  245151 [main] dd 3100 readv: readv (0, 0x240FD9C, 1) blocking, sigcatchers 4
>    24  245175 [main] dd 3100 readv: DEBUG 2.b syscalls.cc
> 10508  255683 [main] dd 3100 peek_pipe: DEBUG 7.0 select.cc
>    76  255759 [main] dd 3100 peek_pipe: /dev/piper, ready for read
>    27  255786 [main] dd 3100 peek_pipe: DEBUG 7.1 select.cc
>    25  255811 [main] dd 3100 peek_pipe: DEBUG 7.2 select.cc
>    26  255837 [main] dd 3100 fhandler_base::ready_for_read: read_ready 1, avail 1
>    25  255862 [main] dd 3100 readv: DEBUG 2.d syscalls.cc

> If i'm not misinterpreting things readv (DEBUG 2.b) is actually the
> problem and not peek_pipe. DEBUG 7.0 is always there, even if there is
> no delay, so that cannot be it.

After i sent the mail i saw that DEBUG 2.b is of course always there
too. But still according to the timeline it must be it. But just for
completeness, here is the DEBUG 7.x stuff from select.cc (line 464):

  if (n > 0 && s->read_selected)
    {
      debug_printf ("DEBUG 7.0 select.cc");
      select_printf ("%s, ready for read", fh->get_name ());
      debug_printf ("DEBUG 7.1 select.cc");
      gotone += s->read_ready = true;
      debug_printf ("DEBUG 7.2 select.cc");
    }

thomas


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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