-
-
Notifications
You must be signed in to change notification settings - Fork 410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vm startup parameter cpuType
is needed
#248
Labels
enhancement
New feature or request
Comments
May I add that it would be nice to also have ARM64 cpu types? To my understanding, lima supports ARM on ARM. So I would be very happy to have an option to run Colima "natively" on ARM. |
@conradreisch AFAIK, colima support choosing architecture: ~
❯ colima start --help
Start Colima with the specified container runtime (and kubernetes if --with-kubernetes is passed).
The --runtime, --disk and --arch flags are only used on initial start and ignored on subsequent starts.
Usage:
colima start [profile] [flags]
Examples:
colima start
colima start --runtime containerd
colima start --with-kubernetes
colima start --runtime containerd --with-kubernetes
colima start --cpu 4 --memory 8 --disk 100
colima start --arch aarch64
colima start --dns 1.1.1.1 --dns 8.8.8.8
Flags:
-a, --arch string architecture (aarch64, x86_64) (default "aarch64")
-c, --cpu int number of CPUs (default 2)
-d, --disk int disk size in GiB (default 60)
-n, --dns ipSlice DNS servers for the VM (default [])
-h, --help help for start
-m, --memory int memory in GiB (default 2)
-v, --mount strings directories to mount, suffix ':w' for writable
-r, --runtime string container runtime (containerd, docker) (default "docker")
-s, --ssh-agent forward SSH agent to the VM
-k, --with-kubernetes start VM with Kubernetes
Global Flags:
-p, --profile string profile name, for multiple instances (default "default")
--verbose enable verbose log It's only lack of ability to choose different cpu type, not the cpu architecture. |
@oliverdding - my bad. Thanks for providing the solution to me! |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When use colima to run clickhouse, it cannot start and show message "not support CPU SSSE3". After browsing lima's issues, I found a fix for this by specificing:
to make lima start vm with
Haswell-v4
instead ofqemu64
, which is default cpu type after sometime of this PR, announcing performance improvement after switching.Environment
macOS 12.3 21E230 arm64
MacBookPro18,1
Solution
Add parameters for cpuType.
The text was updated successfully, but these errors were encountered: