Opened 17 years ago

Closed 14 years ago

Last modified 14 years ago

#62 closed Enhancement (wontfix)

Checkpoint and quit

Reported by: KSMarksPsych Owned by: davea
Priority: Minor Milestone: Undetermined
Component: Client - Daemon Version:
Keywords: checkpoints GUIRPC Cc: Pepo

Description (last modified by Didactylos)

Date: 11:34 AM 01-17-2006

I think BOINC Manager should :

  • Display next checkpoint time
  • When exit BOINC Manager, display a alert box/confirm that show the next checkpoint time and ask the user wait or not

Change History (14)

comment:1 Changed 17 years ago by Nicolas

Keywords: checkpoints added

comment:2 Changed 17 years ago by Didactylos

This is impossible.

comment:3 in reply to:  2 Changed 17 years ago by Nicolas

Replying to Didactylos:

This is impossible.

But one useful alternative feature is "wait for checkpoints and quit". Wait for the running applications to checkpoint, and stop them, removing them from RAM. As apps are removed from RAM, resume others still in RAM and do the same. Quit core client after they all quit.

comment:4 Changed 17 years ago by MikeMarsUK

Sounds like a good idea Nicolas. I currently do that manually when shutting down on my Quad (I run mostly CPDN-SAP which checkpoints every 50 minutes on my PC).

When I suspend a SAP task I resume a task which has quicker checkpoints (so the last 30 minutes or so while I'm waiting for the final SAP task isn't idle).

comment:5 Changed 17 years ago by John McLeod VII

Noting when the next checkpoint is actually going to occur is not possible. The checkpoints are completely under the control of the science application, and not the BOINC core. The BOINC core can request that a checkpoint not occur until a particular period has ellapsed since the last checkpoint, but it cannot be enforced. The core client cannot force a checkpoint to occur.

The best that could be done is to indicate when the last checkpoint occurred.

comment:6 Changed 16 years ago by Didactylos

Component: Client - ManagerClient - Daemon
Description: modified (diff)
Keywords: GUIRPC added
Milestone: Undetermined6.0
Owner: changed from romw to davea

The "wait and quit" feature has been suggested independently a few times now, so I suggest a GUI RPC is added so that add-ons can do this. I don't think there's enough need/demand to make it a standard Manager feature. Feature creep is evil!

comment:7 Changed 16 years ago by Nicolas

Summary: About Checkpoint(s)Checkpoint and quit

Changed title to match the discussion on comments.

comment:8 Changed 16 years ago by 512upload

I want a shutdown on next checkpoint feature too!

comment:9 Changed 16 years ago by 512upload

*sorry, 'would like to have', that is.

comment:10 Changed 16 years ago by Pepo

Cc: Pepo added

comment:11 Changed 15 years ago by romw

Milestone: 6.6Undetermined

comment:13 Changed 14 years ago by 512upload

What if I just tell my computer to hibernate? Will I keep all the computation that was done up to this moment and when I start my PC back nothing will be lost including the information about the processing time I've contributed with to the project I'm using?

If yes, I think there is no need for this feature. Don't you agree?

comment:14 Changed 14 years ago by davea

Resolution: wontfix
Status: newclosed

The client can't tell apps when to checkpoint. They checkpoint when they want to. Some checkpoint infrequently, some never.

If you hibernate and resume, computation continues with nothing lost. If you turn off the computer, computation is lost back to the last checkpoint.

I don't think a new feature is called for.

comment:15 in reply to:  14 Changed 14 years ago by Pepo

Replying to davea:

The client can't tell apps when to checkpoint. They checkpoint when they want to.

I don't think a new feature is called for.

It indeed is, described in Nicolas' comment.

To summarize it, wait for all the currently running apps until they checkpoint: suspend them individually after having checkpointed and then stop the client if no more app is running.

(Each app suspended behind a checkpoint may be eventually removed from memory.)

(If some applications were suspended manually and the client can distinguish between these and such auto-suspended after a checkpoint, the manually suspended ones could be started once more to let them checkpoint prior to exit. Sure the user would have to keep in mind that some apps do not checkpoint at all and he could wait indefinitely... well, until the computation ends.)

Note: See TracTickets for help on using tickets.