From d64f7507611fb7510dd3acaf912b9d33d5f22db4 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Thu, 20 Oct 2022 16:54:03 +0100 Subject: [PATCH] nixos/estuary: Increase NIC TX / RX buffer sizes --- nixos/boxes/colony/vms/estuary/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/nixos/boxes/colony/vms/estuary/default.nix b/nixos/boxes/colony/vms/estuary/default.nix index 07624df..c50c67d 100644 --- a/nixos/boxes/colony/vms/estuary/default.nix +++ b/nixos/boxes/colony/vms/estuary/default.nix @@ -84,6 +84,12 @@ in }; }; + environment = { + systemPackages = with pkgs; [ + ethtool + ]; + }; + services = { lvm = { dmeventd.enable = true; @@ -138,7 +144,11 @@ in links = { "10-wan" = { matchConfig.MACAddress = "d0:50:99:fa:a7:99"; - linkConfig.Name = "wan"; + linkConfig = { + Name = "wan"; + RxBufferSize = 4096; + TxBufferSize = 4096; + }; }; # Mellanox ConnectX-2 #"10-wan" = {