select() too slow

Pedro Inacio pedro.inacio@honeynet-pt.org
Sat Mar 11 18:04:00 GMT 2006


On 2006/03/11, at 15:40, Eric Blake wrote:

>
> I'm afraid that this is not a very good bug report, as you have not
> attempted to describe WHAT is too slow, and have not provided a simple
> test case that compiles out of the box, with timing numbers on the  
> test
> case compared between Linux and Cygwin.  Cygwin is only as fast as the
> underlying Windows system calls permit it to be.  Also, cygwin is open
> source.  Go look at the source code to select() and you will see  
> that it
> is very complex, since Windows does not provide good hooks for an
> efficient implementation.  If you would like it to be faster, then
> consider writing a patch to cygwin that can speed it up.
>


Eric,

first of all this is not a bug report, but just trying to understand  
what might be the problem.
If I knew what the problem is I was not asking if there is any known  
issue, a fix, or something.
I've read the archives before posting and there are some guys with  
similar problems but no answers.

I know that the select() function on windows is quite different and  
not very handy.
One thing is weird for sure, similar code works just fine on Unix but  
is not very performante on Windows.

I want to know if someone have found some way to deal with this  
strange issue.


Thanks

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



More information about the Cygwin mailing list