Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#46759 - Adding of options for optimized binaries in packages.

Attached to Project: Arch Linux
Opened by fetmats (kimmybjonsson) - Saturday, 17 October 2015, 07:22 GMT
Last edited by Jan de Groot (JGC) - Saturday, 17 October 2015, 07:25 GMT
Task Type Feature Request
Category System
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The one thing I miss with migrating from Gentoo Linux to here, Arch Linux is that there is no way of making the system very fast.

I suggest a configuration option in /etc/pacman.conf like:
#Optional speed improvements. Uncomment to enable.
#
#.....
#PackagesNoFramePointers = yes
#PackagesProcessorArchitecture = autodetect
#
#...

After uncommenting, a sudo pacman -Syu would be all it would take to download system optimized packages.



Additional info:
Suggestion of a fast and stable CFLAGS setup that would be used to generate the binaries:
CFLAGS=-O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fomit-frame-pointer -march=corei7-avx -ftree-vectorize -fpredictive-commoning



Suggested config file explanations:

#PackagesNoFramePointers
#Removes debug information rendering debugging for affected binaries impossible in exchange for speed.

#PackagesProcessorArchitecture
#available arguments are autodetect for automatic processor detection, or any available argument as stated in https://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Submodel-Options.html#Submodel-Options under the section covering -march.



Steps to reproduce:
None
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 17 October 2015, 07:25 GMT
Reason for closing:  Won't implement
Comment by Jan de Groot (JGC) - Saturday, 17 October 2015, 07:24 GMT
We don't provide per cpu optimized packages, if you want them you should recompile the packages or switch over to a source based distribution like gentoo.

Loading...