Opened 17 years ago

Last modified 16 years ago

#450 closed Enhancement

Checkpoint while standalone — at Version 2

Reported by: Nicolas Owned by: Bruce Allen
Priority: Minor Milestone: Undetermined
Component: BOINC - API Version:
Keywords: Cc:

Description (last modified by Nicolas)

Debugging checkpoint code can be hard if it requires running under the control of the core client, so it's often useful to make it checkpoint without caring about preferences when running as standalone. For example, making it checkpoint always if standalone (instead of calling boinc_time_to_checkpoint), but that causes too much I/O. It's much better to make it checkpoint at a fixed interval

I suggest adding a feature inside boinc_time_to_checkpoint itself to return true every few seconds if running standalone. Maybe make it possible to change the checkpoint interval.

Change History (4)

Changed 17 years ago by Nicolas

Attachment: always_checkpoint.c added

A really simple workaround: make it checkpoint always

Changed 17 years ago by Nicolas

Attachment: other_workaround.c added

Another workaround: if standalone, call a different function

comment:1 Changed 17 years ago by Nicolas

Description: modified (diff)

comment:2 Changed 16 years ago by Nicolas

Description: modified (diff)
Note: See TracTickets for help on using tickets.