delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/23/09:10:42

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Jason Curl <jcurlnews AT arcor DOT de>
Subject: Re: ioctl() on socket fd's take 3 seconds on 1.7.7
Date: Tue, 23 Nov 2010 14:10:12 +0000 (UTC)
Lines: 23
Message-ID: <loom.20101123T145505-409@post.gmane.org>
References: <ibb083$e9c$1 AT dough DOT gmane DOT org> <20101115162242 DOT GF17405 AT calimero DOT vinschen DOT de> <4CE8046F DOT 2090106 AT arcor DOT de> <20101122131729 DOT GT18309 AT calimero DOT vinschen DOT de> <icejqh$3e3$1 AT dough DOT gmane DOT org> <20101123101856 DOT GA18309 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:

> 
> On Nov 22 21:29, Jason Curl wrote:
> > The actual delays are caused by SendARP() called from get_xp_ifs().
> > Interestingly enough, it isn't always slow, only sometimes.
> > [...]
> 
> First of all, thanks for looking deeper into this.

Thanks for taking notice for my initial problem.

> This autoconfig address is returned by GetAdapterAddresses so it has
> been configured at one point, even if the interface is not visible.
> 
> Ok, so SendARP is kind of a problematic call.  As you can see from the
> source code, it's only called to set the IFF_NOARP flag.  Probably
> that's a bit over the top.  What about just disabling this code?

I'll try this out on my next opportunity. I personally have no need for 
IFF_NOARP.

Jason.


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

- Raw text -


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