Live data from Hacker News

ARM64 Linux Workstation

jasoneckert.github.io

91–100 of 493 posts

Re: ARM64 Linux Workstation

#91
post #58

Earlier quoted context omitted.

Did you try Lima on Mac? I never did compare apples to apples, ran an x86 Podman VM and then switched to an arm64 Lima VM and had drastically improved performance.

Lima uses QEMU as well. Performance is not an issue from ARM-to-ARM virtualisation.

The newest release of colima / lima runs Rosetta2 by default when running cross arch. The file system and networking are flaky but it’s fast.

Re: ARM64 Linux Workstation

#92

is the super fast speed mainly due to Linux the OS? is there benchmark done to compare to MacOS? with most recent hardware and 128GB memory I would expect things will run naturally faster no matter what and Linux might not be the key deciding factor. I'm a Linux user, considering to get a M2 Mac Mini these days, and probably load Linux, even better and if possible, dual-boot as I do need MacOS to run some ios apps on…

I have a relatively mid-to-top tier linux desktop (i5-13600K, 64 GB ram) and an M2 Macbook pro (M2 max, 32GB ram). The linux desktop comfortably outperforms the M2 in any CPU based benchmarks while also being significantly cheaper (though the M2 desktop machines are cheaper than the laptops, but still more expensive than the alternatives). If I were doing GPU heavy work than I assume the M2 would have a leg up, but then again I could just buy whatever GPU I wanted for the desktop machine and put it in there and I think it would outperform the mac once again.

However, if you were concerned about power consumption than the M2 would win by a mile, but for me it wasn't a huge factor in a desktop machine.

Re: ARM64 Linux Workstation

#93
post #83

Earlier quoted context omitted.

> and audio... Overall tip for anyone using Linux and having issues with audio... USB Audio is magical and works wonder. I never bother with the computer's in-board sound: it's USB Audio immediately through a DAC. Works fine. Apple sells $10 USB-C-to-3.5mmjack DAC which are basically a tiny cable (for anyone lamenting it's "too bulky" to have a full-on DAC next to their laptop). For desktops: problem doesn't even reg…

Be somewhat careful what USB audio device you buy. I've had multiple of these and some of them have tons of EM noise, which is very obnoxious.

> I've had multiple of these and some of them have tons of EM noise, which is very obnoxious.

Ah darn yup! If there's one thing I'd expect from these is to not be noisy! FWIW I'm using a CambridgeAudio DAC and, well, CambridgeAudio is supposed to be a good brand when it comes to audio stuff (amp is CambridgeAudio too).

Re: ARM64 Linux Workstation

#94
post #89
post #58

Earlier quoted context omitted.

Lima uses QEMU as well. Performance is not an issue from ARM-to-ARM virtualisation.

Starting from 0.14 lima support vz framework on macos and allows you to use rosetta2 for x64 linux binaries :)

Thanks! Need to test it.

Re: ARM64 Linux Workstation

#95

Earlier quoted context omitted.

and audio and screen brightness at least...those don't work on my M2 setup.

Screen brightness works on the beta kernel. Speakers work but are disabled by default because there is a risk it could blow up the hardware

> Speakers work but are disabled by default because there is a risk it could blow up the hardware

Wait, what? This sounds like a pretty egregious design flaw on Apple's part.

Re: ARM64 Linux Workstation

#96
post #79

Earlier quoted context omitted.

I'm not trying to invalidate your specific use case, but in general, there's not really any practical difference between ARM64 and x86 for desktop use. ARM is generally perceived as being more power efficient, but the latest x86 mobile processors from AMD (and probably also Intel) are very efficient. The Apple M series does have very tightly coupled RAM and onboard ML & video encode accelerators, but when it comes to…

btw. my m1 mac barely goes over 40 w TOTAL power (whole machine) heck watching prime video my total power is at ~10w total power. trust me no matter which ryzen/intel processer you will never be as low as 10w total power. I'm pretty sure the biggest intel/amd desktopn cpu is faster than a m1 pro/ultra, m2 pro/ultra but there is no amd64 processer with the same efficiency than the m1/m2 macs.

> btw. my m1 mac barely goes over 40 w TOTAL power (whole machine)

The v2718 is an embedded Zen2 SoC with a Vega GPU that totals 10-25wCDP. Adding RAM and a main board to that might add 10w, give or take.

> heck watching prime video my total power is at ~10w total power.

Watching video is probably one of the most efficient tasks you can do these days, especially since most of it is offloaded to specialized decoders in the GPU (of which AMD, Apple, nvidia, Intel, etc all provide).

> trust me no matter which ryzen/intel processer you will never be as low as 10w total power.

They literally exist. There’s just no market for them. The sweet spot for PC users is around 15-25w for laptops. The loss in performance below that is generally something people are dissatisfied with.

Re: ARM64 Linux Workstation

#97

> Is there anything that doesn’t work? > To quote Hamlet, Act 3, Scene 3, Line 87: “No.” > Everything works… and works perfectly. That is impressive and really hard to believe! I guess I'll have to find an M1 mac Mini to try myself!

I thought the sound and trackpad didn't work although maybe that isn't an issue for the Mac Studio.

Re: ARM64 Linux Workstation

#98
post #12

Earlier quoted context omitted.

It's hard to believe because virtually none of the proprietary Apple Silicon platform (except the CPU instruction set itself) is documented and involved a tremendous amount of reverse-engineering effort by some very bright volunteers .

And yet open source community embraces the hardware with fervor.

It's an appealing platform. Entry level is $600, nice memory systems (66GB/sec to 800GB/sec), and nice iGPU. The laptops have nice keyboards, nice trackpads, nice screens, and great battery life. The desktops are built in a solid aluminum chassis and have a single fan (instead of the normal 4-8) and are small and quiet.

I do wish apple did a native apple port, but the community is making good progress on that front.

Re: ARM64 Linux Workstation

#99
post #17

hdmi and workstation doesnt fit, but you can down vote me its fine I dont care.

In general I agree with you, but I think that may be a limitation of Asashi right now. So if you want a display it may be your only choice for a desktop.

Re: ARM64 Linux Workstation

#100
post #66

Earlier quoted context omitted.

I dont think this mac consumes much less than a amd 7950x capped at 65W.

Depends, whats the GPU on the 7950x?

I dont think gpu power is relevant for people installing linux on their m1/2 as long as it can play youtube at 4k.
Post reply on HN