From owner-freebsd-stable Tue Feb 6 16:55:48 2001 Delivered-To: freebsd-stable@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 8567E37B401 for ; Tue, 6 Feb 2001 16:55:28 -0800 (PST) Received: (from dillon@localhost) by earth.backplane.com (8.11.1/8.9.3) id f170tHO81127; Tue, 6 Feb 2001 16:55:17 -0800 (PST) (envelope-from dillon) Date: Tue, 6 Feb 2001 16:55:17 -0800 (PST) From: Matt Dillon Message-Id: <200102070055.f170tHO81127@earth.backplane.com> To: Peter Jeremy Cc: Kris Kennaway , Brian Dean , freebsd-stable@FreeBSD.ORG Subject: Re: installworld anomoly References: <20010203154344.B27418@vger.bsdhome.com> <20010203125044.A40718@xor.obsecurity.org> <200102042108.f14L82U16403@earth.backplane.com> <20010207085342.X90937@gsmx07.alcatel.com.au> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :Secondly, making makewhatis(1) read all available input before closing :the pipe is just unnecessarily slowing down makewhatis. There's no :reason for makewhatis to process an entire man page - it just needs the :... :Peter You won't notice much difference in times (time it and see for yourself!). On my system, the difference is about 1.6 seconds (5.26 verses 6.75). Considering that the disk cache makes a difference of 3+ seconds (9.96 -> 6.75), it just isn't a big deal. It is reasonable for makewhatis to drain the entire contents of the man page fed to it from whatever source, whether it uses the entire input or not. Trying to 'fix' the size of the pipe to avoid the problem isn't a good solution. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message