diff options
author | Max Romanov <max.romanov@nginx.com> | 2019-12-24 18:03:56 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2019-12-24 18:03:56 +0300 |
commit | faeb73a65e9ab07c1636cccb33f23df96fddd330 (patch) | |
tree | f6ad909b52d3ee0c408dd417ce1b9480bc00cad4 /src/nxt_linux_sendfile.c | |
parent | f5a2984acf9a562b6b1eb45a21d9af2be2415659 (diff) | |
download | unit-faeb73a65e9ab07c1636cccb33f23df96fddd330.tar.gz unit-faeb73a65e9ab07c1636cccb33f23df96fddd330.tar.bz2 |
Using non-shared memory buffers for small messages.
Current shared memory buffer implementation uses fixed-size memory blocks,
allocating at least 16384 bytes. When application sends data in a large
number of small chunks, it makes sense to buffer them or use plain
memory buffers to improve performance and reduce memory footprint.
This patch introduces minimum size limit (1024 bytes) for shared
memory buffers.
Diffstat (limited to 'src/nxt_linux_sendfile.c')
0 files changed, 0 insertions, 0 deletions