Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Nov 2001 16:44:16 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Ian Dowse <iedowse@maths.tcd.ie>
Cc:        Kris Kennaway <kris@obsecurity.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/tail forward.c
Message-ID:  <20011125164416.B94982@xor.obsecurity.org>
In-Reply-To: <200111260038.aa52845@salmon.maths.tcd.ie>; from iedowse@maths.tcd.ie on Mon, Nov 26, 2001 at 12:38:47AM %2B0000
References:  <20011125153656.A94203@xor.obsecurity.org> <200111260038.aa52845@salmon.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help

--JP+T4n/bALQSJXh8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Nov 26, 2001 at 12:38:47AM +0000, Ian Dowse wrote:
> In message <20011125153656.A94203@xor.obsecurity.org>, Kris Kennaway writ=
es:
> >I dunno..the major use of tail -F is probably on logfiles which get
> >rotated infrequently.  I can imagine that a site might want to
> >simultaneously monitor a large number of logfiles, but I don't know
> >what the CPU impact of that with your change would be..maybe not much.
> >If you tail -F, say, 100 simultaneous files, how much CPU does that
> >stat'ing use?
>=20
> Running 100 "tail -F"s requires a pretty negliglible amount of CPU
> time (try it!), but kqueue does help by allowing the processes to
> be swapped out during any long pauses between file updates.

Okay, it seems like this doesn't have any real-world impact then.  I'm
not bothered by it.

Kris

--JP+T4n/bALQSJXh8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8AZBNWry0BWjoQKURAvcrAKCmrq6UNPluZ3evU0lNM1AVJKRedgCgo5ZQ
EScPZUC66XbXn0cjNqrOhe4=
=vKR2
-----END PGP SIGNATURE-----

--JP+T4n/bALQSJXh8--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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