Any update on this issue? The server leaped again with almost an identical value (30949 seconds).
Is it possible to at least have a debug version with log prints in case of large leap?
I also suggest replacing co_div64() - see below.


From: ravriel@hotmail.com
To: colinux-users@lists.sourceforge.net
Date: Sun, 12 Sep 2010 14:29:25 +0000
Subject: Re: [coLinux-users] Very large time offset in coLinux

Hi Henry,

One of our servers leaped forward again. The interesting part is that the leap is almost identical to a previous leap.
Last time it leaped forward by 30944 seconds, and this time by 30961 seconds.
Performance frequency is 3579545.

Since these two leaps are very close, I have a feeling it's not some a random error, but rather a calculation error.
It's possible that Windows/Linux were loaded at time of leap.

I went over some of the code and found that co_div64() isn't accurate (!), although I couldn't explain the leap by this bug.

For example,
co_div64(0x100000000,0x10000000) returns 15 instead of 16.
co_div64(0x1000000000000,0x10000000) returns 983055 instead of 1048576.

I'm sure you'll find more accurate algorithms.

Could you also go over relevant code and see if you notice any overflow, signed/unsigned error that can explain the leap with the above data?
Would it be possible to to get a debug version to get more information next time the problem occurs?

Thanks in advance,

------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ coLinux-users mailing list coLinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/colinux-users