Giter VIP home page Giter VIP logo

Comments (6)

jandubois avatar jandubois commented on August 23, 2024 2

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.

AkihiroSuda avatar AkihiroSuda commented on August 23, 2024

ARM on Intel is very slow.
Ctrl-Alt-2 may show some progress.

from lima.

jandubois avatar jandubois commented on August 23, 2024

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.

bobhenkel avatar bobhenkel commented on August 23, 2024

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.

ChillarAnand avatar ChillarAnand commented on August 23, 2024

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.

Screenshot 2022-10-19 at 15 07 30

Screenshot 2022-10-19 at 15 07 41

from lima.

ChillarAnand avatar ChillarAnand commented on August 23, 2024

Thanks, @jandubois for the fast mode tip. In fast mode, VMs are twice as fast as normal mode.

from lima.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.