misc/34596: slow gettimeofday in FreeBSD 4.5

Andreas Gustafsson gson at nominum.com
Wed Jun 4 18:10:19 PDT 2003


The following reply was made to PR misc/34596; it has been noted by GNATS.

From: gson at nominum.com (Andreas Gustafsson)
To: Bruce Evans <bde at zeta.org.au>
Cc: freebsd-gnats-submit at freebsd.org
Subject: Re: misc/34596: slow gettimeofday in FreeBSD 4.5
Date: Wed, 4 Jun 2003 18:06:23 -0700 (PDT)

 Bruce Evans writes:
 > I mean "non-SMP".  The automatic configuration does a reasonable job
 > in the non-SMP case unless apm is configured.  Unfortunately, GENERIC
 > in RELENG_4 sets a bad example by configuring apm.
 
 Thanks for the explanation.  We commented out the apm0 line, and the
 gettimeofday() execution time went down to 0.6 microseconds (from 5.1).
 -- 
 Andreas Gustafsson, gson at nominum.com


More information about the freebsd-bugs mailing list