KVM and disk flush on guest = 100% cpu
Hello,
I'll start from that I've searched the forums for the problem solution, but wasn't able to find.
so here it is:
host:
ubuntu 10.04.1 LTS
2.6.32-27-server x86_64
2x Intel(R) Xeon(R) CPU E5620 (total of 16 cpus for os)
12GB RAM
2x software raids:
160GB and 2TB
the 160GB one is for system and 2TB one is for kvm images
guest:
Ubuntu 10.04.1 LTS
Disk: virtio
network: virtio
Problem:
the problem starts when the flush process starting.
it becomes using 100% of cpu for a while and then ok. and this happens on random periods of time
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
869 root 20 0 0 0 0 S 117 0.0 0:17.80 flush-252:0
252 is the vda disk:
monitor@monitor:~$ ls -l /dev/vda
brw-rw---- 1 root disk 252, 0 2011-01-13 16:44 /dev/vda
and this feels bad: guest responses very slowly for the time flush process is active. it doesnt seem to affect host.
the server is just bought. no errors in dmesg about SW raid.
any ideas to solve it? ot mby turn off that sick flushing on the guest?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu kvm Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Roman R for more information if necessary.