Linux Kernel 2.4 Useful Patches

Web access to the GIT repository - GIT access to the repository

epoll-lt : a very scalable event polling mechanism

The epoll mechanism is a powerful replacement for poll() and select() because it is not sensible to the number of file-descriptors. It can transparently support tens of thousands of FDs without any measurable slow down. It has been merged into 2.6, but this patch allows demanding applications to achieve very high performance on 2.4 too.

Description:a very scalable event polling mechanism
Author(s):Davide Libenzi
See also:poll-optim-jiffies
Abstract:The epoll mechanism is a powerful replacement for poll() and select() because it is not sensible to the number of file-descriptors. It can transparently support tens of thousands of FDs without any measurable slow down. It has been merged into 2.6, but this patch allows demanding applications to achieve very high performance on 2.4 too.

Notes

This patch only implements the level-triggered (LT) mode. The edge-triggered mode (ET) is only available in 2.6 kernels. Anyway, most applications only use the LT mode.

Contents


(C) Willy Tarreau - 2008-06-01