5 ms·
> 4 minutes with Rosetta 2 > 11 minutes with qemu-user-static > Whereas it only takes 20 seconds on my early 2013 MacBook Pro. This sounds suspicious to me.
by runeks 4y ago
> 4 minutes with Rosetta 2
> 11 minutes with qemu-user-static
> Whereas it only takes 20 seconds on my early 2013 MacBook Pro.
This sounds suspicious to me. In my experience, Rosetta is faster on my M1 MBP than natively on my 2015 x86 MBP.
How did you measure this?
- LIV2 4y ago> This sounds suspicious to me. In my experience, Rosetta is faster on my M1 MBP than natively on my 2015 x86 MBP. The performance will obviously depend on the workload > How did you measure this? Running the exact same docker image based on this: https://github.com/chriz2600/xilinx-ise https://github.com/chriz2600/xilinx-ise And the code from this git repo of mine: https://github.com/LIV2/GottaGoFastRAM2000 https://github.com/LIV2/GottaGoFastRAM2000 Inside a Debian vm: docker run --rm -it -v ${PWD}:/build -w /build xilinx-ise /bin/bash cd RTL make clean time make ../Binary/XC9572XL/gottagofast2000.jed When I get a chance I will check the timing of each individual step from the makefile. If there is something I'm missing I'd love to know, I'd rather not have to run my builds on another machine
- runeks 4y ago> Running the exact same docker image [...] I don't think Docker supports using Rosetta to run x86 binaries inside arm64 containers. Here's an open feature request for it: https://github.com/docker/roadmap/issues/384 https://github.com/docker/roadmap/issues/384
- LIV2 4y agoI'm not using docker desktop, I'm using docker inside a Debian VM. I'm using an x86_64 container and it's definitely using Rosetta via binfmts because if I remove that the container won't even start