Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LibOS] Use static buffer for first thread executing
sendfile()
This performance optimization uses a statically allocated buffer instead of allocating on the heap in the `sendfile()` syscall. To prevent data races on a single static buffer, this optimization is applied only to the first thread. This optimization is useful for sendfile-heavy workloads, e.g. Nginx in HTTP mode (and with config `sendfile=on`). Co-authored-by: TejaswineeL <tejaswinee.ramdas.langhe@intel.com> Signed-off-by: TejaswineeL <tejaswinee.ramdas.langhe@intel.com> Signed-off-by: Dmitrii Kuvaiskii <dmitrii.kuvaiskii@intel.com>
- Loading branch information