From owner-freebsd-arch@FreeBSD.ORG Sat Dec 24 11:12:44 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFAAD106564A; Sat, 24 Dec 2011 11:12:44 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail07.syd.optusnet.com.au (mail07.syd.optusnet.com.au [211.29.132.188]) by mx1.freebsd.org (Postfix) with ESMTP id 6C5B38FC12; Sat, 24 Dec 2011 11:12:44 +0000 (UTC) Received: from c211-30-171-136.carlnfd1.nsw.optusnet.com.au (c211-30-171-136.carlnfd1.nsw.optusnet.com.au [211.30.171.136]) by mail07.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id pBOBCghY028087 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 24 Dec 2011 22:12:42 +1100 Date: Sat, 24 Dec 2011 22:12:42 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Alexander Best In-Reply-To: <20111224091250.GA9921@freebsd.org> Message-ID: <20111224220705.H2059@besplex.bde.org> References: <20111223235642.GA37495@freebsd.org> <20111224160050.T1141@besplex.bde.org> <20111224091250.GA9921@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org, freebsd-arch@freebsd.org Subject: Re: [rfc] removing -mpreferred-stack-boundary=2 flag for i386? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2011 11:12:45 -0000 On Sat, 24 Dec 2011, Alexander Best wrote: > On Sat Dec 24 11, Bruce Evans wrote: >> On Fri, 23 Dec 2011, Alexander Best wrote: >> >>> is -mpreferred-stack-boundary=2 really necessary for i386 builds any >>> longer? >>> i built GENERIC (including modules) with and without that flag. the results >>> are: >> >> The same as it has always been. It avoids some bloat. >> >>> 1654496 bytes with the flag set >>> vs. >>> 1654952 bytes with the flag unset >> >> I don't believe this. GENERIC is enormously bloated, so it has size >> more like 16MB than 1.6MB. Even a savings of 4K instead of 456 bytes > > i'm sorry. i used du(1) to get those numbers, so i believe those numbers > represent the ammount of 512-byte blocks. if i'm correct GENERIC is even > more bloated than you feared and almost reaches 1GB: > > 807,859375 megabytes with flag set > vs. > 808,0820313 megabytes without the flag set That's certainly bloated. It counts all object files and modules, and probably everything is compiled with -g. I only counted kernel text size. Bruce