Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2003 09:07:32 +0200
From:      Pawel Jakub Dawidek <nick@garage.freebsd.pl>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Optimizations.
Message-ID:  <20030516070732.GT45118@garage.freebsd.pl>
In-Reply-To: <3EC481D3.124F61B8@mindspring.com>
References:  <20030515123033.GP45118@garage.freebsd.pl> <FHEMJMOKKMJDGKFOHHEPEEILGLAA.mooneer@translator.cx> <20030515151945.GQ45118@garage.freebsd.pl> <200305151407.28717.wes@softweyr.com> <3EC481D3.124F61B8@mindspring.com>

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

--pKcXSmZjwG4L4EfY
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, May 15, 2003 at 11:14:43PM -0700, Terry Lambert wrote:
+> What about "gettimeofday()"?  There are a number of applications,
+> particularly HTTP protocol applications, with strict timestamp
+> logging requirements, mandated by standards.  The tend to call
+> gettimeofday() up to six times per transaction.  Examples will
+> include HTTP proxies, L7 load balancers, and proxy caches.  Any
+> box competing in the Cisco CSS/F5 falls into this category.

That's right:)
Look at functions in /sys/kern/kern_tc.c. There are so many little
functions. How about put __inline here and there?

And second thing. Does anybody think about representing time in BCD code?

--=20
Pawel Jakub Dawidek                       pawel@dawidek.net
UNIX Systems Programmer/Administrator     http://garage.freebsd.pl
Am I Evil? Yes, I Am!                     http://cerber.sourceforge.net

--pKcXSmZjwG4L4EfY
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iQCVAwUBPsSOND/PhmMH/Mf1AQFf/AP+LRn0a9p6fI9+bGF7q7zhYc2eUTGDp1YH
SN1SlanTY+HsciAx6iGqvwXZnJV5UX3VS1myaDl1aO70CrTI3dhC3GYSERvapzCN
Y9tzN+z6dIEq37xTKDexG9ckp+4PMQ/hnYEBu64X8x4EbZzzsqTuWbvQFmm+gLWp
4wKDOKPbzEk=
=IFk0
-----END PGP SIGNATURE-----

--pKcXSmZjwG4L4EfY--



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