On 2016.09.22 at 15:36 +0200, Richard Biener wrote: > On Thu, Sep 22, 2016 at 3:13 PM, Wilco Dijkstra <wilco.dijks...@arm.com> > wrote: > > Increase the lto-min-partition size to 50000 to reduce the number of > > partitions. > > See eg. https://gcc.gnu.org/ml/gcc-patches/2016-04/msg00235.html for a > > concise > > explanation why 10000 is too small for modern CPU/memory size. > > Additionally, > > larger values increase optimization opportunities and reduce bad decisions > > in the > > layout of global variables across partitions (anchors do not work well with > > LTO). > > Looking at SPEC2000, 8 more benchmarks now use a single LTO partition which > > is the most optimal. Build time with LTO increases only slightly, eg. > > SPEC2006 > > now takes 2% more time on an 8-core ARM server. > > Ok. Marcus, how many partitions do we get with libreoffice/firefox currently > (I suppose they all hit lto-max-partition now?)
Yes. Even tramp3d currently gets 30 partitions. With this patch it gets reduced to 20. And I guess bigger projects like Firefox are unchanged at 32. -- Markus