qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

答复: colo: qemu 4.2.0 vs. qemu 5.0.0-rc2 performance regression


From: Zhanghailiang
Subject: 答复: colo: qemu 4.2.0 vs. qemu 5.0.0-rc2 performance regression
Date: Mon, 13 Apr 2020 01:09:52 +0000

Hi,

This patch " COLO: Optimize memory back-up process " should only affects VM's 
migration process before COLO compare starting to work.
Have you tried to revert this patch to see if it affects your tests ?

For memory size we used for secondary qemu, we only need a backup of VM's ram, 
so it should be double amount.


Thanks,
Hailiang


-----邮件原件-----
发件人: Lukas Straub [mailto:address@hidden] 
发送时间: 2020年4月12日 1:17
收件人: address@hidden
抄送: address@hidden; address@hidden; Zhanghailiang <address@hidden>; Zhang Chen 
<address@hidden>
主题: colo: qemu 4.2.0 vs. qemu 5.0.0-rc2 performance regression

Hello Everyone,
I did some Benchmarking with iperf3 and memtester (to dirty some guest memory) 
of colo performance in qemu 4.2.0 and in qemu 5.0.0-rc2 with my bugfixes on 
top.( https://lists.nongnu.org/archive/html/qemu-devel/2020-04/msg01432.html )

I have taken the average over 4 runs.
Client-to-server tcp bandwidth rose slightly from ~83.98 Mbit/s to ~89.40 Mbits.
Server-to-client tcp bandwidth fell from ~9.73 Mbit/s to ~1.79 Mbit/s.
Client-to-server udp bandwidth stayed the same at 1.05 Mbit/s and jitter rose 
from ~5.12 ms to ~10.77 ms.
Server-to-client udp bandwidth fell from ~380.5 Kbit/s to ~33.6 Kbit/s and 
jitter rose from ~41.74 ms to ~83976.15 ms (!).

I haven't looked closely into it, but i think
0393031a16735835a441b6d6e0495a1bd14adb90 "COLO: Optimize memory back-up process"
is the culprint as it reduces vm downtime for the checkpoints but increases the 
overall checkpoint time and we can only release miscompared primary packets 
after the checkpoint is completely finished.

Another thing that I noticed: With 4.2.0, the secondary qemu uses thrice the 
amount of gest memory. With 5.0.0-rc2 it's just double the amount of guest 
memory. So maybe the ram cache isn't working properly?

Regards,
Lukas Straub

reply via email to

[Prev in Thread] Current Thread [Next in Thread]