Comments (6)
If you haven't see it yet, please check out https://github.com/lima-vm/lima/blob/master/docs/multi-arch.md#fast-mode-intel-containers-on-arm-vm-on-arm-host--arm-containers-on-intel-vm-on-intel-host for a way to just run the containers in the foreign arch, but the OS itself at native speed!
from lima.
ARM on Intel is very slow.
Ctrl-Alt-2 may show some progress.
from lima.
ARM on Intel is very slow.
Indeed. Even slower than I expected. 😄
Ctrl-Alt-2 may show some progress.
Ctrl-Alt-3 does show the progress. It is easier to keep waiting when you see "something" is still moving than when you are just listening to the fans spinning up and watching a black screen...
I wonder if Intel on ARM is similarly slow, but I don't have a machine yet to test.
from lima.
I'm having this issue on Intel Mac. Am I doing something wrong?
limactl start ubuntu.yaml
? Creating an instance "ubuntu" Proceed with the default configuration
INFO[0001] Downloading "https://github.com/containerd/nerdctl/releases/download/v0.11.1/nerdctl-full-0.11.1-linux-amd64.tar.gz" (sha256:ce7a6e119b03c3fb8ded3d46d929962fd17417bea1d5bbc07e0fce49494d8a09)
INFO[0001] Using cache "/Users/bhenkel/Library/Caches/lima/download/by-url-sha256/3304d173f1e1824e5be6cf84bf2f78825cf0db416c4c975dbb2458776942629e/data"
FATA[0002] failed to download the image, attempted 1 candidates, errors=[unsupported arch: "aarch64"]
Here's my ubuntu.yaml
images:
# Hint: run `limactl prune` to invalidate the "current" cache
- location: "https://cloud-images.ubuntu.com/hirsute/current/hirsute-server-cloudimg-arm64.img"
arch: "aarch64"
mounts:
- location: "~"
writable: false
- location: "/tmp/lima"
writable: true
ssh:
# localPort is changed from 60022 to avoid conflicting with the default.
# (TODO: assign localPort automatically)
localPort: 60028
from lima.
I wonder if Intel on ARM is similarly slow, but I don't have a machine yet to test.
It is very slow. On Mac M1, I am running x86_84 & arm64 VMs with just top & k3s. It slower by ~6x.
from lima.
Thanks, @jandubois for the fast mode tip. In fast mode, VMs are twice as fast as normal mode.
from lima.
Related Issues (20)
- User creation errors, with the new alpine-image template HOT 4
- v1.0 roadmap: alpine: switch away from ISO to qcow2 HOT 4
- Missing remote and local address values in hostagent logs on start HOT 1
- Past mounts are persisted through stop/start cycles HOT 6
- Unable to use x86_64 emulation with rosetta HOT 2
- hardened kernel plus firejail container setup with one command
- CI: test `template://alpine-image` (qcow2, non-ISO)
- Old versions of fuse have read-only config file HOT 1
- Test for QEMU version 7 or higher doesn't work on Enterprise Linux (RHEL, ...) HOT 5
- Old versions of cloud-init might end up with invalid sudoers HOT 4
- network.yml config get wrong socket_vmnet instsall path
- AES detection is broken on linux/arm64 and issues a warning HOT 1
- ORAS and bootable containers - downloading images from registry HOT 3
- IPFS for downloading images, using decentralized peer-to-peer HOT 2
- Cannot Create OpenSUSE Tumbleweed Instance HOT 3
- Domains fail to resolve in "vz" VMs when TLD exists in hostResolver
- Simplify syntax for selecting images, with locations and digests HOT 4
- Simplify syntax for default mounts, read-only home + read-write tmp
- Compress the lima-guestagent in the installation directory HOT 9
- Rename config files and machine files HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lima.