Ortwin Glück wrote:
Does the stuff below sound interesting? Could it speed up the NIO
implementation compared to blocking IO on Linux? ...
From the JDK-1.5.0_10 release notes at
http://java.sun.com/j2se/1.5.0/ReleaseNotes.html#150_10
"Support for epoll ...
Yes, epoll is nice. I do not have any benchmarks for it though.
SUN 1.6.0 jvm uses epoll as the default selector.
I did a few trivial benchmarks for 1.5 vs 1.6, but that is soo much
more than epoll.
I did also find a bug in the epoll selector. There are patches
that fixes it and it will probably be good in 1.6.0_01 and hopefully
also 1.5.0_11.
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6481709
I am not sure if this bug will bite you or not, but a http
server or a http clients both sounds like something that will do socket
_and_ file io at the same time, so be careful about epoll until the
next bugfix release.
/robo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]