]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MAJOR] introduced speculative I/O with epoll()
authorWilly Tarreau <w@1wt.eu>
Sun, 15 Apr 2007 22:53:59 +0000 (00:53 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 15 Apr 2007 22:53:59 +0000 (00:53 +0200)
commitde99e99ecf88d6a29deec101cc31eb2141a6b1ae
treec1561aef806f70178dae215cc1ab52aa7c544520
parentef1d1f859b3a9599c6b134ef5996c7851503739d
[MAJOR] introduced speculative I/O with epoll()

The principle behind speculative I/O is to speculatively try to
perform I/O before registering the events in the system. This
considerably reduces the number of calls to epoll_ctl() and
sometimes even epoll_wait(), and manages to increase overall
performance by about 10%.

The new poller has been called "sepoll". It is used by default
on Linux when it works. A corresponding option "nosepoll" and
the command line argument "-ds" allow to disable it.
Makefile
doc/haproxy-en.txt
doc/haproxy-fr.txt
include/types/polling.h
src/cfgparse.c
src/ev_sepoll.c [new file with mode: 0644]
src/haproxy.c