On 04/13/18 07:19, Chris Laprise wrote:
I've done some experimenting to get my Debian VMs to boot faster. So far I've reduced the start time significantly by disabling these services in the template:

apt-daily.service
apt-daily.timer
apt-daily-upgrade.service
apt-daily-upgrade.timer
pppd-dns
lvm2-monitor

Disabling the last two may have consequences, e.g. if you use VMs to access LVM storage. But that lvm2-monitor does consume a whopping 4+ seconds according to systemd-analyze. YMMV.

And note that my criteria for picking these is just a cursory glance at unit start times.

Ultimately, a good solution may be getting some of these units to start 10-20 seconds later. I think that makes sense in the case of lvm2-monitor. Some other time-consuming services like qubes-update-check already start later and don't seem to impact VM start times and responsiveness.

FWIW, Ubuntu has announced that boot times have worsened a lot and they'll make an effort to reduce them (again). Not sure to what extent that reflects on Debian.


Could be my imagination but in my ASRock Z170 UEFI (as another post on qubes-user suggested)

*turning off the Intel speed stepping

seems to have fixed everything:

(I've no idea pros and cons of what this feature is; though I seem to have a EFI install, I turned back some sub-settings in the UEFI EFI choices to "legacy", no idea what those were/are either)

boot time, Fed-26 VM starts , qvm-run etc;

Issue I seem to have is qvm-shutdown <appvm> often completes and has failed (maybe there is a timeout for shutdown as well as start-up ?); so I'm having to qvm-kill most/many of the AppVMs ...... :)

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/f8101787-a32a-e5e3-c35a-99aa39a02764%40riseup.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to