Skip to content

Commit

Permalink
firedancer: don't warn about rmem_max, wmem_max sysctls
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcgee-jump authored and alpeng-jump committed Sep 16, 2024
1 parent 7c9b60a commit 4bd6749
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions core/src/system_monitor_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 4bd6749

Please sign in to comment.