dzuiuabi
deepin
2017-12-29 17:28 所以有没有大虾帮我分析分析我的都是些什么服务

Reply Like 0 View the author

https://bbs.deepin.org/post/150831
https://askubuntu.com/questions/ ... r-causing-slow-boot
我开机50秒。
20.216s mysql.service ...
https://bbs.deepin.org/post/150831
amor@amor-PC:~$ systemd-analyze
Startup finished in 3.315s (firmware) + 7.325s (loader) + 6.407s (ke ...

https://bbs.deepin.org/post/150831
https://askubuntu.com/questions/ ... r-causing-slow-boot
我开机50秒。
20.216s mysql.service ...
https://bbs.deepin.org/post/150831
Startup finished in 5.944s (kernel) + 24.448s (userspace) = 30.393s
公司的垃圾一体机,win开机我已经 ...
https://bbs.deepin.org/post/150831
12.810s plymouth-quit-wait.service
这个服务耗时最长,所以我就关闭了。。。
但实际的效果只提高了不到1 ...

https://bbs.deepin.org/post/150831
去年刚换了ssd时,感觉真的快,有钱的话还是推荐ssd的。
https://bbs.deepin.org/post/150831
Startup finished in 5.944s (kernel) + 24.448s (userspace) = 30.393s
12.810s plymouth-quit-wait.serv ...
https://bbs.deepin.org/post/150831
12.810s plymouth-quit-wait.service
这个服务耗时最长,所以我就关闭了。。。
但实际的效果只提高了不到1 ...
https://bbs.deepin.org/post/150831
12.810s plymouth-quit-wait.service
这个服务耗时最长,所以我就关闭了。。。
但实际的效果只提高了不到1 ...
Popular Events
More
然后在看看是什么东西这么拖后退。
于是我找了一些资料
[page]
[size=13.3333px]Hi
[size=13.3333px]I see
[size=13.3333px]Code:
7.872s NetworkManager-wait-online.service
[size=13.3333px]when I run a
[size=13.3333px]Code:
systemd-analyze blame
[size=13.3333px]Is this normal?
[size=13.3333px]Seems like it is adding a LOT of time to my boot.
[size=13.3333px]Any way to optimize?
[size=13.3333px]Centos 7 + MATE install
[size=13.3333px]
[size=13.3333px]有人就回复了:
Nope.
the problem is that systemd assumes the network is ready for use as soon as it starts NetworkManager.
When this is the case, nearly all network dependent actions fail - from network based filesystems, name lookups, time synchronization, databases, network user identifications (LDAP/NIS/...).
So much fails that the systemd developers had to start modifying a ton of other applications (this one being NetworkManager).
NetworkManager-wait-online is required to delay until the network is usable. This required modification of NetworkManager to explicitly send a "ready" signal back to systemd. This normally works (DHCP clients got modified too). And even the database servers got modified for the same reason.
This is one of the reasons systemd is considered a poor design, and imposes a LOT of things on services.
意思就是这个服务必须要这样启动?网络服务,总而言之,很糟糕,我可能是这个论坛开机醉酒的用户