Page MenuHomeSolus

Redo build flags, fix up core performance related packages
Closed, ResolvedPublic

Description

Redo our build flags, specifically: DONE

  • Only set -fdata-sections and -ffunction-sections in relation to LTO setting (and size/speed optimisation)
  • Drop -fexceptions (code bloat)
  • Drop -fno-omit-frame-pointer (code bloat, performance, lost a register)
  • Swap -fstack-protector --param ssp-buffer-size=32 for -fstack-protector-strong (covers the usual cases and isn't too aggressive)
  • Fix ypkg to support optional LTO on clang builds
  • Consider dropping -copy-dt-needed-entries due to gold borkage
  • Consider defaulting to ld.gold when using lto optimisation
  • Consider -Wl,-Bsymbolic-functions (-Bsymbolic by itself seems to have the potential for function pointer issues) to improve .so performance

Kernel: DONE

  • Backport libata power management fix (patch)
  • Update kernels - drag in some new turbo (3.0) patches

Misc: DONE

  • Convert mesa to ypkg (pull from runtime-snaps) - for now move the LDM trigger into kernel-glue (absorb later into usysconf) (LTO, speed optimisations)
  • Add more items after next sleep.

Event Timeline

Herald removed ikey as the assignee of this task. · View Herald TranscriptNov 20 2017, 12:16 PM
ikey claimed this task.EditedNov 20 2017, 12:17 PM

Finally, rebuild Firefox with --enable-rust-simd and --enable-elf-hack

ikey triaged this task as Unbreak Now! priority.Nov 20 2017, 12:19 PM
ikey updated the task description. (Show Details)Nov 20 2017, 12:56 PM
ikey updated the task description. (Show Details)Nov 20 2017, 1:00 PM
ikey updated the task description. (Show Details)Nov 20 2017, 1:03 PM
ikey updated the task description. (Show Details)
ikey updated the task description. (Show Details)Nov 21 2017, 1:58 AM
ikey changed the task status from Open to In Progress.Nov 21 2017, 10:03 AM
ikey updated the task description. (Show Details)Nov 21 2017, 11:11 AM
aszrul added a subscriber: aszrul.Nov 27 2017, 11:58 PM
ikey closed this task as Resolved.Nov 30 2017, 3:18 PM
ikey updated the task description. (Show Details)

Was implemented when we converted mesa