lima-vm / lima-vm/lima

Geekbench Significantly Reduced Performance

Open
#3,726 6 comments 0 reactions 0 assignees View on GitHub
area/performance component/vz question
Dominant language
Go
Stars
21.9k
Forks
957
Avg merge
2d 6h
Merged PRs (30d)
53

Description

### Description

I'm creating an instance like this and trying to run Geekbench 6:

For a reference here are the native MacOS M1 scores:
Single Core Score: 2345
Multi Core Score: 8348

When running the x86_64 binary through Rosetta I get
Single Core Score: 911
Multi Core Score: 3013

I was suspecting that it was Rosetta overhead so I ran the ARM preview of Geekbench and got
Single Core Score: 1201
Multi Core Score: 4919

I know that lima-vm has some overhead and Rosetta has around a 20% performance hit on Geekbench but I'm seeing only a max of around 50% of the performance in my tests here. Am I using the wrong settings for my instance? Here are the commands I used below.
```
limactl start \
--name arm-rosetta \
--vm-type=vz \
--arch=aarch64 \
--rosetta \
--cpus 8 \
--memory 8 \
--disk 100
limactl list
NAME STATUS SSH VMTYPE ARCH CPUS MEMORY DISK DIR
arm-rosetta Running 127.0.0.1:55393 vz aarch64 8 8GiB 100GiB ~/.lima/arm-rosetta
```
I'm running limactl version 1.2.0 on MacOS Sequoia 15.5

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.