Re: [qubes-users] qvm-create-default-dvm modifying initial memory value?

2016-12-15 Thread entr0py
Andrew David Wong:
> On 2016-12-15 05:40, Joonas Lehtonen wrote:
> 
 When I look at whonix-ws-dvm "initial memory" it says: ~2800MB
>>>
 I changed that to 1000MB and everything works again.
>>>
>>> Why that high?
> 
>> since its preset value was over 2800 I didn't want to reduce it to
>> much but I just found out that something changes that value. (I did
>> set it to 1000 it is now at >1500MB).
> 
>> Is this a bug? Or can I disable this auto-adjustment?
> 
> 
> The default initial memory value should be 400 MB. At least, that's
> what mine is.
> 
>>> Have you disabled dynamic memory management for this VM?
> 
>> No
> 
>>> Otherwise it needs to be only that high to allow booting the VM,
>>> until dynamic memory management kicks in.
> 
> 
> 
> 

For future reference, there was a similar report on Whonix.org last month. 
Initial memory adjusted to 3.4 GB. Some debug info included - unresolved.

https://forums.whonix.org/t/dvm-fails-to-start-after-whonix-update-dist-upgrade/3109/4

-- 
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/a08a6400-40f2-7157-9cee-3584f9e6b1a2%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] qvm-create-default-dvm modifying initial memory value?

2016-12-15 Thread Andrew David Wong
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 12/15/16 05:58, Marek Marczykowski-Górecki wrote:
> On Thu, Dec 15, 2016 at 05:49:18AM -0800, Andrew David Wong wrote:
>> On 2016-12-15 05:45, Marek Marczykowski-Górecki wrote:
>>> On Thu, Dec 15, 2016 at 01:40:00PM +, Joonas Lehtonen wrote:
>>>
>> When I look at whonix-ws-dvm "initial memory" it says:
>> ~2800MB
>
>> I changed that to 1000MB and everything works again.
>
> Why that high?
>>>
 since its preset value was over 2800 I didn't want to reduce it
 to much but I just found out that something changes that value.
 (I did set it to 1000 it is now at >1500MB).
>>>
 Is this a bug? Or can I disable this auto-adjustment?
>>>
>>> Ah, I forgot it's adjusted at qvm-create-default-dvm call time.
>>> Based on memory usage inside of VM.
> 
>> I don't understand. Isn't the target TemplateVM shut down when
>> qvm-create-default-dvm is called? How could it be using any memory
>> while it's shut down?
> 
> It's about whonix-ws-dvm - it is started to create savefile out of it.
> 

On 12/15/16 06:05, Joonas Lehtonen wrote:
> This is not about the initial memory of the used templateVM (in this
> case whonix-ws) but about whonix-ws-dvm. (qubes manger -> show interal VMs)
> 

Ok, but why would a DVM template require so much memory just upon
starting up? Is that expected for some reason?

- -- 
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-BEGIN PGP SIGNATURE-

iQIcBAEBCgAGBQJYUsvSAAoJENtN07w5UDAwC/oP/igbdy+faDGuiLYcN0Gxq1iw
932f5TbcRshc11HVrhSLFlixs0roXE3ayW7aOVk8o5pN8Yf5wC4YNQCeRkoLWveT
DfyNsXNFnP+DuP/6yZWQPA8df7NaVea+Sqqk+Hh7TyyP4SmDobGtMx+HKjb9KWa3
UvMF+HckEFLO2YS/aUffMy63lKIHuLR8YQYTseiYcjQ5uadKLWaCWmcXBNONqLAR
/Ong4l9QKczlIIpzB59WN7SSAWzr8s5ARiO94d9fefxAolATUaFOngHQFAIdKCn2
ZRtXlIIHdCD9THwWAruGwtpR1o+8PkJ+ml+XiUq02+rdolLGV3StZs/DfrB1kZv6
gTIQPjhkY/pL4ERrjoOtgbRz47MA3PP7IGJrBT3ZUVqfep/V/Aw/gWKChMUJR7Y6
ScVfbKHh7B+T5/PGylN/CMU1M97tTHawNEbCjQ+DepXcvTOcdqbum68KhzgdAa7f
sdi/72FPKjOfllP+WgnCEdau/hD2hkN72CkHmrHXYm3E2mcVX7j8wuTXWd0K1CRX
ldfCQcm/n0m6YV7z5vUlShJgtYiy+H9pVzZ8q6rFRZhxteS9lM/9REljxJi0VQJY
r3R764828FmvnnFEX/g0lNDivWYcgI+CDWJUng5IXNkhd9guWdNjLLlurRv6vkKy
+ehHz/h20Ptb8dAD0a0t
=eOC3
-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/c74986ee-e797-e1dd-ccfe-c97296bd817f%40qubes-os.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] qvm-create-default-dvm modifying initial memory value?

2016-12-15 Thread Joonas Lehtonen
 When I look at whonix-ws-dvm "initial memory" it says: ~2800MB
>>>
 I changed that to 1000MB and everything works again.
>>>
>>> Why that high? 
> 
>> since its preset value was over 2800 I didn't want to reduce it to much
>> but I just found out that something changes that value. (I did set it to
>> 1000 it is now at >1500MB).
> 
>> Is this a bug? Or can I disable this auto-adjustment?
> 
> Ah, I forgot it's adjusted at qvm-create-default-dvm call time. Based on
> memory usage inside of VM. It looks something use that much memory in
> Whonix-ws based DVM... Try running 'top' there (switch to sorting by
> memory with '>' key).

OK I played around some more and when setting initial memory to 400MB it
gets only increased to >420MB, that should be fine.

When starting a xterm-dvm 'top' says only 315MB memory are used.

I consider this as solved and I will reset it to 400MB from time to time.

-- 
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/dfb65df7-990a-b340-901a-b58efa31ff09%40openmailbox.org.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Re: [qubes-users] qvm-create-default-dvm modifying initial memory value?

2016-12-15 Thread Joonas Lehtonen


Andrew David Wong:
> I don't understand. Isn't the target TemplateVM shut down when
> qvm-create-default-dvm is called? How could it be using any memory
> while it's shut down?

This is not about the initial memory of the used templateVM (in this
case whonix-ws) but about whonix-ws-dvm. (qubes manger -> show interal VMs)

-- 
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/5b4d6550-be8c-25ab-c39c-906ef6519539%40openmailbox.org.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Re: [qubes-users] qvm-create-default-dvm modifying initial memory value?

2016-12-15 Thread Marek Marczykowski-Górecki
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Thu, Dec 15, 2016 at 05:49:18AM -0800, Andrew David Wong wrote:
> On 2016-12-15 05:45, Marek Marczykowski-Górecki wrote:
> > On Thu, Dec 15, 2016 at 01:40:00PM +, Joonas Lehtonen wrote:
> > 
>  When I look at whonix-ws-dvm "initial memory" it says:
>  ~2800MB
> >>> 
>  I changed that to 1000MB and everything works again.
> >>> 
> >>> Why that high?
> > 
> >> since its preset value was over 2800 I didn't want to reduce it
> >> to much but I just found out that something changes that value.
> >> (I did set it to 1000 it is now at >1500MB).
> > 
> >> Is this a bug? Or can I disable this auto-adjustment?
> > 
> > Ah, I forgot it's adjusted at qvm-create-default-dvm call time.
> > Based on memory usage inside of VM.
> 
> I don't understand. Isn't the target TemplateVM shut down when
> qvm-create-default-dvm is called? How could it be using any memory
> while it's shut down?

It's about whonix-ws-dvm - it is started to create savefile out of it.

- -- 
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-
Version: GnuPG v2

iQEcBAEBCAAGBQJYUqGHAAoJENuP0xzK19csIZAH/AwKtI/f3s6q16MAL2CU4Zj9
qaaRtOpYn3fkOb5c7CDUdfxM7gD63BqR6DE8xGFBsAbRUOcH0K8ezOi80cRoifG0
oHmQuDKgs1hWG4awY/WZs/zcIYJlACp1AQC+vlNd8e4I+du4CQ88zwC+6Re2br3a
xnsNm7lcAgvPvGEoONxecrmteMCNVO73yOVmVAfW+ZGx0/CW9qrg4oQX0eqE0bk0
WD8qd5bcOu5rc3VneYuXzAzhaFhNsoB+jsYGoSgN/WFI9nUDYZSdeBEwqfXdXSYJ
mzUtfjx8zefIPMfi01gOvPgx6bY1cSM9Aic2lTnkhYYZxtc4FT+QwOZhbxMWD/o=
=Zgkg
-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/20161215135832.GP1239%40mail-itl.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] qvm-create-default-dvm modifying initial memory value?

2016-12-15 Thread Andrew David Wong
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2016-12-15 05:45, Marek Marczykowski-Górecki wrote:
> On Thu, Dec 15, 2016 at 01:40:00PM +, Joonas Lehtonen wrote:
> 
 When I look at whonix-ws-dvm "initial memory" it says:
 ~2800MB
>>> 
 I changed that to 1000MB and everything works again.
>>> 
>>> Why that high?
> 
>> since its preset value was over 2800 I didn't want to reduce it
>> to much but I just found out that something changes that value.
>> (I did set it to 1000 it is now at >1500MB).
> 
>> Is this a bug? Or can I disable this auto-adjustment?
> 
> Ah, I forgot it's adjusted at qvm-create-default-dvm call time.
> Based on memory usage inside of VM.

I don't understand. Isn't the target TemplateVM shut down when
qvm-create-default-dvm is called? How could it be using any memory
while it's shut down?

> It looks something use that much memory in Whonix-ws based DVM...
> Try running 'top' there (switch to sorting by memory with '>'
> key).
> 

- -- 
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-BEGIN PGP SIGNATURE-

iQIcBAEBCgAGBQJYUp9dAAoJENtN07w5UDAwUcsQAIceeQ+APPDNleqeR91l/KBA
LGwiLuAXJkBg7WhvkbjujF/sn6xXwk+DOOlq8hg79Ug/rZooEPqgHxuQdY5qcAZS
5YCCv879IdGqeSD/D5zDG+iNddnfVIE1k2dGnFU2jZ3AV7kQH+TqU7Vp5HAktaTd
VA/+twCB0+DrgsyhcaPJguRSEle/0PYsYbjPL9o1uV03AtuAMIQD26nSf33K9ERu
YZi7pZif7tN7C/INurTGFGaORoQzBqFErpLBN5xBrdrZ4/JkF2LsUzD36qVqZvLx
SfnOpzh9oejYqkxH3ZcPmM4sU8RHp40DXz4u9otVoeGQmPCrQZAwBw7cFP/t/qiF
fU3MX+llM1hz/tp457CAIuG3YyimPTSr2VAfAWCxzReH4K9NrnEaxTK5Z/UGvP5w
qXTA+ja3xUCZ9rsBvoa7qoWmCE98zRhyQm5twSQfneHCe6Q9RxhohU//lDbeR537
U3tW2bVnl6+ZWlB6W1UMoYyIwgLkakijN/megjPZ7h2BYNMYQCApDMBepsVVMrAs
4lwRA8Rd0xisana5nK/mK/JIAgQq/GHBuJGqx0ztbr2bMFm0FybT4/OhsLCszrIZ
SkPfyMhMAjaFC4cqIECiC7sEsJu8e8CmgyaU/Zm6eHJpUdbqp47LGREdgdmUonEX
dI25jiZEY4Y76ZSgJAAq
=LLf7
-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/d55f8dad-ef80-9165-7afc-6f198cfcdf6d%40qubes-os.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] qvm-create-default-dvm modifying initial memory value?

2016-12-15 Thread Andrew David Wong
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 2016-12-15 05:40, Joonas Lehtonen wrote:
> 
>>> When I look at whonix-ws-dvm "initial memory" it says: ~2800MB
>> 
>>> I changed that to 1000MB and everything works again.
>> 
>> Why that high?
> 
> since its preset value was over 2800 I didn't want to reduce it to
> much but I just found out that something changes that value. (I did
> set it to 1000 it is now at >1500MB).
> 
> Is this a bug? Or can I disable this auto-adjustment?
> 

The default initial memory value should be 400 MB. At least, that's
what mine is.

>> Have you disabled dynamic memory management for this VM?
> 
> No
> 
>> Otherwise it needs to be only that high to allow booting the VM,
>> until dynamic memory management kicks in.
> 
> 

- -- 
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-BEGIN PGP SIGNATURE-

iQIcBAEBCgAGBQJYUp6rAAoJENtN07w5UDAwOcIP/jH+xCUjsbX4Ipl52+4bvgv5
GXYalAUjMktdHLKOVLniS+4BpGfcKecufRtz68FEZOhnpKmuB1icSlPM7Z6Kq/3a
dmwKcjdoKrLVDRFuGfTxbTTrXOTmiRa5rE/eU0pxDUmRnqtFemM1+3f88mYXrL2t
eCz7FFpHNjDTUTzpmv8Iphi4y1TvzaUX25KypP63Jeb6JsNLnrW3/kBSAB0q2j0K
RUCUP5QOuTMh2tcONvIXqTqatm24SIRmruHrvzmCWly6kLOigINU280TDInW8nKI
ht/lU+oVq4yD5bXtV+Dnv3OQcVn3aUz48n1d2eESWgcK7s0NLjfBW8my+kVJVUs3
O79yOFcFKb+UPZB/L+DNTnx6+/SJq4YVZ7RbZYqGrU+lslZ5wRKH6BTcXqA3qX3N
GyAASaQuBta7xnuMLzPSFEHOM9IYh4S8KYCxWYEwcU4/5yM2h0LNk8VnwYmuEl3R
v694TYwsed6WiXLbSkhuIbhmyYDzP/YOQ1u37y5ozNAKM1v5Z2NB4vZL1xaAKsoM
QEWom5u7mQMtgP/oYtSSi6sCyjtvE9sP8ViEjBgNoC7H7UhdVGDTkg5la15RTkIJ
zypsiUlUK73o9pGsd2rep1gWy20jhTPoHtF36dWfKEVtFIHBw7mHnbygAW90tbPw
RoYLDEsm2KkHQo5rDYr+
=OUQ2
-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/3cb95221-aef1-302d-d0ff-5e7382f7bc64%40qubes-os.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] qvm-create-default-dvm modifying initial memory value?

2016-12-15 Thread Marek Marczykowski-Górecki
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Thu, Dec 15, 2016 at 01:40:00PM +, Joonas Lehtonen wrote:
> 
> >> When I look at whonix-ws-dvm "initial memory" it says: ~2800MB
> > 
> >> I changed that to 1000MB and everything works again.
> > 
> > Why that high? 
> 
> since its preset value was over 2800 I didn't want to reduce it to much
> but I just found out that something changes that value. (I did set it to
> 1000 it is now at >1500MB).
> 
> Is this a bug? Or can I disable this auto-adjustment?

Ah, I forgot it's adjusted at qvm-create-default-dvm call time. Based on
memory usage inside of VM. It looks something use that much memory in
Whonix-ws based DVM... Try running 'top' there (switch to sorting by
memory with '>' key).

- -- 
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-
Version: GnuPG v2

iQEcBAEBCAAGBQJYUp6DAAoJENuP0xzK19csUmsH/iW+5j0CZKbJY3q8snfRZgag
A+UaXXuDP96JFyw52fbcmQp/iOuu+Me7PKWces+GVrnPsSr4LkGkmrwIsTvOnRlc
oCqoIakzseoTjUV4wHdev8tpboRVTzzfAAUFTtna1ULzOKvZpDCcSaztimXyQ/LZ
Lz5Zk6RLiBmSyaXzdM197XvTfB1eh7uTRCPctKvO1w62a1aTRGDL9wfl0KmTVusp
zOyGqOgrYEolRLWQQO8ugizjzN959CP6n9KVPTzBUDsOKdwQcKDBCQ4ohYJPBEKh
GvRti/MEXxFMtoGk/Z2lX2jAoVDMSqLW8h5Sc0IFriHgekFgUPYfdiWW4+kezs4=
=cXCm
-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/20161215134540.GO1239%40mail-itl.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] qvm-create-default-dvm modifying initial memory value?

2016-12-15 Thread Joonas Lehtonen

>> When I look at whonix-ws-dvm "initial memory" it says: ~2800MB
> 
>> I changed that to 1000MB and everything works again.
> 
> Why that high? 

since its preset value was over 2800 I didn't want to reduce it to much
but I just found out that something changes that value. (I did set it to
1000 it is now at >1500MB).

Is this a bug? Or can I disable this auto-adjustment?

> Have you disabled dynamic memory management for this VM?

No

> Otherwise it needs to be only that high to allow booting the VM, until
> dynamic memory management kicks in.


-- 
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/b5042939-0501-4624-60c6-072c3adb6b66%40openmailbox.org.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature