Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2014 18:50:36 -0500
From:      Kostas Oikonomou <k.oikonomou@att.net>
To:        freebsd-questions@freebsd.org
Subject:   slowdown because of gettimeofday change between 9.2 and 10?
Message-ID:  <5307E64C.3040108@att.net>

next in thread | raw e-mail | index | archive | help
Hi,

I have an application (the "texmacs" text editor) that was running fine
under 9.2, but when I upgraded to 10.0, its response time slowed down
drastically.  I am running the same binary in 9.2 and 10.0. 

Running truss on it, I see on 10.0 that it spends a lot of its time
calling gettimeofday:

gettimeofday({1393022478.199440 },0x0)         = 0 (0x0)
recvmsg(0x5,0x7fffffffce60,0x0,0x7fffffffce90,0x806aabd90,0x8080808080808080)
ERR#35 'Resource temporarily unavailable'
gettimeofday({1393022478.199545 },0x0)         = 0 (0x0)
recvmsg(0x5,0x7fffffffce60,0x0,0x7fffffffce90,0x804817730,0x8080808080808080)
ERR#35 'Resource temporarily unavailable'
recvmsg(0x5,0x7fffffffce60,0x0,0x7fffffffce90,0x804817730,0x8080808080808080)
ERR#35 'Resource temporarily unavailable'

This didn't happen in 9.2.  Has something changed in 10.0 with respect
to gettimeofday?
Most importantly, what can I do about it?

Thanks.
                                    Kostas



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