Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 26
Posts: 26   Pages: 3   [ Previous Page | 1 2 3 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3805 times and has 25 replies Next Thread
davidhobbs
Senior Cruncher
England
Joined: Dec 30, 2004
Post Count: 151
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: HELP!!! My agent keeps restarting to zero percent when i shut my computer down!

This business of long times between checkpoints seems to be giving many crunchers a headache. Using hibernation rather than a normal shutdown saves the present status of the agent and allows it to resume from where it left off at next power-up without losing any work.

In another thread I described how I set up hibernation and power-up to occur automatically on some of my machines. I think many users have been frightened by the complexity of setting their PC's up in this manner. However, you only need to make the process automatic if you need unattended hibernation and/or power-up sequences. For users who normally power down their machines themselves and then boot them up again manually it is really very simple to implement a hibernation strategy. The following comments assume Windows XP-Pro.

At present when they wish to shut down the PC they will click the START button, select "Turn off Computer" and then "Turn off". The procedure for going into hibernation mode is just as simple: Click the START buton, select "Turn off Computer" but then click the "Hibernate" button instead of the "Turn off" button. The PC then saves an image of its present status to the hard disk before shutting itself down. When powering up the next time it automatically loads the disk image back into memory and continues processing from where it left off. On some PC's you have to press the SHIFT key to show the Hibernation button. Without the SHIFT key pressed the "Hibernate" button may be replaced by the "Stand-by" button.

If the "Hibernate" button is not present in the shut-down menu then it needs to be enabled (this is a once-only requirement). Go to Control Panel, open Power Options and select the Hibernation tab. Make sure the "Enable Hibernation" checkbox is ticked, and click "OK".

David.
[Sep 3, 2006 10:26:25 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
applause Re: HELP!!! My agent keeps restarting to zero percent when i shut my computer down!

Thanks David.

I have added a post about hibernation to 'Start Here' at http://www.worldcommunitygrid.org/forums/wcg/viewthread?thread=8583

I did not know about the SHIFT key when shutting down. This is useful information.

tongue
Lawrence
[Sep 3, 2006 3:50:00 PM]   Link   Report threatening or abusive post: please login first  Go to top 
davidhobbs
Senior Cruncher
England
Joined: Dec 30, 2004
Post Count: 151
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: HELP!!! My agent keeps restarting to zero percent when i shut my computer down!

Thanks Lawrence,

I agree with everything you posted.

David.
[Sep 3, 2006 4:24:40 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: HELP!!! My agent keeps restarting to zero percent when i shut my computer down!

Hello

I find it rather ridiculous to propose hibernating the computer as a solution to the problem. It is already one of the critical points of distributed computing that it does cause a much higher power consumption of the computers due to the CPU usage. And if you ask now people to not switch their computers off any more but put them into energy consuming standby modes instead I find that almost irresponsible. This is truly wasting energy.

As someone posted before I would also advocate for some more intelligent handling of those check points in the WUs. I would love to see some countdown to the next check point so I can see if it makes sense to maybe wait another 15 minutes before I switch my computer off. Also determining in the profile if I have my computer constantly or only occasionally running and to receive WUs accordingly with more or less check points seems a good idea, although I have no idea if this is a realistic option.

Just my 2 cents...
----------------------------------------
[Edit 1 times, last edit by Former Member at May 10, 2007 4:33:40 PM]
[May 10, 2007 4:29:27 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: HELP!!! My agent keeps restarting to zero percent when i shut my computer down!

You seem mixed up. Hibernation is not the same as standby.

In hibernation, the computer saves all the contents of memory to disk, then shuts down completely.

The techs have determined that it will take too long to rewrite the code with more checkpoints just for these problem work units. They ask for your patience until we get them finished.
[May 10, 2007 4:32:14 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: HELP!!! My agent keeps restarting to zero percent when i shut my computer down!

If everybody really uses hibernating instead of standby you are right...

Still it would be a good idea to somehow break some information through to the user about these check points instead of leaving them completely in the dark about it. It would render the system more efficient and be less frustrating for the users.

Just as a general note to keep in mind. At least for the next project then. smile
[May 10, 2007 4:44:34 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: HELP!!! My agent keeps restarting to zero percent when i shut my computer down!

Hello padre999,
Sekerob has a post in Start Here that talks about the way check points are handled by the various science applications: http://www.worldcommunitygrid.org/forums/wcg/viewthread?thread=11332
Last year I suggested that the time of the most recent check point be displayed on the graphics.

Lawrence
[May 10, 2007 6:05:54 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
Re: HELP!!! My agent keeps restarting to zero percent when i shut my computer down!

It's a scratchy vinyl record by now, but with the 5.8.16 BOINC, all but HCMD can be run (phase 2 will be on BOINC too). It has the local config parm: <checkpoint_debug>1</checkpoint_debug> being discussed in the post lawrence references above and produces this sample demonstrating that checkpoints are fairly regular and not too far apart:
10-5-2007 19:06:59|World Community Grid|[checkpoint_debug] result faah1589_idv_x1KJH_82A_01_0 checkpointed
10-5-2007 19:17:04|World Community Grid|[checkpoint_debug] result lb677_00009_11 checkpointed
10-5-2007 19:32:57|World Community Grid|[checkpoint_debug] result faah1589_idv_x1KJH_82A_01_0 checkpointed
10-5-2007 19:42:40|World Community Grid|[checkpoint_debug] result lb677_00009_11 checkpointed
10-5-2007 19:59:03|World Community Grid|[checkpoint_debug] result faah1589_idv_x1KJH_82A_01_0 checkpointed
10-5-2007 20:05:16|World Community Grid|[checkpoint_debug] result lb677_00009_11 checkpointed

sample cc_config.xml

<cc_config>
<log_flags>
<checkpoint_debug>1</checkpoint_debug>
</log_flags>
<options>
<save_stats_days>90</save_stats_days>
<work_request_factor>0.750000</work_request_factor>
</options>
</cc_config>

WCG (UD) agent is a reliable but dead duck in the development department and more likely with the demise of the grorg. The graphics screen is the only area where the programmers can play with information and with screen real-estate limited to the fixed box, packing more is next to impossible.
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
----------------------------------------
[Edit 1 times, last edit by Sekerob at May 10, 2007 6:40:51 PM]
[May 10, 2007 6:38:50 PM]   Link   Report threatening or abusive post: please login first  Go to top 
retsof
Former Community Advisor
USA
Joined: Jul 31, 2005
Post Count: 6824
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: HELP!!! My agent keeps restarting to zero percent when i shut my computer down!

The above config file illustrates that multiple things can be entered, and the information combined. I may do some of that myself, but entered the absolute minimum for checkpointing. Go to the BOINC manager help to find out more.

<cc_config>
<log_flags>
<checkpoint_debug>1</checkpoint_debug>
</log_flags>
</cc_config>
Even then, nothing happened. After exiting BOINC and restarting BOINC, thus ignoring another checkpoint tongue checkpointing begin to appear in the messages.

5/10/2007 1:21:10 PM|World Community Grid|[checkpoint_debug] result 10001634-10001837_1 checkpointed
5/10/2007 1:31:12 PM|World Community Grid|[checkpoint_debug] result 10001634-10001837_1 checkpointed
5/10/2007 1:41:12 PM|World Community Grid|[checkpoint_debug] result 10001634-10001837_1 checkpointed
5/10/2007 1:51:19 PM|World Community Grid|[checkpoint_debug] result 10001634-10001837_1 checkpointed
It also helps to notice the different of the first one from the beginning, or to see at least a couple of them to know from experience how long you have to wait for the next one on the same project on the same computer. Different workunit batches can still cause variations. They are about 10 minutes apart on this machine. CALL A DOCTOR! BOINC is having a baby! kiss
----------------------------------------
SUPPORT ADVISOR
Work+GPU i7 8700 12threads
School i7 4770 8threads
Default+GPU Ryzen 7 3700X 16threads
Ryzen 7 3800X 16 threads
Ryzen 9 3900X 24threads
Home i7 3540M 4threads50%
----------------------------------------
[Edit 2 times, last edit by retsof at May 10, 2007 7:00:48 PM]
[May 10, 2007 6:55:33 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
Re: HELP!!! My agent keeps restarting to zero percent when i shut my computer down!

No need to restart BOINC. The Advanced menu of 5.8.16 has an option to read the local config file "in-full-flight" biggrin
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
[May 10, 2007 7:00:45 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 26   Pages: 3   [ Previous Page | 1 2 3 | Next Page ]
[ Jump to Last Post ]
Post new Thread