From owner-svn-src-head@FreeBSD.ORG Sun Jun 14 17:38:51 2015 Return-Path: Delivered-To: svn-src-head@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6D76E2A7; Sun, 14 Jun 2015 17:38:51 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ie0-x229.google.com (mail-ie0-x229.google.com [IPv6:2607:f8b0:4001:c03::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 308D4667; Sun, 14 Jun 2015 17:38:51 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by iebgx4 with SMTP id gx4so49774447ieb.0; Sun, 14 Jun 2015 10:38:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=RCcZxtY1eSfUP4H5WVJipdWWcE4x12Vae638mDx5wJA=; b=nTz5HLoM1XajqnYpdkm/7UHFgb5rA5hd+aIJkkwc/U09Pq5g+6YKVHJMnGKJIEoqjk pdi1747E/6xAlaHx6HCr+8w/ZdFbLSaOTfEkv8wPw39vAfXSBWHgGtHV0+3CFr1zzytj VnZpeNH9jZA7a4ra/zsukYDhb7T84n2PZP52B60hvvryu7/Quew/khb8rR2RjenimGAV jUPHP+GU1qpRAil5L49yEoKHVgvQ0aPmu+qIj0ruyMbYYYA0+cWHPiPugR5w9SD/2mXS uzp5o0LI7ga3nfcp5BI66MxBqL/IecviSYZaeY0d4hlPwEwWI8UXm1+2aGXyewkfvZWN nbfQ== MIME-Version: 1.0 X-Received: by 10.42.176.8 with SMTP id bc8mr10771719icb.22.1434303530649; Sun, 14 Jun 2015 10:38:50 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Sun, 14 Jun 2015 10:38:50 -0700 (PDT) In-Reply-To: <20150614171031.GA5857@troutmask.apl.washington.edu> References: <201506100127.t5A1RdX6051959@svn.freebsd.org> <20150612204309.11dd3391@kan> <20150613024916.GA98218@troutmask.apl.washington.edu> <1434208622.1415.57.camel@freebsd.org> <557C661F.8080104@freebsd.org> <860017ED-D754-450C-865D-2D81A30C2212@xcllnt.net> <20150614100045.GF58397@zxy.spb.ru> <557D55CB.5050009@fastmail.net> <20150614171031.GA5857@troutmask.apl.washington.edu> Date: Sun, 14 Jun 2015 10:38:50 -0700 X-Google-Sender-Auth: 2RWhgqONP1sHyaFTUgJXSrjc2RU Message-ID: Subject: Re: svn commit: r284198 - head/bin/ls From: Adrian Chadd To: Steve Kargl Cc: Bruce Simpson , Slawa Olhovchenkov , Craig Rodrigues , Marcel Moolenaar , "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , Marcel Moolenaar , "src-committers@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2015 17:38:51 -0000 On 14 June 2015 at 10:10, Steve Kargl wrote: > On Sun, Jun 14, 2015 at 11:22:03AM +0100, Bruce Simpson wrote: >> >> But I have yet to see a coherent argument here -- size(1) numbers, RSS >> figures etc. -- about how it allegedly adds bloat. Most of what I've >> seen so far is POLA, NIH resistance, and hand-wavery. >> > > It is not alleged. I actaully measured the bloat libxo > caused when w(1) was converted. > > https://lists.freebsd.org/pipermail/freebsd-current/2015-March/054917.html > > Here's the bloat with ls(1) > > % ldd /bin/ls > /bin/ls: > libutil.so.9 => /lib/libutil.so.9 (0x2807d000) > libncursesw.so.8 => /lib/libncursesw.so.8 (0x2808f000) > libc.so.7 => /lib/libc.so.7 (0x280db000) > % ll /bin/ls > -r-xr-xr-x 1 root wheel - 28568 Jun 7 21:01 /bin/ls* > > % ldd /bin/ls > /bin/ls: > libutil.so.9 => /lib/libutil.so.9 (0x2807d000) > libncursesw.so.8 => /lib/libncursesw.so.8 (0x2808f000) > libxo.so.0 => /lib/libxo.so.0 (0x280db000) > libc.so.7 => /lib/libc.so.7 (0x280ec000) > laptop-kargl:kargl[204] ll /bin/ls > -r-xr-xr-x 1 root wheel - 31376 Jun 14 10:06 /bin/ls* Plus 60k for the shared library. I don't mind that too much right now - it's around an extra 4k of overhead per binary right now. -adrian