[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-users] [patch #4293] mldonkey kqueue patch (replace select/pol
|
From: |
pango |
|
Subject: |
[Mldonkey-users] [patch #4293] mldonkey kqueue patch (replace select/poll) for FreeBSD (and others) |
|
Date: |
Sun, 28 Aug 2005 23:08:15 +0200 |
|
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050718 Galeon/1.3.20 (Debian package 1.3.20-1) |
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] [patch #4293] mldonkey kqueue patch (replace select/poll) for FreeBSD (and others),
pango <=