id = 719 title = "live migration's performance with compression enabled is much worse than compression disabled" state = "closed" created_at = "2021-11-11T14:30:54.128Z" closed_at = "2021-11-16T10:30:04.593Z" labels = ["Migration"] url = "https://gitlab.com/qemu-project/qemu/-/issues/719" host-os = "SLE15" host-arch = "X86" qemu-version = "QEMU emulator version 6.1.50 (v6.1.0-2205-g63ed851de4-dirty" guest-os = "openSUSE-15.3" guest-arch = "x86" description = """""" reproduce = """1. Run QEMU the Guests with 1Gpbs network on source host and destination host with QEMU command line 2. Run some memory work loads on Guest, for example, ./memtester 1G 1 3. Set migration parameters in QEMU monitor. On source and destination, execute: #migrate_set_capability compress on Other compression parameters are all default. 4. Run migrate command, # migrate -d tcp:10.156.208.154:4000 5. The results: - without compression: total time: 197366 ms throughput: 937.81 mbps transferred Ram: 22593703 kbytes - with compression: total time: 281711 ms throughput: 90.24 mbps transferred Ram: 3102898 kbytes When compression is enabled, the compression transferred ram is reduced a lot. But the throughput is down badly. The total time of live migration with compression is longer than without compression. I tried with 100G network bandwidth, it also has the same problem.""" additional = """"""