From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 117402 invoked by alias); 4 Apr 2016 12:00:46 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 117310 invoked by uid 89); 4 Apr 2016 12:00:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=yep X-HELO: nikam.ms.mff.cuni.cz Received: from nikam.ms.mff.cuni.cz (HELO nikam.ms.mff.cuni.cz) (195.113.20.16) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 04 Apr 2016 12:00:35 +0000 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id E8AF5542D3C; Mon, 4 Apr 2016 14:00:30 +0200 (CEST) Date: Mon, 04 Apr 2016 12:00:00 -0000 From: Jan Hubicka To: Richard Biener Cc: Prathamesh Kulkarni , gcc Patches , Ramana Radhakrishnan , Jan Hubicka Subject: Re: [RFC] introduce --param max-lto-partition for having an upper bound on partition size Message-ID: <20160404120030.GD14122@kam.mff.cuni.cz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2016-04/txt/msg00157.txt.bz2 > > Um not sure if I understood correctly. > > Do we want to constrain individual partition size by adding parameter > > lto-max-partition > > for balanced partitioning but not for -flto-partition=one > > case (since latter would also change semantics of =one) ? > > Yes, I think so. Yep, I agree. Having partition one that produces multiple partitions doesn't seem to make much sense. Given that we have such not so predictable target specific limits on size of single translation unit we can handle, I suppose adding a resonable limit to the default balanced partitioning makes more sense. One can always push the behaviour you intend by setting max partitions to 1 (I suppose max size should have precedence over max partitions) Honza > > Richard. > > > Thanks, > > Prathamesh > > > > > > Richard. > > > > > > -- > > > Richard Biener > > > SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) > > > > > > -- > Richard Biener > SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)