Knowing and hardware configuration/information on Qubes (Specifically available CPU cores and RAM)

112 views
Skip to first unread message

Sphere

unread,
Jul 12, 2018, 11:32:29 PM7/12/18
to qubes-users
So Qubes is nicely running on my laptop and I am doing a bunch of fiddling on it to get to know Qubes all in all.

Along the way however, I was able to see through Dom0 Task Manager that the amount of Memory/RAM available is only 3.8 GiB but my laptop has a total of 12 GB worth of RAM D:

Is there a way for my Qubes to recognize and use the rest of the ram?

Also, is there a way for me to see just how many CPU cores are recognized by the Qubes OS?

Chris Laprise

unread,
Jul 13, 2018, 1:10:04 AM7/13/18
to Sphere, qubes-users
Typing 'xl info' in a dom0 terminal will show the total about of RAM
available to Qubes. The figure you see in task manager is merely the
limit for dom0, not the whole system.

--

Chris Laprise, tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB 4AB3 1DC4 D106 F07F 1886

Sphere

unread,
Jul 13, 2018, 2:16:31 AM7/13/18
to qubes-users

Thank you very much! I couldn't find that anywhere by googling.
Though, I have a concern with regards to the info I saw
When I ran the command, it says it correctly sees total memory as 12153 however, I was really surprised that only roughly 2 GB were available and the only things I have up were dom0, sys-net, sys-usb, sys-whonix, and vault
After killing vault and sys-whonix, I was able to make it have 5 GB free

Are VMs really that overkill? @_@
Is there a way to optimize this? I noticed that it seems I can't reduce the max memory for sys-net and sys-usb. While I can reduce it for sys-firewall, I'm concerned that reducing it may lower it's capability to withstand network-based attacks.

Is there any way I could optimize this? If possible I'm really looking to at least be able to have 6 GB to 8 GB free to use on the Windows 7 HVM that I am going to make.

awokd

unread,
Jul 13, 2018, 5:24:57 AM7/13/18
to Sphere, qubes-users
On Fri, July 13, 2018 6:16 am, Sphere wrote:
> On Friday, July 13, 2018 at 1:10:04 PM UTC+8, Chris Laprise wrote:
>
>> On 07/12/2018 11:32 PM, Sphere wrote:
>>
>>> So Qubes is nicely running on my laptop and I am doing a bunch of
>>> fiddling on it to get to know Qubes all in all.
>>>
>>> Along the way however, I was able to see through Dom0 Task Manager
>>> that the amount of Memory/RAM available is only 3.8 GiB but my laptop
>>> has a total of 12 GB worth of RAM D:
>>>
>>> Is there a way for my Qubes to recognize and use the rest of the ram?
>>>
>>>
>>> Also, is there a way for me to see just how many CPU cores are
>>> recognized by the Qubes OS?
>>
>> Typing 'xl info' in a dom0 terminal will show the total about of RAM
>> available to Qubes. The figure you see in task manager is merely the
>> limit for dom0, not the whole system.

> Thank you very much! I couldn't find that anywhere by googling.

https://groups.google.com/forum/?_escaped_fragment_=msg/qubes-users/GlPm1zQKDwI/vq-JGRvWCQAJ#!msg/qubes-users/GlPm1zQKDwI/vq-JGRvWCQAJ
:)

> Though, I have a concern with regards to the info I saw
> When I ran the command, it says it correctly sees total memory as 12153
> however, I was really surprised that only roughly 2 GB were available and
> the only things I have up were dom0, sys-net, sys-usb, sys-whonix, and
> vault After killing vault and sys-whonix, I was able to make it have 5 GB
> free
>
> Are VMs really that overkill? @_@

Using as much RAM as possible is a good thing- it means there's that much
less that has to be loaded from slow disk. However, just because it's
"using" the RAM does not mean it is unavailable for other purposes. That's
where memory balancing comes in. If you start some more VMs, Qubes/Xen
will reduce the amount of memory available to the others (down to the per
VM minimum if needed) in order that they all fit.

> Is there a way to optimize this? I noticed that it seems I can't reduce
> the max memory for sys-net and sys-usb.

Sys-net and sys-usb are both HVMs, so their minimum memory setting is also
their maximum. Wouldn't recommend making them any lower.

> While I can reduce it for
> sys-firewall, I'm concerned that reducing it may lower it's capability to
> withstand network-based attacks.
>
> Is there any way I could optimize this? If possible I'm really looking to
> at least be able to have 6 GB to 8 GB free to use on the Windows 7 HVM
> that I am going to make.

Short version- don't worry about it unless you start getting out of memory
errors when starting a VM.



Reply all
Reply to author
Forward
0 new messages