Skip to content

Comments

[RFC] dhcpcd: fix high cpu usage#15858

Closed
pbui wants to merge 1 commit intovoid-linux:masterfrom
pbui:dhcpcd
Closed

[RFC] dhcpcd: fix high cpu usage#15858
pbui wants to merge 1 commit intovoid-linux:masterfrom
pbui:dhcpcd

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 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 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

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

@pbui
Copy link
Contributor Author

pbui commented Oct 29, 2019

Just revert to 8.0.6 for now... #15885

@pbui pbui closed this Oct 29, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants