BBlack has submitted this change and it was merged.

Change subject: LVS: sysctl netdev tuning
......................................................................


LVS: sysctl netdev tuning

Somehow we seem to have lost even basic netdev_max_backlog on the
LVS machines (other than the 2500 from base), although I think we
had it there at one point historically.  Perhaps it was lost
during mysterious-sysctl move?

This copies over the basics from the recently-updated cache server
tuning, and uses the full 10GbE recommended value for max_backlog.
netdev_budget may need a further increase, but we'll see how it
plays out on LVS and caches before raising it further.  The LVS
see more column-3 counters than even the caches do, indicating
we're pretty far off on budget today.

Change-Id: If0ce69165c5abaf4b4eaff7268be0f5c90d8c4e6
---
M modules/lvs/manifests/balancer.pp
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  BBlack: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/lvs/manifests/balancer.pp 
b/modules/lvs/manifests/balancer.pp
index b7062bf..7e6df30 100644
--- a/modules/lvs/manifests/balancer.pp
+++ b/modules/lvs/manifests/balancer.pp
@@ -58,6 +58,12 @@
             'net.ipv4.vs.drop_entry'          => 1,
             # Also schedule ICMPs, like e.g. fragmentation needed (needs Linux 
4.4.0)
             'net.ipv4.vs.schedule_icmp'       => 1,
+
+            # basic netdev tuning for 10GbE interfaces at full speed with RPS.
+            # See deeper details in role::cache::perf
+            'net.core.netdev_max_backlog'     => 300000,
+            'net.core.netdev_budget'          => 1024,
+            'net.core.netdev_tstamp_prequeue' => 0,
         },
     }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/295544
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If0ce69165c5abaf4b4eaff7268be0f5c90d8c4e6
Gerrit-PatchSet: 5
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <[email protected]>
Gerrit-Reviewer: BBlack <[email protected]>
Gerrit-Reviewer: Ema <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to