Report deadline: 1901

Message boards : BOINC client : Report deadline: 1901
Message board moderation

To post messages, you must log in.

AuthorMessage
[AF>Linux]Arnaud

Send message
Joined: 30 Aug 05
Posts: 58
Message 3856 - Posted: 11 Apr 2006, 10:12:36 UTC
Last modified: 11 Apr 2006, 10:32:50 UTC

Hi,
Win XP and Linux Mandriva installed in Dual-boot:
After changing the date in Windows XP (from 2006 to 2001), all my Wus in Linux are showing: deadline date: 13 dec 1901 (see screenshot)
It seems that the date was also changed in Linux (I wonder how it's possible ?!?!)
Will I be credited for the Wus and is it worth that I crunch them ?
Thx
ID: 3856 · Report as offensive
Thyme Lawn

Send message
Joined: 2 Sep 05
Posts: 103
United Kingdom
Message 3862 - Posted: 12 Apr 2006, 10:05:51 UTC

It's a problem with the way BOINC handles dates which I reported on the boinc_dev mailing list 2 months ago:
There have been a few reports of this on CPDN and BBC CCE recently and I've just been hit with the same thing on one of my systems. Somebody had set the date back 10 years (for a perfectly valid test of another piece of software) and then reset back it to the current time. In the process <report_deadline> for a result was set to a large negative number. This immediately puts the system into EDF scheduling.

The same problem has been observed in at least one case on a reboot after the CMOS battery had died (i.e. clock rewind to 01/01/1980).

I'm sure the problem is caused by the date adjustment in validate_time() (in lib/util.C), where EPOCHFILETIME_SEC is subtracted if the time in the parameter is more than 1000 days ahead of the current time.

Although the deadlines have been altered locally they are still at the original values on the project servers, so you'll still be credited. Your projects will stay in EDF until they clear all the WUs with modified deadlines.

The only way I found to restore the original deadlines was by converting the deadlines on the server to time_t values and editing the correct values into client_state.xml ...
"The ultimate test of a moral society is the kind of world that it leaves to its children." - Dietrich Bonhoeffer
ID: 3862 · Report as offensive
[AF>Linux]Arnaud

Send message
Joined: 30 Aug 05
Posts: 58
Message 3864 - Posted: 12 Apr 2006, 10:56:31 UTC
Last modified: 12 Apr 2006, 10:57:24 UTC

Hi Thyme lawn,

Thanks for the reply and the explanation.
Unfortunately, the deadline of my TMC model was also altered, so I guess my Boinc is going to be in EDF mode during several months (I'm not good enough to fiddle with the xml files)

Perhaps you could try to send your email message again to the dev list, because this bug is really annoying (I have several old Windows programs that I can't install unless I change the date)

Thanks :o)


ID: 3864 · Report as offensive

Message boards : BOINC client : Report deadline: 1901

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.