Please avoid using this trick on those VMs. There's a risk you may lock yourself out of your system if you attempt these tricks on such VMs. ⚠️ Caution / disclaimer: I have not attempted this trick with any system VM, such as a firewall / network / USB VM, or any other VM essential to the normal interactive operation of your system. What about GUI applications? Don't worry - you can still run them remotely from your desktop or laptop computer via SSH, assuming the qube where you run your specific graphical app has SSH running on it. The agent and several processes that start on boot, therefore, don't get started. Specifically, what gets turned off with the qvm-features tweak is support for the Qubes GUI agent. Try and guess at which time the configuration change took effect: Here's some prospective memory savings in one of my qubes. Free memory is wasted and does not make your system faster. Memory that is already in use, that is, memory that is available but not free, can easily be switched to another use. Qvm-stop -force -wait $qube qvm-start $qube Memory that is free is actually harder to use because it has to be transitioned from free to in use. Make these changes take effect right away like this: for qube in cherry apple tomato do Presto! Next time you restart these VMs, they won't be able to start up GUI applications, but they will save roughly 100 MB of resident memory each. ![]() Run this in your Qubes OS dom0: for qube in cherry apple tomato do You can tell them to forego starting the graphical stack within them. Let's suppose you have three qubes - cherry, apple and tomato - running headless workloads (that means no graphical UI applications). No worries - thanks to this protip by none other than you can save a ton of memory per VM. What if you're running a bit low on memory, though? Especially if you're running a lot of VMs - memory usage adds up quickly. And yours truly is the author of the Qubes network server package, which makes Qubes OS flexible enough to run your own servers on it. It makes sense - it's easy to manage VMs, you can get full usage of many VMs simultaneously thanks to automatic memory balancing, and it's well-maintained by the people from the Qubes OS project. Lots of smart and privacy-conscious people are using Qubes OS as a server these days.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |