summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_i386/host_missing/accel_KVM/2572
blob: 20ad0c1e7dba3d8270c69e336a308974daf5dca1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Guest os=Windows , qemu. Shutdown very slow. Memory allocation issue.
Description of problem:
simplifiying - libvirt config:
```
<memory unit='KiB'>33554432</memory>
  <currentMemory unit='KiB'>131072</currentMemory>
```
when use `<currentMemory>` less than `<memory>` - at/after shutdown of guest os cpu hangs on 100% and lasts long- approximately 3-5 minutes
if change to
```
<memory unit='KiB'>33554432</memory>
  <currentMemory unit='KiB'>33554432</currentMemory>
```
then shutdown takes less some seconds

problem occurs not (shutdown of VM takes some seconds) in cases when not used balloon device:
1 `<currentMemory>` equal to `<memory>`
2 memballoon driver disabled in windows
3 memballoon disabled on libvirt with "model=none" (and therefore not passed to qemu command line)
Additional information:
on the guest :
 * used drivers from virtio-win-0.1.262.iso - membaloon ver 100.95.104.26200 
 * possible combination of all or some components 

monitored next: 
`virsh dommemstat VMName` at shutdown time there grows "rss" till MaxMem, but very slowly.
aLso on `virsh setmem VMName --live --size 32G` 
rss grows slow - but takes 2 times less than at simple shutdown time ( = at shutdown seems occurs memory allocation and deallocation at the same time)

so something with some or all libvirt/qemu/balloon parts not so nice