by jcelerier · 2y ago · 0 comments
Which distro is this ? In debian I'm pretty sure CONFIG_X86_X32 was enabled in the kernel not too long ago, enabling this to work without issues. When I benchmarked it was on average 20% faster than x86_64 and used quite less memory for GUI apps IIRC - I think that for most utilities like coreutils, image viewers, file explorers, media players, etc. they'd benefit from it ; >4GB is only really meaningful for web browsers, compilers & interpreters, games and creative apps such as anything doing 3D, audio or large data processing.
A 20% penalty sounds insane, but I can very well believe it. What benchmarks did you run?
https://wiki.debian.org/X32Port
But, maybe support has gone away recently, too since upstream apparently was interested in removing support?
It has been a long time, but I was using x32 containers on an amd64 host (both Debian), and things worked fine without having to build anything from source. After moving to a different VPS provider who was less stingy with RAM in their base offering, I just simplified and used straight amd64.
While I didn't try adding x32 as an additional arch with Debian's multi-arch, I'm pretty confident, it would "just work" just as adding i386 as an additional arch does.
Yes, but...
> web browsers
...includes Electron, Cordova/PhoneGap, WebView-based UIs, et cetera.
So yes, so long as software-houses uncritically jump on Electron as their platform-of-choice then all those apps will also ultimately be "web browsers" in disguise
...even a simple utility to flash an SD card[1] is a 150MB behemoth... I'm dying inside at this point.
[1]: https://github.com/balena-io/etcher/releases/tag/v1.19.21
Meanwhile, I have a dozen firefox processes each above 500M RES and a few above 1G...