Follow-up Comment #1, patch #4293 (project mldonkey):

While I'm personally a bit skeptical that such patch is necessary (by the
time mldonkey has so many open sockets at once that such patch is of
noticeable benefit, something is probably wrong with connections management),
here's a report of what has been said on #mldonkey:

The way to go is probably to use the libevent library
(http://www.monkey.org/~provos/libevent), thru the existing Ocaml bindings
(http://www.xs4all.nl/~mmzeeman/ocaml/event-doc/Libevent.html).

Benefits:

* shields the application from the mecanism effectively available on the
platform: select(), poll(), kqueue(), epoll(),... Maybe later win32 fibres,
etc, etc.
* will require a major rewrite of basicSocket.ml (and modifications to its
client modules), which may be a good thing to reach the expected performance
improvements anyway.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=4293>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/



_______________________________________________
Mldonkey-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-users

Reply via email to