Open jhswedeveloper opened 2 years ago
That is because you are emulating x86_64 on your m1 device. That is expected.
@abiosoft does colima use 'fast' or 'slow' mode for running the linux host? https://github.com/lima-vm/lima/blob/master/docs/multi-arch.md
@quom you decide.
According to the linked Lima doc, if you start colima with non-native architecture, it is slow mode.
# m1
colima start --arch x86_64 # slow mode
# intel
colima start --arch aarch64 # slow mode
If you start colima with native architecture, but only specify custom arch with docker (or containerd), it is fast mode.
# m1
docker run --platform linx/amd64 gvenzl/oracle-xe # fast mode
# intel
docker run --platform linx/amd64 gvenzl/oracle-xe # fast mode
Kindly bear in mind that there is no fast mode per se on cross-architecture, the performance will be notably degraded. What is however faster is the VM performance.
The slow mode will have a slow container and VM, while the fast mode will have only a slow container but a performant VM.
@abiosoft fixed a small typo in platform paramter:
# m1
docker run --platform linux/amd64 gvenzl/oracle-xe # fast mode
# intel
docker run --platform linux/amd64 gvenzl/oracle-xe # fast mode
Description
Hi I might be doing something wrong but i have a full spec mac m1 max and I ran following
When I run my java app it basically cleans all table and add new tables, whole thing used to take 20 sec on my windows machine. Now takes 2 minutes.
I've tried increasing cpu because when i run
I see the cpu is spiking under load, 100-500%, ive tried increasing to 16 cpus but no difference in total time execution.
I'm starting to suspect if it's network related?
Version
Colima Version: Lima Version: Qemu Version:
Operating System
Reproduction Steps
1. 2. 3.
Expected behaviour
No response
Additional context
No response