From owner-freebsd-bugs@FreeBSD.ORG Wed Jun 4 18:10:19 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBC2837B401 for ; Wed, 4 Jun 2003 18:10:18 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 721BA43FAF for ; Wed, 4 Jun 2003 18:10:18 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h551AGUp064349 for ; Wed, 4 Jun 2003 18:10:16 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h551AGHu064348; Wed, 4 Jun 2003 18:10:16 -0700 (PDT) Date: Wed, 4 Jun 2003 18:10:16 -0700 (PDT) Message-Id: <200306050110.h551AGHu064348@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: gson@nominum.com (Andreas Gustafsson) Subject: Re: misc/34596: slow gettimeofday in FreeBSD 4.5 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andreas Gustafsson List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 01:10:19 -0000 The following reply was made to PR misc/34596; it has been noted by GNATS. From: gson@nominum.com (Andreas Gustafsson) To: Bruce Evans Cc: freebsd-gnats-submit@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@nominum.com