From 4bd674966909ed40050e36349f9c0b948c076f47 Mon Sep 17 00:00:00 2001 From: Michael McGee Date: Mon, 3 Jun 2024 20:57:06 +0000 Subject: [PATCH] firedancer: don't warn about rmem_max, wmem_max sysctls --- core/src/system_monitor_service.rs | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/core/src/system_monitor_service.rs b/core/src/system_monitor_service.rs index bec85780fc3ede..96413ac7fcf0f3 100644 --- a/core/src/system_monitor_service.rs +++ b/core/src/system_monitor_service.rs @@ -401,16 +401,18 @@ enum InterestingLimit { #[cfg(target_os = "linux")] const INTERESTING_LIMITS: &[(&str, InterestingLimit)] = &[ - ("net.core.rmem_max", InterestingLimit::Recommend(134217728)), - ( - "net.core.rmem_default", - InterestingLimit::Recommend(134217728), - ), - ("net.core.wmem_max", InterestingLimit::Recommend(134217728)), - ( - "net.core.wmem_default", - InterestingLimit::Recommend(134217728), - ), + // FIREDANCER: Limits are no longer enforced, since we use our own + // XDP networking stack. + // ("net.core.rmem_max", InterestingLimit::Recommend(134217728)), + // ( + // "net.core.rmem_default", + // InterestingLimit::Recommend(134217728), + // ), + // ("net.core.wmem_max", InterestingLimit::Recommend(134217728)), + // ( + // "net.core.wmem_default", + // InterestingLimit::Recommend(134217728), + // ), ("vm.max_map_count", InterestingLimit::Recommend(1000000)), ("net.core.optmem_max", InterestingLimit::QueryOnly), ("net.core.netdev_max_backlog", InterestingLimit::QueryOnly),