Skip to content

Commit

Permalink
dispatcher: reduce base footprint somewhat
Browse files Browse the repository at this point in the history
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
grobian committed Apr 24, 2024
1 parent 7419373 commit bd1d0a3
Show file tree
Hide file tree
Showing 6 changed files with 1,779 additions and 1,169 deletions.
1 change: 1 addition & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ EGREP = @EGREP@
ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
FILECMD = @FILECMD@
GREP = @GREP@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
Expand Down
Loading

0 comments on commit bd1d0a3

Please sign in to comment.