On Sun, Oct 24, 2010 at 18:50, Jérémie Dimino <jere...@dimino.org> wrote:
> I made an implementation of lwt using libev [1]. I tested it with
> ocsigen and ab but the result was always a bit better with select than
> with epoll. That is why i did not replace select by libev in the main
> branch. In fact i never found the source of any benchmark comparing
> select to epoll on the web.

The performance of select was also usually slightly better in my
experiments than with epoll for at least a few tens of descriptors.
It really depends on what your requirements are.  If you are facing
hundreds or even thousands of connections, you'll probably want to
consider epoll.  select does not scale well.

Regards,
Markus

-- 
Markus Mottl        http://www.ocaml.info        markus.mo...@gmail.com

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to