David Laight <[EMAIL PROTECTED]> writes:
> [1] NTP can only possibly 'synchronise' clocks to within the time taken
> for a message to travel from one system to the other.
> Given the transit time for messages isn't constant (except on
> trivial networks) IMHO trying to get sub-second s
>
> 4) If you are running NTP [1] the all bets are off. It could easily set
>the time backwards.
>
NTP will normally only set time backwards when it first starts. After
that, it should never change time backwards. Since a typical mail
server runs 24 hours a day, that should effectively
> for (i=0; i gettimeofday(&tv_array[i], NULL);
>
> The output, on a box with a pair of 1.13 Ghz CPUs, no other load, shows that
> the first loop executes a max number of three times per microsecond.
>
> Divide that into the ratio of the complexity between this loop, and
I snipped most parts of Sam's mail because I covered most of that
already (in doubt, the most complete coverage is on the qmail mailing
list), and it seems Sam's an my opinions on the problem are congruent.
Sam Varshavchik <[EMAIL PROTECTED]> writes:
> I strongly recommend that someone should pat
[EMAIL PROTECTED] writes:
> #include
>
> int main(void) {
> int i;
> int pid;
> int status;
>
> for(i=1;i<=32382;i++) {
> if ((pid = fork()) < 0) {
> perror("fork");
> exit(1);
> }
> if (pid == 0) exit(1);
> if (i == 1) printf("Star