boot - Slow Performance of Ubuntu16.04 inside VMWare on laptop - Ask Ubuntu


i installed ubuntu 16.04 on vmware workstation recently. since ubuntu has been booting slowly. has been performing well.

my laptop config is: intel i7 core processor, 16gb ram, 2tb hd , 4gb nvidia graphics card.

allocated space ubuntu 50gb, ram 8gb, processors 2 , cores 2. still ubuntu hangs in between.

can please ??

result systemd-analyze is:

startup finished in 6.542s (kernel) + 17min 27.054s (userspace) = 17min 33.597s 

result systemd-analyze blame is:

17min 17.980s apt-daily.service       9.039s modemmanager.service       7.676s accounts-daemon.service       6.211s grub-common.service       5.183s ondemand.service       5.042s dev-sda1.device       4.659s networkmanager.service       4.613s networking.service       4.484s gpu-manager.service       4.356s pppd-dns.service       3.964s apparmor.service       3.522s snapd.firstboot.service       3.111s lightdm.service       2.585s polkitd.service       1.590s rsyslog.service       1.550s irqbalance.service       1.512s ssh.service       1.364s systemd-logind.service       1.352s avahi-daemon.service       1.336s thermald.service       1.269s apport.service       1.132s systemd-tmpfiles-setup-dev.service       1.118s keyboard-setup.service       1.093s systemd-modules-load.service       1.048s run-vmblock\x2dfuse.mount        954ms console-setup.service        938ms systemd-journald.service        744ms speech-dispatcher.service        724ms dev-mqueue.mount        707ms systemd-journal-flush.service        668ms alsa-restore.service        643ms setvtrgb.service        636ms systemd-user-sessions.service        559ms systemd-udevd.service        545ms dns-clean.service        541ms systemd-update-utmp.service        517ms plymouth-read-write.service        509ms systemd-udev-trigger.service        473ms udisks2.service        460ms upower.service        422ms systemd-random-seed.service        421ms systemd-tmpfiles-setup.service        377ms dev-hugepages.mount        373ms colord.service        348ms ufw.service        338ms systemd-timesyncd.service        333ms sys-kernel-debug.mount        323ms resolvconf.service        318ms systemd-localed.service        241ms systemd-sysctl.service        203ms user@1001.service        180ms dev-disk-by\x2duuid-b0b007bd\x2d0a70\x2d40b3\x2d888d\x2d1d5d0f695800.swap        110ms rtkit-daemon.service        100ms snapd.socket         89ms systemd-hostnamed.service         73ms kmod-static-nodes.service         48ms systemd-tmpfiles-clean.service         42ms systemd-remount-fs.service         41ms snapd.boot-ok.service         20ms systemd-update-utmp-runlevel.service          2ms sys-fs-fuse-connections.mount          1ms plymouth-quit-wait.service 

command egrep -c '(vmx|svm)' /proc/cpuinfo outputs:

0 

running guest system on host, not support hardware virtualisation, in general makes guest (and host) slow , whole experience not fun.

as running windows system intel-chip tool might detect if vtx enabled: https://www-ssl.intel.com/content/www/us/en/support/processors/processor-utilities-and-programs/intel-processor-identification-utility.html if not enabled might have chance enable in bios - if not show more or less over.

to enhance performance of ubuntu-guest install open-vm-tools - via sudo apt install open-vm-tools - inside guest.

the systemd-analyze blame results posted, show apt-daily.service culprit long boot time - might one-time situation when there many updates fetch.

if process needs long disable via sudo systemctl disable apt-daily.service- yet can't recommend this, takes care package-informations stay date , informed of updates.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User