colima icon indicating copy to clipboard operation
colima copied to clipboard

colima clone unbelievable slow

Open salzig opened this issue 2 years ago • 0 comments

Description

colima clone default k8s is unbelievable slow. I'm running it after creating it via colima start --memory 4 --vm-type vz --vz-rosetta --kubernetes --runtime containerd running it for a while and finally stopping it colima stop.

It's copying for ~40min, and so far it has copied 18gb out of 42gb.

Version

colima version 0.5.6 git commit: ceef812c32ab74a49df9f270e048e5dced85f932

Operating System

  • [ ] macOS Intel <= 13 (Ventura)
  • [ ] macOS Intel >= 14 (Sonoma)
  • [ ] Apple Silicon <= 13 (Ventura)
  • [X] Apple Silicon >= 14 (Sonoma)
  • [ ] Linux

Output of colima status

FATA[0000] colima is not running

Reproduction Steps

  1. colima start --memory 4 --vm-type vz --vz-rosetta --kubernetes --runtime containerd
  2. some usage
  3. colima stop
  4. colima clone default k8s

Expected behaviour

I expected it to be as fast as copying a 42gb file, not just 60 Mb/s.

Additional context

M2 Pro (32GB RAM, 512GB Storage, of which 200GB are free).

Edit: I just copied the folder using rsync --progress and saw average speeds of 300mb/s. Implementation uses cp, not sure if that is the root cause.

salzig avatar Nov 23 '23 09:11 salzig