Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Feb 2002 23:11:55 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Bruce Evans <bde@zeta.org.au>, Poul-Henning Kamp <phk@critter.freebsd.dk>, Julian Elischer <julian@elischer.org>, Alfred Perlstein <bright@mu.org>, arch@FreeBSD.ORG, jhb@FreeBSD.ORG, peter@wemm.org, jake@locore.ca
Subject:   Re: gettimeofday() and crhold()/crfree() (was Re:   gettimeofday()andcopyout().Is copyout() MPSAFE on non-i386 archs? )
Message-ID:  <3C70A93B.8E1D24E8@mindspring.com>
References:  <20020218144148.F4583-100000@gamplex.bde.org> <200202180409.g1I49vj10455@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Dillon wrote:
>     Just a note:  The gettimeofday() has an overhead of only 2-3 uS in
>     -current.  Squid would have to be doing an aweful lot of transactions
>     for it to matter and even if it did, if that actually turned out to be the
>     bottleneck I'll eat my hat.  And if I wind up eating my hat the next
>     thing I'll do is spend the necessary 5 seconds writing a little code
>     to make squid only call gettimeofday every 5th time.

It was a lot of transactions...

22,000 HTTP 1.1 requests per second.

Obviously, it wasn't squid code (8-)), but the logging
requirement was the same because of the preexisiting
squid log digest software, and the statistics gathering
necessary to be comparable with competing products.

-- Terry

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C70A93B.8E1D24E8>