Willy Tarreau 8096de9a99 [MEDIUM] http: revert to use a swap buffer for realignment
The bounce realign function was algorithmically good but as expected
it was not cache-friendly. Using it with large requests caused so many
cache thrashing that the function itself could drain 70% of the total
CPU time for only 0.5% of the calls !

Revert back to a standard memcpy() using a specially allocated swap
buffer. We're now back to 2M req/s on pipelined requests.
2010-02-26 11:12:27 +01:00
..
2010-02-02 11:28:20 +01:00
2009-10-18 08:20:26 +02:00
2009-01-25 13:49:53 +01:00
2007-05-13 20:19:55 +02:00