Libev vs. libevent benchmark (reloaded)

Marc Lehmann schmorp at schmorp.de
Mon Apr 19 01:22:34 CEST 2010


On Tue, Apr 13, 2010 at 03:26:19PM +0200, Gabriel Kerneis <kerneis at pps.jussieu.fr> wrote:
> See the attached script.  You might need to tweak it a bit (especially
> the cpufreq-set call) but otherwise, it automates completely the
> benchmark (provided you have the expected tools installed).

As an interesting side-note, it seems libevent-2.0.4 uses the same
trick as libev w.r.t. epoll now, except that it doesn't protect against
the "linux epoll fork bug" (or the "deliberate design", depending on
viewpoint), which explains the many reports I got that libevent-2 went
into busy loops after a fork (which I thought impossible).

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\




More information about the libev mailing list