Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 2015 10:38:50 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        Bruce Simpson <bms@fastmail.net>, Slawa Olhovchenkov <slw@zxy.spb.ru>,  Craig Rodrigues <rodrigc@freebsd.org>, Marcel Moolenaar <marcel@xcllnt.net>,  "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, Marcel Moolenaar <marcel@freebsd.org>,  "src-committers@freebsd.org" <src-committers@freebsd.org>
Subject:   Re: svn commit: r284198 - head/bin/ls
Message-ID:  <CAJ-VmomkOkT2hEpUtmMsr7sYYw7iUuDtZ9geczQrF=KOCz8r9g@mail.gmail.com>
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> <C88CB169-12FE-4692-92AA-5C7D41BB61DF@FreeBSD.org> <557C661F.8080104@freebsd.org> <860017ED-D754-450C-865D-2D81A30C2212@xcllnt.net> <CAG=rPVd93Q18aYnSGSf_QH4C08RCq5wsdKQSNYTgWQ2huTbUHQ@mail.gmail.com> <20150614100045.GF58397@zxy.spb.ru> <557D55CB.5050009@fastmail.net> <20150614171031.GA5857@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 14 June 2015 at 10:10, Steve Kargl <sgk@troutmask.apl.washington.edu> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomkOkT2hEpUtmMsr7sYYw7iUuDtZ9geczQrF=KOCz8r9g>