Chewy to Linux@lemmy.ml · 2 年前Optimising Ubuntu performance on amd64 architectureubuntu.comexternal-linkmessage-square32linkfedilinkarrow-up190arrow-down15
arrow-up185arrow-down1external-linkOptimising Ubuntu performance on amd64 architectureubuntu.comChewy to Linux@lemmy.ml · 2 年前message-square32linkfedilink
minus-squareChewyOPlinkfedilinkarrow-up22·2 年前It seems multiple Linux distributions are considering to update their x86-64 baseline architecture. This could improve performance, at the cost of hardware compatibility. https://discourse.nixos.org/t/pre-rfc-gradual-transition-of-nixos-x86-64-baseline-to-x86-64-v3-with-an-intermediate-step-to-x86-64-v2/
minus-squareuis@lemmy.worldlinkfedilinkarrow-up4·2 年前Gentoo with -march=native -mtune=native on x86(-64) or -mcpu=native everywhere else
minus-squareferret@sh.itjust.workslinkfedilinkEnglisharrow-up1·2 年前Doesn’t march=native imply mtune=native ?
minus-squareuis@lemmy.worldlinkfedilinkarrow-up2·2 年前No. march is avaliable instructions and mtune is timings. mcpu does, but it is not used on x86 for some reason
minus-squareferret@sh.itjust.workslinkfedilinkEnglisharrow-up2·2 年前march=native does imply mtune=native, at least on gcc
It seems multiple Linux distributions are considering to update their x86-64 baseline architecture. This could improve performance, at the cost of hardware compatibility.
https://discourse.nixos.org/t/pre-rfc-gradual-transition-of-nixos-x86-64-baseline-to-x86-64-v3-with-an-intermediate-step-to-x86-64-v2/
Gentoo with
-march=native -mtune=nativeon x86(-64) or-mcpu=nativeeverywhere elseDoesn’t march=native imply mtune=native ?
No. march is avaliable instructions and mtune is timings. mcpu does, but it is not used on x86 for some reason
march=native does imply mtune=native, at least on gcc