Ubuntu 18.04 boot time is very slow (userspace taking a lot of time)












2















I have dual booted Ubuntu along with Windows 10. I have a SSD+HDD combo where Windows is installed on SSD and Ubuntu on HDD.



I've tried reinstalling Ubuntu but the problem of large boot time still persists



The boot time calculated by the linux system on the command systemd-analyze time is as follows:



Startup finished in 6.208s (kernel) + 1min 21.627s (userspace) = 1min 27.835s
graphical.target reached after 1min 18.951s in userspace



On knowing time taken by different processes systemd-analyze blame
It prints:



34.239s dev-sda3.device
26.287s plymouth-quit-wait.service
22.271s systemd-journal-flush.service
14.668s systemd-udevd.service
14.500s plymouth-start.service
13.720s snap-gnomex2d3x2d26x2d1604-70.mount
13.240s snap-gtkx2dcommonx2dthemes-319.mount
12.755s snap-gnomex2dsystemx2dmonitor-51.mount
10.934s snap-gnomex2dcharacters-103.mount
10.220s snapd.service
9.661s snap-core-4917.mount
7.689s NetworkManager-wait-online.service
7.167s udisks2.service
7.020s NetworkManager.service
6.830s ModemManager.service
6.778s accounts-daemon.service
5.207s bolt.service
5.128s networking.service
4.559s networkd-dispatcher.service
4.173s rsyslog.service
3.921s systemd-tmpfiles-setup-dev.service
3.750s thermald.service
3.510s polkit.service
lines 1-23


Please help!










share|improve this question


















  • 3





    Possible duplicate of What are the dev-loop services that started on boot?

    – N0rbert
    Jan 13 at 8:24
















2















I have dual booted Ubuntu along with Windows 10. I have a SSD+HDD combo where Windows is installed on SSD and Ubuntu on HDD.



I've tried reinstalling Ubuntu but the problem of large boot time still persists



The boot time calculated by the linux system on the command systemd-analyze time is as follows:



Startup finished in 6.208s (kernel) + 1min 21.627s (userspace) = 1min 27.835s
graphical.target reached after 1min 18.951s in userspace



On knowing time taken by different processes systemd-analyze blame
It prints:



34.239s dev-sda3.device
26.287s plymouth-quit-wait.service
22.271s systemd-journal-flush.service
14.668s systemd-udevd.service
14.500s plymouth-start.service
13.720s snap-gnomex2d3x2d26x2d1604-70.mount
13.240s snap-gtkx2dcommonx2dthemes-319.mount
12.755s snap-gnomex2dsystemx2dmonitor-51.mount
10.934s snap-gnomex2dcharacters-103.mount
10.220s snapd.service
9.661s snap-core-4917.mount
7.689s NetworkManager-wait-online.service
7.167s udisks2.service
7.020s NetworkManager.service
6.830s ModemManager.service
6.778s accounts-daemon.service
5.207s bolt.service
5.128s networking.service
4.559s networkd-dispatcher.service
4.173s rsyslog.service
3.921s systemd-tmpfiles-setup-dev.service
3.750s thermald.service
3.510s polkit.service
lines 1-23


Please help!










share|improve this question


















  • 3





    Possible duplicate of What are the dev-loop services that started on boot?

    – N0rbert
    Jan 13 at 8:24














2












2








2








I have dual booted Ubuntu along with Windows 10. I have a SSD+HDD combo where Windows is installed on SSD and Ubuntu on HDD.



I've tried reinstalling Ubuntu but the problem of large boot time still persists



The boot time calculated by the linux system on the command systemd-analyze time is as follows:



Startup finished in 6.208s (kernel) + 1min 21.627s (userspace) = 1min 27.835s
graphical.target reached after 1min 18.951s in userspace



On knowing time taken by different processes systemd-analyze blame
It prints:



34.239s dev-sda3.device
26.287s plymouth-quit-wait.service
22.271s systemd-journal-flush.service
14.668s systemd-udevd.service
14.500s plymouth-start.service
13.720s snap-gnomex2d3x2d26x2d1604-70.mount
13.240s snap-gtkx2dcommonx2dthemes-319.mount
12.755s snap-gnomex2dsystemx2dmonitor-51.mount
10.934s snap-gnomex2dcharacters-103.mount
10.220s snapd.service
9.661s snap-core-4917.mount
7.689s NetworkManager-wait-online.service
7.167s udisks2.service
7.020s NetworkManager.service
6.830s ModemManager.service
6.778s accounts-daemon.service
5.207s bolt.service
5.128s networking.service
4.559s networkd-dispatcher.service
4.173s rsyslog.service
3.921s systemd-tmpfiles-setup-dev.service
3.750s thermald.service
3.510s polkit.service
lines 1-23


Please help!










share|improve this question














I have dual booted Ubuntu along with Windows 10. I have a SSD+HDD combo where Windows is installed on SSD and Ubuntu on HDD.



I've tried reinstalling Ubuntu but the problem of large boot time still persists



The boot time calculated by the linux system on the command systemd-analyze time is as follows:



Startup finished in 6.208s (kernel) + 1min 21.627s (userspace) = 1min 27.835s
graphical.target reached after 1min 18.951s in userspace



On knowing time taken by different processes systemd-analyze blame
It prints:



34.239s dev-sda3.device
26.287s plymouth-quit-wait.service
22.271s systemd-journal-flush.service
14.668s systemd-udevd.service
14.500s plymouth-start.service
13.720s snap-gnomex2d3x2d26x2d1604-70.mount
13.240s snap-gtkx2dcommonx2dthemes-319.mount
12.755s snap-gnomex2dsystemx2dmonitor-51.mount
10.934s snap-gnomex2dcharacters-103.mount
10.220s snapd.service
9.661s snap-core-4917.mount
7.689s NetworkManager-wait-online.service
7.167s udisks2.service
7.020s NetworkManager.service
6.830s ModemManager.service
6.778s accounts-daemon.service
5.207s bolt.service
5.128s networking.service
4.559s networkd-dispatcher.service
4.173s rsyslog.service
3.921s systemd-tmpfiles-setup-dev.service
3.750s thermald.service
3.510s polkit.service
lines 1-23


Please help!







boot dual-boot partitioning






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 13 at 5:25









Dhruv VermaDhruv Verma

111




111








  • 3





    Possible duplicate of What are the dev-loop services that started on boot?

    – N0rbert
    Jan 13 at 8:24














  • 3





    Possible duplicate of What are the dev-loop services that started on boot?

    – N0rbert
    Jan 13 at 8:24








3




3





Possible duplicate of What are the dev-loop services that started on boot?

– N0rbert
Jan 13 at 8:24





Possible duplicate of What are the dev-loop services that started on boot?

– N0rbert
Jan 13 at 8:24










1 Answer
1






active

oldest

votes


















0














sudo bash -c 'mv /etc/initramfs-tools/conf.d/resume /tmp/resume.bak; 
echo RESUME=$(blkid | grep swap | head -n 1 | cut -d : -f 1) > /etc/initramfs-tools/conf.d/resume' && sudo update-initramfs -u





share|improve this answer










New contributor




Leo Barreto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    Hi Leo - Welcome to Ask Ubuntu. It would help, if you could provide a description of what the above commands do, and why this would help the OP's problem.

    – Charles Green
    2 hours ago













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1109292%2fubuntu-18-04-boot-time-is-very-slow-userspace-taking-a-lot-of-time%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














sudo bash -c 'mv /etc/initramfs-tools/conf.d/resume /tmp/resume.bak; 
echo RESUME=$(blkid | grep swap | head -n 1 | cut -d : -f 1) > /etc/initramfs-tools/conf.d/resume' && sudo update-initramfs -u





share|improve this answer










New contributor




Leo Barreto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    Hi Leo - Welcome to Ask Ubuntu. It would help, if you could provide a description of what the above commands do, and why this would help the OP's problem.

    – Charles Green
    2 hours ago


















0














sudo bash -c 'mv /etc/initramfs-tools/conf.d/resume /tmp/resume.bak; 
echo RESUME=$(blkid | grep swap | head -n 1 | cut -d : -f 1) > /etc/initramfs-tools/conf.d/resume' && sudo update-initramfs -u





share|improve this answer










New contributor




Leo Barreto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    Hi Leo - Welcome to Ask Ubuntu. It would help, if you could provide a description of what the above commands do, and why this would help the OP's problem.

    – Charles Green
    2 hours ago
















0












0








0







sudo bash -c 'mv /etc/initramfs-tools/conf.d/resume /tmp/resume.bak; 
echo RESUME=$(blkid | grep swap | head -n 1 | cut -d : -f 1) > /etc/initramfs-tools/conf.d/resume' && sudo update-initramfs -u





share|improve this answer










New contributor




Leo Barreto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










sudo bash -c 'mv /etc/initramfs-tools/conf.d/resume /tmp/resume.bak; 
echo RESUME=$(blkid | grep swap | head -n 1 | cut -d : -f 1) > /etc/initramfs-tools/conf.d/resume' && sudo update-initramfs -u






share|improve this answer










New contributor




Leo Barreto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer








edited 1 hour ago









Jeff

798519




798519






New contributor




Leo Barreto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered 2 hours ago









Leo BarretoLeo Barreto

1




1




New contributor




Leo Barreto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Leo Barreto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Leo Barreto is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1





    Hi Leo - Welcome to Ask Ubuntu. It would help, if you could provide a description of what the above commands do, and why this would help the OP's problem.

    – Charles Green
    2 hours ago
















  • 1





    Hi Leo - Welcome to Ask Ubuntu. It would help, if you could provide a description of what the above commands do, and why this would help the OP's problem.

    – Charles Green
    2 hours ago










1




1





Hi Leo - Welcome to Ask Ubuntu. It would help, if you could provide a description of what the above commands do, and why this would help the OP's problem.

– Charles Green
2 hours ago







Hi Leo - Welcome to Ask Ubuntu. It would help, if you could provide a description of what the above commands do, and why this would help the OP's problem.

– Charles Green
2 hours ago




















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1109292%2fubuntu-18-04-boot-time-is-very-slow-userspace-taking-a-lot-of-time%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

GameSpot

connect to host localhost port 22: Connection refused

Getting a Wifi WPA2 wifi connection