Raspberry Pi tasks losing progress on resume

Mersenneplustwo home page
log in

Advanced search

Message boards : Number crunching : Raspberry Pi tasks losing progress on resume

Author Message
hartacus
Send message
Joined: 29 Jun 15
Posts: 2
Credit: 6,653
RAC: 0
Message 263 - Posted: 12 Jul 2015, 1:32:09 UTC
Last modified: 12 Jul 2015, 1:50:10 UTC

I have two Raspberry Pis (an RPi 2 and an RPi model B) running wanless2 tasks. During the course of troubleshooting an unrelated issue on the RPi 2 (now fixed), I noticed that when I restarted BOINC or the RPi any progress on a wanless2 task was lost. No error, the task would just start again.

Using the checkpoint_debug log flag, it seems as though the wanless2 tasks aren't checkpointing to disk at all. However, some of the tasks I've run on the RPi model B have completed and validated, indicating that if the task is allowed to run without interruption it completes without issue. So it seems not to be an issue with write permissions or anything like that (which are correctly set up, I double checked), but with the task not actually trying to write progress to disk.

BOINC is set to allow checkpointing at most every 60 secs, and other projects checkpoint accordingly.

Any ideas?

Edit: resetting the project does not resolve the issue

Edit 2: the issue only seems to occur when restarting BOINC and/or the RPi. Manually suspending either the project or the task, then resuming, doesn't seem to cause the issue - the task still doesn't checkpoint but progress is not lost. Which is weird, because I don't have BOINC set to leave projects in memory when suspended. Haven't yet let the task run through to completion to verify if it'll complete successfully after that though.

Profile bearnol
Volunteer moderator
Project administrator
Project developer
Project tester
Volunteer developer
Volunteer tester
Project scientist
Send message
Joined: 3 Dec 06
Posts: 206
Credit: 4,573,258
RAC: 1,977
Message 264 - Posted: 12 Jul 2015, 10:47:15 UTC - in response to Message 263.

Hi hartacus,
(Thanks for your crunching)
Actually I don't think I have checkpointing enabled on _any_ of my apps. This is a "feature" that has stuck around from when the project was in alpha! [which is still the case since we have not yet found an interesting factor :)]
J
PS like your nickname
____________

hartacus
Send message
Joined: 29 Jun 15
Posts: 2
Credit: 6,653
RAC: 0
Message 265 - Posted: 13 Jul 2015, 23:10:39 UTC - in response to Message 264.

Hi Bearnol,

Haha ok, no worries then! Might just take care about when to restart the Pi's then.

Thanks for supporting the RPi! It's good to have something to keep the little things busy.


Post to thread

Message boards : Number crunching : Raspberry Pi tasks losing progress on resume


Return to WEP-M+2 Project main page


Copyright © 2019 M+2 Group