Chewy@discuss.tchncs.de to Linux@lemmy.ml · 11 months agoOptimising Ubuntu performance on amd64 architectureubuntu.comexternal-linkmessage-square32fedilinkarrow-up191arrow-down15
arrow-up186arrow-down1external-linkOptimising Ubuntu performance on amd64 architectureubuntu.comChewy@discuss.tchncs.de to Linux@lemmy.ml · 11 months agomessage-square32fedilink
minus-squareChewy@discuss.tchncs.deOPlinkfedilinkarrow-up22·11 months agoIt 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·edit-211 months agoGentoo with -march=native -mtune=native on x86(-64) or -mcpu=native everywhere else
minus-squareferret@sh.itjust.workslinkfedilinkEnglisharrow-up1·11 months agoDoesn’t march=native imply mtune=native ?
minus-squareuis@lemmy.worldlinkfedilinkarrow-up2·11 months agoNo. 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·edit-211 months agomarch=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=native
on x86(-64) or-mcpu=native
everywhere 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