Hi,
Usualy migration do not exceed 12MB/s because of the option -C in ssh.
I understand that compression is good in case of copying free space. But in normal use, when containers don't have huge amount of free space, speeds without compression are far more greater and benefits from compression dissapear completely if container have a lot of data.
After removing -C in Storage.pm migration achieved 109MB/s - utilize full Gbit link.
Taking this into account, transfering 100GB volume with 20GB data is few times faster than with default compression on.
Quick test on container with 4GB volume with 0.5GB data:
with -C: 4294967296 bytes (4.3 GB) copied, 66.9362 s, 64.2 MB/s (duration 00:01:12)
without -C: 4294967296 bytes (4.3 GB) copied, 39.5482 s, 109 MB/s (duration 00:00:43)
Maybe we can add option to enable/disable compression in migration dialog?
Usualy migration do not exceed 12MB/s because of the option -C in ssh.
I understand that compression is good in case of copying free space. But in normal use, when containers don't have huge amount of free space, speeds without compression are far more greater and benefits from compression dissapear completely if container have a lot of data.
After removing -C in Storage.pm migration achieved 109MB/s - utilize full Gbit link.
Taking this into account, transfering 100GB volume with 20GB data is few times faster than with default compression on.
Quick test on container with 4GB volume with 0.5GB data:
with -C: 4294967296 bytes (4.3 GB) copied, 66.9362 s, 64.2 MB/s (duration 00:01:12)
without -C: 4294967296 bytes (4.3 GB) copied, 39.5482 s, 109 MB/s (duration 00:00:43)
Maybe we can add option to enable/disable compression in migration dialog?