slowdown because of gettimeofday change between 9.2 and 10?

Matthias Apitz guru at unixarea.de
Sat Feb 22 18:14:58 UTC 2014


El día Saturday, February 22, 2014 a las 06:16:03PM +0100, Matthias Apitz escribió:

> > 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.

$ truss -f -o tr kaddressbook
kdecore (KAction): WARNING: KActionCollection::KActionCollection(
QObject *parent, const char *name, KInstance *instance )
$ fgrep gettimeofday tr | wc -l
    2262


-- 
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 mailing list