Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dispatcher: reduce base footprint somewhat
Each connection carries at least two 32K buffers, plus some other stuff, 65K. Since the growsize is 1024 connections, that means 65M bytes just for handling connections alone. Especially on embedded platforms (like OpenWRT) routers this may be a huge bloat for something never used. Be more conservative in increments, to keep footprint low on systems where large amounts of connections are not expected. Differentiate between submission and normal mode, to keep the footprint minimal in submission, and grow faster in server mode. Signed-off-by: Fabian Groffen <[email protected]>
- Loading branch information