This is the mail archive of the
mailing list for the Cygwin project.
Re: select() too slow
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
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
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.
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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html