ioctl() on socket fd's take 3 seconds on 1.7.7

Jason Curl jcurlnews@arcor.de
Tue Nov 23 14:53:00 GMT 2010


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



More information about the Cygwin mailing list