Skip to content

Fix mac UDP#1789

Merged
leshy merged 12 commits intodevfrom
fix-mac-udp
Apr 21, 2026
Merged

Fix mac UDP#1789
leshy merged 12 commits intodevfrom
fix-mac-udp

Conversation

@Dreamsorcerer
Copy link
Copy Markdown
Collaborator

@Dreamsorcerer Dreamsorcerer commented Apr 15, 2026

Problem

Mac UDP limits are too low. It appears newer releases now support 32 MiB.

Solution

To continue supporting higher limits in future releases, this code tries to set the actual target threshold and then keeps halving and retrying until it works, thus allowing us to use the maximum available on each system. (The max is a compiled-in constant to the kernel and is not exposed anywhere).

How to Test

Run sim/replay on Mac OS X.

@Dreamsorcerer Dreamsorcerer changed the base branch from main to dev April 15, 2026 12:46
Copy link
Copy Markdown
Member

@jeff-hykin jeff-hykin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

32000000 in a var, then it looks good to me

Comment thread dimos/protocol/service/test_system_configurator.py Outdated
Comment thread dimos/protocol/service/system_configurator/lcm.py
leshy
leshy previously approved these changes Apr 17, 2026
@leshy leshy enabled auto-merge (squash) April 21, 2026 08:30
@leshy leshy merged commit 0b55e8d into dev Apr 21, 2026
4 checks passed
@leshy leshy deleted the fix-mac-udp branch April 21, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants