slowdown because of gettimeofday change between 9.2 and 10?
guru at unixarea.de
Sat Feb 22 17:16:12 UTC 2014
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 at 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.
Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: guru at 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
More information about the freebsd-questions