mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
Using posix_fadvise() it is possible to tell the system that we're going to read a whole file at once. The kernel then doubles the read-ahead size for this file. On Linux with an SSD, this has improved cold-cache performance by around 20%. Hot-cache is not affected at all. |
||
|---|---|---|
| .. | ||
| fgets2.c | ||
| halog.c | ||
| Makefile | ||