New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HVM stub-domain occasionally runs out of memory #3821

Open
eug48 opened this Issue Apr 15, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@eug48

eug48 commented Apr 15, 2018

Qubes OS version:

R4.0

Affected component(s):

HVM stub domains


Steps to reproduce the behavior:

Run Windows 10 HVM, giving it 16GB of RAM (out of 32GB).
The VM occasionally fails when there's relatively high memory/cpu usage.

Expected behavior:

VM runs without interruption

Actual behavior:

The Windows 10 VM fails due to the stub-domain OOM killer killing qemu.
Logs here: https://gist.github.com/eug48/472ede7f275bd1ccf4fb9bf1f6157b8d

General notes:


Related issues:

@eug48

This comment has been minimized.

Show comment
Hide comment

eug48 commented May 2, 2018

It hope that increasing the stubdom's memory could mitigate this but I can't find how to do this even though these two patches suggest it is possible:

https://github.com/QubesOS/qubes-core-libvirt/blob/385f8f3f432fcdf6aacdbd8c11d62635cea10c2f/0020-libxl-add-support-for-stubdom_mem-option.patch
https://github.com/QubesOS/qubes-vmm-xen/blob/ab932b916883893f5c105b5338686c3856858fd7/patch-stubdom-linux-config-stubdom-mem.patch

Any help would be much appreciated.

@eug48

This comment has been minimized.

Show comment
Hide comment
@eug48

eug48 May 2, 2018

I've figured it out: to set the stubdom's memory to ~500MB run qvm-prefs Win10 stubdom_mem 500. The setting can be verified through xl list.

This seems to have helped as I can now install the latest Windows 10 Feature Update.

eug48 commented May 2, 2018

I've figured it out: to set the stubdom's memory to ~500MB run qvm-prefs Win10 stubdom_mem 500. The setting can be verified through xl list.

This seems to have helped as I can now install the latest Windows 10 Feature Update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment