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

[RFC] dhcpcd: fix high cpu usage #15858

Closed
wants to merge 1 commit into from
Closed

[RFC] dhcpcd: fix high cpu usage #15858

wants to merge 1 commit into from

Conversation

@pbui
Copy link
Contributor

@pbui pbui commented Oct 28, 2019

As reported on IRC, some users are experiencing high CPU usage when
using eduroam and/or suspending/resuming their machines. This update
includes a few upstream changes that should possibly address this
situation:

  1. Runs the STOPPED hook on interfaces when a timeout occurs.

  2. Includes an upstreamed musl patch.

  3. Validates RTM_DELADDR/RTM_NEWADDR messages for both IPv6 and IPv4.

I believe the last change most directly addresses the high CPU usage
situation.

As reported on IRC, some users are experiencing high CPU usage when
using eduroam and/or suspending/resuming their machines.  This update
includes a few upstream changes that should possibly address this
situation:

1. Runs the STOPPED hook on interfaces when a timeout occurs.

2. Includes an upstreamed musl patch.

3. Validates RTM_DELADDR/RTM_NEWADDR messages for both IPv6 and IPv4.

I believe the last change most directly addresses the high CPU usage
situation.
@pbui
Copy link
Contributor Author

@pbui pbui commented Oct 28, 2019

Hmm... unfortunately, I just experienced the high CPU usage situation with this package... so the patches are no sufficient for solving this problem. It may be worth reverting back to 8.0.6 until this is resolved.

@jmai444
Copy link

@jmai444 jmai444 commented Oct 28, 2019

Happens here with my ThinkPad T470. Eventually it fails to renew my IP address and I then have no network. dhcpcd fails to restart or stop if requested through sv command. I have to reboot. No interesting messages appear in socklog.

@flexibeast
Copy link
Contributor

@flexibeast flexibeast commented Oct 28, 2019

As another data point, i'm experiencing the same issues as @jmai444 (albeit on an IdeaPad 310).

@pbui
Copy link
Contributor Author

@pbui pbui commented Oct 29, 2019

Just revert to 8.0.6 for now... #15885

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants