Hi,
Searching the freebsd mailinglists I have seen that you also suffering
under this problem on 4.X. STABLE:
I have isolated the problem to be due reading the time with microtime()
Execute this programm:
#include <sys/types.h>
#include <sys/time.h>
#include <err.h>
int
main(void)
{
for(;;) {
struct timeval tv;
struct timezone tz;
gettimeofday(&tv, &tz);
}
return (0);
}
and you will see a 10% timedrift. For 20 seconds, I get 2 second
time speedup.
You should not see this time drift if you remove the gettimeofday()
syscall of the programm.
If someone has a machine where he can install CURRENT, or has a machine
with ServerWorks Chipset and SMP, is it possible that he can activate
ACPI and test it again ?
There is already a PR, PR kern/30135.
Martin
Martin Blapp, [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message