Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Issue 2003733004: Enable LTO on Linux for the official builds. (Closed)

Created:
4 years, 7 months ago by krasin
Modified:
4 years, 7 months ago
Reviewers:
Lei Zhang, Dirk Pranke
CC:
chromium-reviews, kcc2, pcc1, Nico
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable LTO on Linux for the official builds. This CL turns on Link-Time Optimization for official builds, which makes the resulting binaries to run faster. On the dark side, the change increases the link time by 3x-5x, and is also very memory-hungry. All official bots were upgraded to have 200+ GB RAM to handle LTO builds. Timeouts were also accordingly increased. This CL might cause timeouts / OOMs, if some slaves still have not enough RAM. Please, revert the CL with pointing out to the slaves / bots broken by this change. BUG=453195 Committed: https://crrev.com/7c163521444b7277f2c33bc7bc05667673db7d48 Cr-Commit-Position: refs/heads/master@{#395365}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -2 lines) Patch
M build/common.gypi View 1 chunk +7 lines, -0 lines 0 comments Download
M build/toolchain/toolchain.gni View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (11 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2003733004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2003733004/1
4 years, 7 months ago (2016-05-20 22:04:19 UTC) #3
krasin
Hi Dirk, please, review this 'Launch LTO on Linux' CL. It's largely an adoption of ...
4 years, 7 months ago (2016-05-20 22:31:10 UTC) #6
Dirk Pranke
lgtm
4 years, 7 months ago (2016-05-20 22:41:23 UTC) #7
krasin
Thanks! I am all set for the launch (I hope).
4 years, 7 months ago (2016-05-20 22:43:24 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-20 23:29:32 UTC) #10
krasin
Dirk, Nico, I am about to launch LTO on Linux. Most likely, it will break ...
4 years, 7 months ago (2016-05-23 06:04:53 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2003733004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2003733004/1
4 years, 7 months ago (2016-05-23 16:52:56 UTC) #13
Dirk Pranke
On 2016/05/23 06:04:53, krasin wrote: > I failed to verify that locally, as it requires ...
4 years, 7 months ago (2016-05-23 17:00:09 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2003733004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2003733004/1
4 years, 7 months ago (2016-05-23 18:14:50 UTC) #17
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-23 18:19:32 UTC) #19
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/7c163521444b7277f2c33bc7bc05667673db7d48 Cr-Commit-Position: refs/heads/master@{#395365}
4 years, 7 months ago (2016-05-23 18:21:12 UTC) #21
Lei Zhang
I suspect this might be causing https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Linux%20x64/builds/11395 -> need to update the Linux expected installer ...
4 years, 7 months ago (2016-05-23 21:25:08 UTC) #23
Lei Zhang
On 2016/05/23 21:25:08, Lei Zhang wrote: > I suspect this might be causing > https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Linux%20x64/builds/11395 ...
4 years, 7 months ago (2016-05-23 21:26:04 UTC) #24
krasin
On 2016/05/23 21:26:04, Lei Zhang wrote: > On 2016/05/23 21:25:08, Lei Zhang wrote: > > ...
4 years, 7 months ago (2016-05-23 21:27:39 UTC) #25
agrieve
4 years, 7 months ago (2016-05-26 15:14:32 UTC) #26
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2015703004/ by agrieve@chromium.org.

The reason for reverting is: Breaks android x64 builds.
https://bugs.chromium.org/p/chromium/issues/detail?id=615039.

Powered by Google App Engine
This is Rietveld 408576698