feature request: automatic managing of cpu and memory allocation

36 views
Skip to first unread message

qtpie

unread,
Oct 8, 2019, 7:14:11 AM10/8/19
to qubes...@googlegroups.com
Hi,

I'd like to do a feature request: automatic managing of cpu and memory
allocation to VMs. Recently after some troubleshooting a problem with a
VM turned out to be a lack of allocated CPU cores. On some reflection I
think this is one thing where Qubes could be more user friendly. The
goal of qubes is security, not being able to manually manage the
resource use of applications. So VMs should as a standard have all the
resources they need and a user should not have to think about this.
Resource management should be optional, maybe not even in the GUI but in
the terminal.

Is this technically feasible and do people agree?


bo0od

unread,
Oct 8, 2019, 7:31:35 AM10/8/19
to qubes...@googlegroups.com
Increase things manually to your needs, automatic according to VM needs
sound like disaster as one VM will take the needed resources from the
whole machine available RAM/CPU meaning it might kill it and there will
be security concerns about that. Thats my opinion.



qtpie:

Marek Marczykowski-Górecki

unread,
Oct 8, 2019, 8:27:27 AM10/8/19
to qtpie, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
There is automatic memory management already (up to maxmem limit set in VM
settings). CPU time is also allocated according to VM needs - the fact
that VMs have 2 cores by default, doesn't mean those are reserved for
this VM exclusively. So, it is already managed dynamically, up to a
certain limit that prevents a single VM from exhausting all the host
resources (as bo0od already said).
Both settings are available through GUI, so if you have some
legitimate application that is particularly resource intensive, it's
easy to adjust those limits. On the other hand, if it's just web browser
always using all the memory you have, you probably want to keep it
limited, otherwise you won't be able to do anything else.

- --
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/THMrX1ywFAl2cgKgACgkQ24/THMrX
1yzt+Af+OuEY4HhNlalEwCqYPLq0aeAF35KR8Hkgj+adaURsz96Zx7e8H06a1Rvk
i9V8dsz/yMn8vsizZ/+g5iSBMwa+mIrXzNHXVl83+XSBCITfRCTjJtA8Og4eDaxM
GTxPOUIVxAOyNoKvz6LJOxpLkRvfmGIiU1eSNxHvtbAoaKUPxHDRhkARk+lyrnJQ
GYN4s2xwI5wWgXu7cwEnkHUdeg3L8YmMSZ0vPXpzHrIk592//Mwarn4/43kehDdX
e3FzqPeQ3j8St5T34HeZtP5ulD2OAD5jVVcM/vq9DMXJV6CyLkvjm5Pg1B5WkWTM
ZWah2gJv/ccTKvBCnRq0/4q96n+7mQ==
=/kVP
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages