Investigate using LLVM propeller to improve code layout for improved cache locality and branch prediction
Categories
(Firefox Build System :: Toolchains, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: mayankleoboy1, Unassigned)
References
Details
| Reporter | ||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 1•7 years ago
|
||
I'm not particularly convinced it's worth investigating for Firefox, for 2 reasons:
- it's not cross-platform (it's pretty much Linux only)
- even if we did use it, it wouldn't be used in downstream Linux distributions.
OTOH, AIUI, people in the LLVM community have shown interest in integrating something similar to BOLT in LLVM, which makes sense: there's nothing in BOLT that couldn't be done with PGO+LTO.
| Reporter | ||
Comment 2•6 years ago
|
||
https://github.com/google/llvm-propeller/
http://lists.llvm.org/pipermail/llvm-dev/2019-September/135393.html
Google's implementation of BOLT as part of LLVM
Updated•6 years ago
|
| Reporter | ||
Comment 3•6 years ago
|
||
Google Propeller is getting upstreamed:
https://www.phoronix.com/scan.php?page=news_item&px=Google-Propeller-Some-Upstream
AIUI, Propeller is still Linux-only due to the reliance on perf data.
| Reporter | ||
Comment 5•4 years ago
|
||
FWIW, Facebook's BOLT is merged in LLVM
Updated•3 years ago
|
| Reporter | ||
Updated•3 years ago
|
| Reporter | ||
Comment 6•1 year ago
|
||
Looks like AutoFDO and propeller are merged into the kernel now : https://www.phoronix.com/news/AutoFDO-Propeller-Linux-6.13
| Reporter | ||
Comment 7•5 months ago
|
||
https://discourse.llvm.org/t/rfc-upstreaming-propeller-profile-conversion-tool/89173
Upstreaming Propeller Profile Conversion Tool
Description
•