Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2001 16:55:17 -0800 (PST)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        Peter Jeremy <peter.jeremy@alcatel.com.au>
Cc:        Kris Kennaway <kris@obsecurity.org>, Brian Dean <bsd@bsdhome.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: installworld anomoly
Message-ID:  <200102070055.f170tHO81127@earth.backplane.com>
References:  <20010203154344.B27418@vger.bsdhome.com> <20010203125044.A40718@xor.obsecurity.org> <200102042108.f14L82U16403@earth.backplane.com> <20010207085342.X90937@gsmx07.alcatel.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
: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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102070055.f170tHO81127>