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

Set kernel specific config on linux #1789

Merged
merged 1 commit into from
Jun 3, 2017

Conversation

fcrisciani
Copy link

On linux systems bump up gc_thresholds so to lower the
probability of running with neighbor table overflow issues

Signed-off-by: Flavio Crisciani [email protected]

@fcrisciani
Copy link
Author

fcrisciani commented May 31, 2017

@mavenugo @sanimej do you guys prefer to change the thresholds when overlay is used or we can keep it simple like this?

@mavenugo
Copy link
Contributor

mavenugo commented Jun 1, 2017

@fcrisciani IMO this belongs in the overlay driver and as @sanimej suggested it can be in one of the once block in network create in the driver.

@fcrisciani
Copy link
Author

ok will modify then

@@ -188,6 +188,9 @@ func (d *driver) configure() error {
return d.initializeVxlanIdm()
}

// Apply OS specific kernel configs if needed
d.once.Do(applyOStweaks)

Copy link

Choose a reason for hiding this comment

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

nit: can you change the once variable to something specific, maybe osInitOnce to avoid this getting inadvertently used for some other purpose during the driver init.

LGTM otherwise.

On linux systems bump up gc_thresholds so to lower the
probability of running with neighbor table overflow issues

Signed-off-by: Flavio Crisciani <[email protected]>
@sanimej
Copy link

sanimej commented Jun 3, 2017

Thanks. LGTM

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