Re: [qubes-users] Qubes 4.0 rc3 boot and performance is quite slow
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Sun, Jan 07, 2018 at 04:59:44AM -0800, Fabrizio Romano Genovese wrote: > Ok, I dug a bit deeper into this. It doesn't look like a problem of how much > memory I give to VMs. Essentially, my QubesOS boots in two different ways: > > - When QubesOS is happy, it starts in ~1 min (yup, starting up all the VMs > still takes a while). The overall system is very reactive, for instance if I > type qvm-ls I obtain some output straight away. Moreover, if I start a VM the > notification "VM blabla is starting" is displayed immediately. > > - When QubesOS is not happy, it starts in ~3mins. The overall system is very > slow, qvm-ls takes 3-4 seconds to display output, and starting a VM takes up > to 20 seconds. Even the notification "VM blabla is starting" is displayed 4-5 > seconds after the command is issued. Moreover the battery is drained much > much quicker (200% quicker give or take). > > What makes Qubes happy or not happy to start seems to be completely random. I > have a slight suspect that this may depend on booting the laptop while > plugged/unplugged, but I cannot confirm this. > Essentially my Qubes experience atm can be exemplified as follows: "At boot, > throw a coin. If it's heads then it's fine, otherwise it's fubar". Any > suggestion (or report of similar behavior) would be greatly appreciated! Is it Dell Latitute by a chance? I have very similar problem on such system, regardless of Qubes version: when it is on AC power, performance is normal, but on battery it is significantly slower. Some workaround is to change CPU scaling governor, by executing in dom0: xenpm set-scaling-governor performance - -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -BEGIN PGP SIGNATURE- iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAlpSuRQACgkQ24/THMrX 1yyUiQgAhD98/UgCgmUIhyu77ShIccLqV0WqE+pPnFmC8uAije3wRztS6JE83ioP /KI0GuCiGMgSDy/zodPkeh9CTG5pRE8K6qvkN6Xp0jBKWdvoV+DUyFw/Fx1ZX/yz UpvMFdmIZCeF6HNndKI4jWTsJS/ypg8H8mZQ4odRtFXUiYaiRt1mbp6zS10cmMpB kl0OQM8z3JBCrVaytYCGHEGvNoDU/fXnd485S35Nu4W00/1f2vIhDvsDPpk/PVa2 AxRC6LnWxxmO1UTEo30m7VJOE8ylezd0ZwwtahMGUUN8NyBWgstJA3UUQL9bVUuE F1kXEZ7iAW9YvxQHPFpm18BAHxfaaA== =r0ng -END PGP SIGNATURE- -- 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/20180108001932.GB12450%40mail-itl. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] Qubes 4.0 rc3 boot and performance is quite slow
On Sunday, January 7, 2018 at 1:59:45 PM UTC+1, Fabrizio Romano Genovese wrote: > Ok, I dug a bit deeper into this. It doesn't look like a problem of how much > memory I give to VMs. Essentially, my QubesOS boots in two different ways: > > - When QubesOS is happy, it starts in ~1 min (yup, starting up all the VMs > still takes a while). The overall system is very reactive, for instance if I > type qvm-ls I obtain some output straight away. Moreover, if I start a VM the > notification "VM blabla is starting" is displayed immediately. > > - When QubesOS is not happy, it starts in ~3mins. The overall system is very > slow, qvm-ls takes 3-4 seconds to display output, and starting a VM takes up > to 20 seconds. Even the notification "VM blabla is starting" is displayed 4-5 > seconds after the command is issued. Moreover the battery is drained much > much quicker (200% quicker give or take). > > What makes Qubes happy or not happy to start seems to be completely random. I > have a slight suspect that this may depend on booting the laptop while > plugged/unplugged, but I cannot confirm this. > Essentially my Qubes experience atm can be exemplified as follows: "At boot, > throw a coin. If it's heads then it's fine, otherwise it's fubar". Any > suggestion (or report of similar behavior) would be greatly appreciated! > > Cheers, > Fab The battery issue, btw, as far as I recall is nothing new in Qubes 4. It's not something specifc to your system, and if it gets fixed, it'll probably be an update to fix all the Qubes 4 systems out there. But maybe there are settings you can flip to fix it manually, however it's not something I've checked. Make sure the VM's that start at boot, are starting just as slow (or quick) as if you started them on an already running Qubes system. If the speed is similar, then at least you can assume it has nothing to do with the actual booting process. It sounds weird that it happens randomly, maybe a few more clues are needed to hunt down the actual reason as to why it happens, unless someone with better insight drops by. -- 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/8eb9e2cd-8f34-457b-b238-238d95d23fe0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] Qubes 4.0 rc3 boot and performance is quite slow
On Sunday, January 7, 2018 at 1:59:45 PM UTC+1, Fabrizio Romano Genovese wrote: > Ok, I dug a bit deeper into this. It doesn't look like a problem of how much > memory I give to VMs. Essentially, my QubesOS boots in two different ways: > > - When QubesOS is happy, it starts in ~1 min (yup, starting up all the VMs > still takes a while). The overall system is very reactive, for instance if I > type qvm-ls I obtain some output straight away. Moreover, if I start a VM the > notification "VM blabla is starting" is displayed immediately. > > - When QubesOS is not happy, it starts in ~3mins. The overall system is very > slow, qvm-ls takes 3-4 seconds to display output, and starting a VM takes up > to 20 seconds. Even the notification "VM blabla is starting" is displayed 4-5 > seconds after the command is issued. Moreover the battery is drained much > much quicker (200% quicker give or take). > > What makes Qubes happy or not happy to start seems to be completely random. I > have a slight suspect that this may depend on booting the laptop while > plugged/unplugged, but I cannot confirm this. > Essentially my Qubes experience atm can be exemplified as follows: "At boot, > throw a coin. If it's heads then it's fine, otherwise it's fubar". Any > suggestion (or report of similar behavior) would be greatly appreciated! > > Cheers, > Fab After you type in your drive encryption password, followup by typing F1 key on your keyboard. This way you can follow the booting process in details as it happens. If any booting processes are hanging, you'll be able to take note "which one", and thereby narrow down the possible culprit. You can also do a "sudo journalctl --boot" or akin to that, after booting. But remember to do so after a fresh bootup, unless you want a mountain of extra unneeded information. Also, if the booting is slow before you type in your drive encryption, then you know it's related to settings or features EFI/UEFI or Legacy-Boot/BIOS. It could also possibly be because you got a thumb-drive or external-harddrive sitting in your USB; which on some systems can make the booting process significantly slower as the system tries to identify bootable systems on the extra external-drives/thumb-drives. -- 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/2969094e-6594-4f75-90c3-65c5869ba631%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] Qubes 4.0 rc3 boot and performance is quite slow
Ok, I dug a bit deeper into this. It doesn't look like a problem of how much memory I give to VMs. Essentially, my QubesOS boots in two different ways: - When QubesOS is happy, it starts in ~1 min (yup, starting up all the VMs still takes a while). The overall system is very reactive, for instance if I type qvm-ls I obtain some output straight away. Moreover, if I start a VM the notification "VM blabla is starting" is displayed immediately. - When QubesOS is not happy, it starts in ~3mins. The overall system is very slow, qvm-ls takes 3-4 seconds to display output, and starting a VM takes up to 20 seconds. Even the notification "VM blabla is starting" is displayed 4-5 seconds after the command is issued. Moreover the battery is drained much much quicker (200% quicker give or take). What makes Qubes happy or not happy to start seems to be completely random. I have a slight suspect that this may depend on booting the laptop while plugged/unplugged, but I cannot confirm this. Essentially my Qubes experience atm can be exemplified as follows: "At boot, throw a coin. If it's heads then it's fine, otherwise it's fubar". Any suggestion (or report of similar behavior) would be greatly appreciated! Cheers, Fab -- 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/938de199-7b6f-4132-983e-0720f1929720%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [qubes-users] Qubes 4.0 rc3 boot and performance is quite slow
On Thursday, 4 January 2018 11:49:45 GMT Fabrizio Romano Genovese wrote: > Looking at the console messages at startup, it looks like the problem is > that Qubes takes more than one minute to boot sys-net, sys-firewall, > sys-usb and sys-whonix. That was not the case in 3.2. > > Also, when giving > qvm-start someVM > the startup time is again quite slow. Could it be that my VMs are based on > Fedora26? Can you try giving your VMs more initial memory? I saw that the default of 400MB is causing VMs to swap like crazy on startup. I change it to 1000MB and stuff starts significantly faster. I also removed swap in fstab on all templates, the only effect this has had so far is show that the memory balancer is in need of work. It fails to give hosts memory when they use significantly more than others. -- Tom Zander Blog: https://zander.github.io Vlog: https://vimeo.com/channels/tomscryptochannel -- 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/4469951.fVkcPeMF00%40mail. For more options, visit https://groups.google.com/d/optout.