From owner-freebsd-current Thu Nov 28 11:27:06 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA09529 for current-outgoing; Thu, 28 Nov 1996 11:27:06 -0800 (PST) Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA09524 for ; Thu, 28 Nov 1996 11:27:05 -0800 (PST) Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0vTBct-0003x2C; Thu, 28 Nov 96 10:55 PST Received: from critter.tfs.com (localhost [127.0.0.1]) by critter.tfs.com (8.8.2/8.8.2) with ESMTP id OAA00277; Thu, 28 Nov 1996 14:45:46 +0100 (MET) To: Bruce Evans cc: current@freebsd.org Subject: Re: users of "ft" tapes, please test! In-reply-to: Your message of "Thu, 28 Nov 1996 23:48:02 +1100." <199611281248.XAA24059@godzilla.zeta.org.au> Date: Thu, 28 Nov 1996 14:45:28 +0100 Message-ID: <275.849188728@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <199611281248.XAA24059@godzilla.zeta.org.au>, Bruce Evans writes: >>>Unless the 512(?)-byte code bloat costs another text page? >> >>the text segment got smaller too :-) > >It must have had large code for all the array address calculations. > >I have been thinking about un-inlining spls. This saves 29K out of >1096K text. It may even save some time (because function call overhead >is small better locality more than compensates for it). I haven't found >a benchmark that shows a clear advantage either way. I tried kernel >compiles, i/o's with a small block size, `ping -f localhost's with the >usual (small) block size, and ttcp's with small and large block sizes, >on a P5 and a 486/33. ttcp is known to use a lot of spls. I generally use the rule of thumb that unless the text-size is smaller as a result, then inlining is wrong. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.