mldonkey kqueue patch (replace select/poll)
Mario Sergio Fujikawa Ferreira
lioux at FreeBSD.org
Tue Aug 9 03:40:30 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
mldonkey is a OCAML/GTK client for a number of peer-to-peer networks
including edonkey, overnet and kademlia.
I just wrote a patch against ports/net/mldonkey-devel version 2.6.0
to support kqueue(2) FreeBSD kernel event notification mechanism. It is
meant to replace select/poll inside mldonkey.
kqueue scales better than select/poll not to mention that it should
I am having a little bit of trouble with this patch. mldonkey loads
and I am able to connect to the daemon through both the web interface
and kmldonkey. However, I am unable to connect to servers.
I am pretty sure I am assuming something wrong about the interaction
of the ml_fd_* C functions and mldonkey ocaml code. Are there any
takers to help me on this one? It should really improve performance
under FreeBSD and possibly other *BSD platforms.
ps: Please, include on CC: replies since I am no longer subscribed to
this mailing list.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)
-----END PGP SIGNATURE-----
More information about the freebsd-stable