Skip to content

Commit

Permalink
Remove somaxconn override.
Browse files Browse the repository at this point in the history
Previously, the default was 128, which we conservatively increased
to a higher value. 5.4.x kernels however have a value of 4096 by
default, meaning we *decrease* the amount, unintentionally.

It's possible that this may affect something negatively, but, if
that is found to be, we can address it when needed. This should
largely be a positive change in most cases.
  • Loading branch information
ahkok committed Apr 9, 2020
1 parent 4a9f66b commit c018259
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([clr-power-tweaks],[209],[[email protected]])
AC_INIT([clr-power-tweaks],[210],[[email protected]])
AM_INIT_AUTOMAKE([foreign -Wall -Wextra-portability subdir-objects])
AM_SILENT_RULES([yes])
AC_CONFIG_MACRO_DIRS([m4])
Expand Down
1 change: 0 additions & 1 deletion src/data.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ struct write_struct write_list[] = {
{"/sys/kernel/mm/ksm/pages_to_scan", "1000", 0},
{"/proc/sys/net/core/rmem_max", "1703936", 0},
{"/proc/sys/net/core/wmem_max", "1703936", 0},
{"/proc/sys/net/core/somaxconn", "512", 0},

// This tuneable decides the minimum time a task will be be allowed to
// run on CPU before being pre-empted out
Expand Down

0 comments on commit c018259

Please sign in to comment.