From 43fe6b4d094165910a845724887748527ab7dfec Mon Sep 17 00:00:00 2001 From: Shannon Byrnes Date: Fri, 15 Mar 2024 10:12:52 -0700 Subject: [PATCH] enabler: Additional machine tuning docs --- internal-lab-setup-assets/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/internal-lab-setup-assets/README.md b/internal-lab-setup-assets/README.md index f4c2634..3b7ccb3 100644 --- a/internal-lab-setup-assets/README.md +++ b/internal-lab-setup-assets/README.md @@ -12,6 +12,16 @@ Images for emulated network devices must also be available. See ./images/README. You must tune host settings https://hmntsharma.github.io/cisco-xrd/base_setup/#clone-the-xrd-tools-repository +As of March 2024, for XRd 7.11.1, the following sysctl settings were appropriate based on the above guide: + +``` +# /etc/sysctl.conf +fs.inotify.max_user_instances=64000 +fs.inotify.max_user_watches=64000 +net.core.rmem_default=67108864 +net.ipv4.udp_mem='1124736 10000000 67108864' +``` + Set mgmt address in the config (instead of automatically assigning) as XRd has a bug and a container keeps its old address if it's been assigned a new address. containerlab is non-deterministic when assigning mgmt IPs. Review the `Makefile` in `Getting_Started`