recipes-connectivity: disable NetworkManager-wait-online.service#344
Closed
DaizhuangBai wants to merge 1 commit into
Closed
recipes-connectivity: disable NetworkManager-wait-online.service#344DaizhuangBai wants to merge 1 commit into
DaizhuangBai wants to merge 1 commit into
Conversation
Contributor
|
How is this different from #341 ? |
Author
Introduce a networkmanager bbappend to disable NetworkManager-wait- online.service. NetworkManager-wait-online.service is auto-enabled via the "Also=" install hook in NetworkManager.service. However, it blocks startup and significantly increases boot time. Multiple targets have reported this issue, such as iq-615-evk and iq-8275-evk. Remove the install hook during do_install so wait-online is not enabled by default. Measured boot time improvement on iq-615-evk target: - before: ~28s - after: ~18s Signed-off-by: Daizhuang Bai <daizhuang.bai@oss.qualcomm.com>
Contributor
But that is the entire point, these services are depending on network-online.target, and that is why I said that this is by design. If we want to unblock certain services, then we should see if we could make them not depend on network-online.target instead. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduce a networkmanager bbappend to disable NetworkManager-wait- online.service.
NetworkManager-wait-online.service is auto-enabled via the "Also=" install hook in NetworkManager.service. However, it blocks startup and significantly increases boot time. Multiple targets have reported this issue, such as iq-615-evk and iq-8275-evk. Remove the install hook during do_install so wait-online is not enabled by default.
Measured boot time improvement on iq-615-evk target:
qli-2.0 GA block issue