Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Feb 2014 18:16:03 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Kostas Oikonomou <k.oikonomou@att.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: slowdown because of gettimeofday change between 9.2 and 10?
Message-ID:  <20140222171602.GA2265@La-Habana>
In-Reply-To: <5308D37B.50908@att.net>
References:  <5307E64C.3040108@att.net> <5308D37B.50908@att.net>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Saturday, February 22, 2014 a las 11:42:35AM -0500, Kostas Oikonomou escribió:

> I did some more work on this. Here is some additional info:
> 
> 1) The ntpdate suggestion doesn't seem to work.  (By the way, the ntpd
> man page says that it's equivalent to running ntpd with the "-q" option).

I could not imagine that the local time, correct or not, triggers this.

> 
> The reason is that in my case the problem doesn't occur just at start
> up.  The calls to gettimeofday go on all the time.
> I even killed the ntpd daemon, and the calls still went on.
> 
> 2) I checked on another system which runs the same application, but
> under 9.2.  It turns out that the application issues the same calls to
> gettimeofday, also on a continuous basis, and, furthermore the numbers
> of calls on the two systems over a period of 15 seconds are almost the same.
> 
> So there must be some other difference between 9.2 and 10.0 that causes
> the slowdown.

In my case it is:

$ uname -a
FreeBSD La-Habana 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r250588M: Sat Jun 22 14:15:48 CEST 2013 guru@La-Habana:/usr/obj/usr/home/guru/head/src/sys/GENERIC  i386

The app in question (kabc) was compiled based on the ports at this time.

HIH

	matthias

-- 
Matthias Apitz               |  /"\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: guru@unixarea.de     |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211       |  / \ - Respect for open standards



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