Incus-migrate: it's quite slow for me

I’m currently in the proccess importing VMs into incus. For this i’m using the provided incus-migrate binary. Hoewer, in two widely different incus installations i’m only seeing around 4 MB/s when transferring the instance. I find that quite slow.

I’m running it in both cases on the hosts themself and transferring it to the local Incus server.

Currently i’m using the binary from Release Incus 6.12 · lxc/incus · GitHub and the incus server is on the LTS Version but i’ve also seen it with an earlier versions of the migrate tool.

Do others have similar or diferent experiences with import speed?

(Importing an iso via incus storage volume import is quite a bit faster.)


Oh, and thanks for incus. I quite like it! :slight_smile:

i am testing migrate a proxmox vm to incus and it takes a very long time too. the conversion from qcow2 to raw was done quickly but transfering the instance is to slow. And it seems it transfers the whole disk regardless of the used space inside the vm.

But at the end it worked and this is quite nice.

1 Like

Same here, the migration through incus-migrate takes a lot, averaging at 4MB/s. Looking at the system monitor, I see the disk is barely being used, while a single thread is being used at 100%. Importing with incus storage volume import instead uses all the CPU cores and is pretty fast.

1 Like

silly question maybe, but how would you import the raw image like that? incus storage volume import only seems to support .iso and backups?

That’s in the title, incus-migrate handles that.

Worth noting that we did get to the bottom of the performance problem. I don’t remember if 6.18 has the fix already, if not 6.19 definitely will.

2 Likes

I guess the following PR is the one with the fix:

So should be part of 6.19. Thanks! Thats great news!

Yeah I thought they were talking about importing the .raw as volume, but I guess that’s only possible via incus-migrate indeed.. my bad..

Just confirmed. Now i’m getting about 100 MB/s with the fix.
Quite an improvement and much more reasonable compared to the previous 4 MB/s.

Thanks for taking care of it!