On Fri, Mar 14, 2008 at 06:08:42PM +0100, stolendata.net wrote: | Upon trying to locate an unexplained, massive performance reduction | when switching host for a number of applications from obsd 4.1 to 4.2, | I found that it seems gettimeofday() has taken a nosedive in | performance as of openbsd 4.2. | | A very blunt test confirmed it; however, I'm not sure wherein the | process of gettimeofday() this happens. I can only imagine the | performance issues this has lead to in environments that do frequent | time-polling (heavily burdened webservers come to mind). | | http://pastebin.com/m311250a6
Have you tried 4.3 / -current yet ? My 3GHz amd64 machine running 4.3-ish : 1.675s My 440MHz sparc64 machine running 4.2 : 3.512s So it doesn't seem to affect all platforms (although I have nothing to compare it against for my sparc64). Cheers, Paul 'WEiRD' de Weerd -- >++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+ +++++++++++>-]<.>++[<------------>-]<+.--------------.[-] http://www.weirdnet.nl/