-
Notifications
You must be signed in to change notification settings - Fork 389
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
Memballoon - possible cause for slow shutdown. "deflation" issue #1148
Comments
|
4 - i showed how that was done simple example for upgrade of host:
P.S. swap usage=0, nothing goes there in case of some will say "you swapping at this time" what is not "recommended" |
@DaLiV Win11 guest indeed has this problem with balloon device, it took almost twice as long as WS2022 guest. There is already a jira issue recorded internally. If there is any update, we'll update here. |
I am still seeing this issue with a win11 guest and Any news on the internal JIRA ticket @xiagao @YanVugenfirer? |
@boennhoff sorry. not yet. |
Describe the bug
at/after shutdown of guest os when use less than :
problem occurs not (shutdown of VM takes some seconds) in cases when:
1
<currentMemory>
equal to<memory>
2 memballoon driver disabled in windows
3 memballoon disabled on libvirt with "model=none"
4. prior to shutdown do "full memory allocation" to VM
virsh setmem VMName --live --size 32G
sure - that op also takes time - approx 90sec.
but direct shutdown "without that" takes 180sec.
that means 2 times less, shutdown done afterwards in "below 5 seconds"
seems memballoon allocate memory at shutdown when deallocation processes running,
To Reproduce
Expected behavior
Shutdown must not take long time.
Host:
VM:
Additional context
can monitor next at shutdown time:
watch -n 1 "virsh dommemstat VMName"
there grows "rss" till MaxMem, but very slowly
The text was updated successfully, but these errors were encountered: