slowdown because of gettimeofday change between 9.2 and 10?

Kostas Oikonomou k.oikonomou at att.net
Fri Feb 21 23:51:24 UTC 2014


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


More information about the freebsd-questions mailing list