Hello Arjan.
Thanks for your answers.
Arjan van de Ven <arjan(a)linux.intel.com> wrote, 2016-12-25 07:21:
On 12/25/2016 1:19 AM, SH wrote:
Does Clear Linux support running binaries for the
x32 ABI?
currently we do not support this; we can certainly look into it,
the most complicated factor will be build infrastructure rather
than packaging.
That's true if you want to allow compiling in x32 mode.
It's easier for running x32 binaries (maybe produced on another system):
this requires only that the kernel
contains the given feature (CONFIG_X86_X32).
For example, I regularly build my x32 binaries on Ubuntu (which has
a x32 tool chain and libraries) and can run the (statically
linked) x32 binary on openSUSE boxes (which have no x32 tool chain and
no x32 libraries).
I'm surprised at some of the conclusions, there is
an implication
that this helps garbage collection.... while the golang folks pretty
much see the opposite effect, where 64 pointers help their garbage
collector out a lot versus 32 bit pointers
Interesting.
In the Scheme implementation I looked at, the amount of garbage (and
most stored data structures)
is doubled if stepping from i386/x32 to x86-64. Hence, the garbage
collector and other components need much more time.
it's a bit hard to read online ;-)
Yes, the ML archive software is not ideal for this kind of text :-(
Here are the relevant percentage lines (for a monospaced font):
i386 257016.0 430 760 1750 200 1090 1220 430 1690 870 950
x86-64 -17.7 -13.1 -26.7 -12.5 0.1 -18.7 -24.5 -4.4 -46.9 -18.7 4.3
x32 -26.2 -16.8 -31.5 -16.5 -5.0 -25.4 -38.5 -4.4 -47.7 -44.2 -15.3
i386 5750 930 920 950 1250 10 830 1180 8850 1820 AVG
x86-64 -18.8 -37.4 -15.8 -4.8 -16.0 0.1 -24.0 -1.4 -19.6 -32.6 -16.5
x32 -18.0 -41.1 -28.8 -8.6 -34.6 0.1 -32.5 -37.8 -27.1 -32.6 -25.6
also wonder how much is a distro effect; if it's
easy to run such
benchmarks (still poking at it)... one can run a clear linux
docker instance on ubuntu easily
something like
docker run -it clearlinux
and then inside the docker install a pile of dev tools
swupd update
swupd bundle-add os-clr-on-clr
and you should have a pretty darn complete system with our full
toolchain/etc.
Thanks for the suggestions.
Ciao
Sven