Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Periodically synchronize kernel state #141

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

ossama-othman
Copy link
Member

No description provided.

@ossama-othman ossama-othman added the enhancement New feature or request label Jun 3, 2021
@ossama-othman ossama-othman added this to the Q2-2021 milestone Jun 3, 2021
@ossama-othman ossama-othman self-assigned this Jun 3, 2021
@ossama-othman ossama-othman added this to In progress in mptcpd 0.8 via automation Jun 3, 2021
configure.ac Outdated
@@ -120,6 +120,10 @@ AC_ARG_WITH([path-manager],

AC_SUBST([mptcpd_default_pm],[$with_path_manager])

dnl Default kernel sync interval in seconds.
default_sync_interval=5
Copy link
Member

Choose a reason for hiding this comment

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

This seems fast to me. Maybe 60 seconds? (I'm not super attached to that number, just trying to think of a less aggressive rate)

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point. Bumped to 60 seconds in 4f1b183.

Periodically synchronize kernel state with mptcpd, such as
address IDs managed by the in-kernel path manager.
*/
pm->sync_timeout =
Copy link
Member

Choose a reason for hiding this comment

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

What do you think about using sync_interval == 0 to turn off polling?

That seems to be what happens with l_timeout_create() is given a 0 time value anyway, but it goes ahead and sets up the timerfd and ELL watch anyway. Could skip that work if the sync interval is 0.

Copy link
Member Author

Choose a reason for hiding this comment

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

I agree. Implemented in 69b1e6e.

@ossama-othman ossama-othman removed this from In progress in mptcpd 0.8 Sep 16, 2021
@ossama-othman ossama-othman added this to In progress in mptcpd 0.9 via automation Sep 16, 2021
@ossama-othman ossama-othman modified the milestones: Q2-2021, Q4-2021 Sep 16, 2021
@ossama-othman ossama-othman removed this from In progress in mptcpd 0.9 Feb 1, 2022
@ossama-othman ossama-othman added this to In progress in mptcpd 0.10 via automation Feb 1, 2022
@ossama-othman ossama-othman modified the milestones: Q4-2021, Q1-2022 Feb 1, 2022
@ossama-othman ossama-othman removed this from In progress in mptcpd 0.10 Jun 27, 2022
@ossama-othman ossama-othman added this to In progress in mptcpd 1.0 via automation Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
mptcpd 1.0
In progress
Development

Successfully merging this pull request may close these issues.

None yet

2 participants