No subject


Thu Nov 6 15:12:30 EST 2008


with message=20
delivery when they have changed the clock, via settimeofday and even NTP.=20

But I'm not sure if this can only occur when there are multiple daemons or =

if it can happen=20
in my case too. Browsing through the code in events.c, it looks as it=20
could happen in my case=20
too, although the probability is perhaps small.=20

Has someone a testprogram/argument proving that this is either true or=20
false?=20

I'm thinking about changing the gettimeofday call in E=5Fget=5Ftime to=20
something that is not=20
affected by some external source setting the time, for example,=20
clock=5Fgettime(CLOCK=5FMONOTONIC).=20

Has someone done something similar before?=20

Cheers,=20
Drago=20








=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=20

This e-mail communication (and any attachment/s) may contain confidential=20
or privileged information and is intended only for the individual(s) or=20
entity named above and to others who have been specifically authorized to=20
receive it. If you are not the intended recipient, please do not read,=20
copy, use or disclose the contents of this communication to others. Please =

notify the sender that you have received this e-mail in error by reply=20
e-mail, and delete the e-mail subsequently. Please note that in order to=20
protect the security of our information systems an AntiSPAM solution is in =

use and will browse through incoming emails.=20
Thank you.=20
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=20


Ce message (ainsi que le(s) fichier(s)), transmis par courriel, peut=20
contenir des renseignements confidentiels ou prot=E9g=E9s et est destin=E9 =
=E0=20
l?usage exclusif du destinataire ci-dessus. Toute autre personne est, par=20
les pr=E9sentes, avis=E9e qu?il est strictement interdit de le diffuser, le=
=20
distribuer ou le reproduire. Si vous l?avez re=E7u par inadvertance,=20
veuillez nous en aviser et d=E9truire ce message. Veuillez prendre note=20
qu'une solution antipollupostage (AntiSPAM) est utilis=E9e afin d'assurer l=
a=20
s=E9curit=E9 de nos syst=E8mes d'information et qu'elle fur=E8tera les cour=
riels=20
entrants.
Merci.=20
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=20



--=_alternative 002C6FF3C12575B3_=
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable


<br><font size=3D2 face=3D"Microsoft Sans Serif">Thanky you for prompt repl=
y.
&nbsp;If I would like to try to use the monotonic clock, do you know if
there</font>
<br><font size=3D2 face=3D"Microsoft Sans Serif">is some test suite I could
use to see that things work after the change?<br>
 &nbsp;</font><font size=3D1 face=3D"Microsoft Sans Serif"><br>
Please consider the environment before you print / Merci de penser =E0 l'en=
vironnement
avant d'imprimer / T=E4nk p=E5 milj=F6n innan du skriver ut </font>
<br>
<br>
<br>
<table width=3D100%>
<tr valign=3Dtop>
<td width=3D35%>
<br>
<br>
<br><font size=3D1 face=3D"sans-serif"><b>John Schultz &lt;jschultz at spreadc=
oncepts.com&gt;</b></font>
<br><font size=3D1 face=3D"sans-serif">2009-05-08 17:50</font>
<td width=3D64%>
<table width=3D100%>
<tr valign=3Dtop>
<td>
<div align=3Dright><font size=3D1 face=3D"sans-serif">To</font></div>
<td><font size=3D1 face=3D"sans-serif">Drago Krznaric/SE/Transport/Bombardi=
er at TRANSPORT</font>
<tr valign=3Dtop>
<td>
<div align=3Dright><font size=3D1 face=3D"sans-serif">cc</font></div>
<td><font size=3D1 face=3D"sans-serif">spread-users at lists.spread.org</font>
<tr valign=3Dtop>
<td>
<div align=3Dright><font size=3D1 face=3D"sans-serif">Subject</font></div>
<td><font size=3D1 face=3D"sans-serif">Re: [Spread-users] Should I dare tou=
ch
the clock?</font></table>
<br>
<table>
<tr valign=3Dtop>
<td>
<td></table>
<br></table>
<br>
<br>
<br>
<br><font size=3D1 face=3D"Courier New">Spread currently uses the wall clock
time for all of its time based calculations. &nbsp;If you only move the
clock a little, then you probably won't have any issues, although I'm not
100% sure. &nbsp;If you drastically jump the clock forward, then I can
see major issues as suddenly the already scheduled timeouts will take forev=
er
to fire. &nbsp;If you drastically jump the clock backwards, then a lot
of timeouts will fire prematurely, which might cause a spurious partition
or something, but the system would probably then return to normal operations
immediately thereafter.</font>
<br>
<br><font size=3D1 face=3D"Courier New">The events system definitely should
be moved over to using a monotonic clock on whatever platforms such a servi=
ce
is available. &nbsp;We would like to do this sometime in the future, but
if you experiment with it and get something to work and want to contribute
it back, then that would be great.</font>
<br>
<br><font size=3D1 face=3D"Courier New">Cheers!</font>
<br><font size=3D1 face=3D"Courier New">John</font>
<br>
<br><font size=3D1 face=3D"Courier New">---</font>
<br><font size=3D1 face=3D"Courier New">John Lane Schultz</font>
<br><font size=3D1 face=3D"Courier New">Spread Concepts LLC</font>
<br><font size=3D1 face=3D"Courier New">Phn: 443 838 2200 </font>
<br><font size=3D1 face=3D"Courier New">Fax: 301 560 8875</font>
<br>
<br><font size=3D1 face=3D"Courier New">Friday, May 8, 2009, 11:19:23 AM, y=
ou
wrote:</font>
<br>
<br>
<table width=3D100%>
<tr valign=3Dtop>
<td width=3D1% bgcolor=3Dblue><font size=3D2 color=3Dwhite face=3D"Tahoma">=
<b>&gt;</b></font>
<td width=3D98% bgcolor=3Dwhite>
<br><font size=3D1 face=3D"Tahoma">Hi,</font><font size=3D2 face=3D"Tahoma"=
> </font>
<br>
<br><font size=3D1 face=3D"Tahoma">I have a single spread daemon and a bunch
of programs communicating via spread messages </font>
<br><font size=3D1 face=3D"Tahoma">through this daemon. All programs and the
daemon are running on the same machine.</font><font size=3D2 face=3D"Tahoma=
">
</font>
<br>
<br><font size=3D1 face=3D"Tahoma">From previous mails on this list, I know
that people have had problems with message </font>
<br><font size=3D1 face=3D"Tahoma">delivery when they have changed the cloc=
k,
via settimeofday and even NTP.</font><font size=3D2 face=3D"Tahoma"> </font>
<br>
<br><font size=3D1 face=3D"Tahoma">But I'm not sure if this can only occur
when there are multiple daemons or if it can happen</font><font size=3D2 fa=
ce=3D"Tahoma">
</font>
<br><font size=3D1 face=3D"Tahoma">in my case too. Browsing through the code
in events.c, it looks as it could happen in my case </font>
<br><font size=3D1 face=3D"Tahoma">too, although the probability is perhaps
small.</font><font size=3D2 face=3D"Tahoma"> </font>
<br>
<br><font size=3D1 face=3D"Tahoma">Has someone a testprogram/argument provi=
ng
that this is either true or false?</font><font size=3D2 face=3D"Tahoma"> </=
font>
<br>
<br><font size=3D1 face=3D"Tahoma">I'm thinking about changing the gettimeo=
fday
call in E=5Fget=5Ftime to something that is not</font><font size=3D2 face=
=3D"Tahoma">
</font>
<br><font size=3D1 face=3D"Tahoma">affected by some external source setting
the time, for example, clock=5Fgettime(CLOCK=5FMONOTONIC).</font><font size=
=3D2 face=3D"Tahoma">
</font>
<br>
<br><font size=3D1 face=3D"Tahoma">Has someone done something similar befor=
e?</font><font size=3D2 face=3D"Tahoma">
</font>
<br>
<br><font size=3D1 face=3D"Tahoma">Cheers,</font><font size=3D2 face=3D"Tah=
oma">
</font>
<br><font size=3D1 face=3D"Tahoma">Drago </font>
<br></table>
<br>
<br>
<br>
<br>
<br><font size=3D2 face=3D"Maiandra GD"><br>
<br>
<br>
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
<br>
This e-mail communication (and any attachment/s) may contain confidential
or privileged information and is intended only for the individual(s) or
entity named above and to others who have been specifically authorized
to receive it. If you are not the intended recipient, please do not read,
copy, use or disclose the contents of this communication to others. Please
notify the sender that you have received this e-mail in error by reply
e-mail, and delete the e-mail subsequently. Please note that in order to
protect the security of our information systems an AntiSPAM solution is
in use and will browse through incoming emails. <br>
Thank you. <br>
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
<br>
<br>
Ce message (ainsi que le(s) fichier(s)), transmis par courriel, peut conten=
ir
des renseignements confidentiels ou prot=E9g=E9s et est destin=E9 =E0 l&#82=
17;usage
exclusif du destinataire ci-dessus. Toute autre personne est, par les pr=E9=
sentes,
avis=E9e qu&#8217;il est strictement interdit de le diffuser, le distribuer=
 ou
le reproduire. Si vous l&#8217;avez re=E7u par inadvertance, veuillez nous =
en
aviser et d=E9truire ce message. Veuillez prendre note qu'une solution anti=
pollupostage
(AntiSPAM) est utilis=E9e afin d'assurer la s=E9curit=E9 de nos syst=E8mes =
d'information
et qu'elle fur=E8tera les courriels entrants.<br>
Merci. <br>
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
<br>
<br>
</font>
--=_alternative 002C6FF3C12575B3_=--



More information about the Spread-users mailing list