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: 13
Posts: 13   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 4324 times and has 12 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
smile Need some information on Task execution

HI All,

I am running HCMD as the primary task and task run time is almost 7 hours now.But the current progress bar is not moving up from 0.2%.Is there a problem with the task or is there something i am missing.

I have just started using UD on my windows xp sp2 machine and my storage performance is the only part where i have 20 out of 100 in device information.Rest all parameters are at 100.Will that be an issue here.

Any ideas will be highly appreciated.

Ashjavi
[May 22, 2007 1:58:13 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: Need some information on Task execution

Hello Ashjavi,
You are using the UD client. Don't worry about storage. You have authorized the WCG to use up to 0.98 GB on your hard disk, which is enough. The first thing is to set the throttle to run at 100%. By default we only run at 60% because some people are using laptops without good cooling. Download the throttle program http://worldcommunitygrid.org/files/WCGridMaxCPU.exe as explained in http://www.worldcommunitygrid.org/forums/wcg/viewthread?thread=2683#61655 and set the throttle to 100%. Then use Task Manager to be sure that some other program is not using all the computer cycles. HCMD will run at lowest priority, so any other program can interfere with it.

The progress bar will only advance at certain points, so everything might be all right. It shows a tiny amount of progress after it completes the startup, which can take a long time. Then it might not advance for several hours.

Please keep us informed about what is happening.

Lawrence
[May 22, 2007 2:12:21 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 
smile Re: Need some information on Task execution

Hi Lawrence,

Thanks for such a quick reply.I have downloaded the tool and has set the cpu usage as described in the article.But there is one thing which was different in my case was that the cpu was constantly running at 50% and not 60% before i downloaded the tool.Also will this tool set the value for cpu throttle only when the agent is runnig or will it be a permanent value set in the system.

Anyways i hope this should work.Also i had another question regarding the task execution.

While the primary task is executed and if the computer is shut down or if i exit from the agent for a while, will the task be saved to its present status or will i have to run the task all over from beginning.

I tried to find this in forums but didnt get much help or was unable to find the right posts.

Hoping to get areply soon

Regards
Ashjavi
[May 22, 2007 2:29:12 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: Need some information on Task execution

Hello Ashjavi,
First, the throttle software sets a permanent value that will always be used in the future, unless you change it.

Second, running at 50% sounds as though you have a Pentium 4 CPU, which can run 2 threads (hyperthreading). If only one thread is running, Task Manager reports 50% usage, even though a second thread would only speed up total processing by about 15% (on average. Some programs do much better.)

Third, the program will periodically write check points to a work file. When you shut down, it will restart from the last check point. Check point code has to be placed in the application program to do this, so it differs for each project: http://www.worldcommunitygrid.org/forums/wcg/viewthread?thread=11332

Hope I have answered your questions - ask about anything I am not explaining clearly.
Lawrence
[May 22, 2007 2:41:58 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: Need some information on Task execution

Third, the program will periodically write check points to a work file. When you shut down, it will restart from the last check point. Check point code has to be placed in the application program to do this, so it differs for each project: http://www.worldcommunitygrid.org/forums/wcg/viewthread?thread=11332



Hi Lawrence,

Thanks for the reply once again.As i read through your reply i was not clear what the above quote means.As you said the program will periodically write check points, so for that do i need to place check point code in the application program.I also visited the link you have given but was unable to understand what
[May 22, 2007 3:50:13 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 
smile Re: Need some information on Task execution

Third, the program will periodically write check points to a work file. When you shut down, it will restart from the last check point. Check point code has to be placed in the application program to do this, so it differs for each project: http://www.worldcommunitygrid.org/forums/wcg/viewthread?thread=11332



Hi Lawrence,

Thanks for the reply once again.As i read through your reply i was not clear what the above quote means.As you said the program will periodically write check points, so for that do i need to place check point code in the application program.I also visited the link you have given but was unable to understand what it implies.I have noticed the colour code difference on the bottom left of the screen as given in the sample image.

I am running UD agent for HCMD project and i thought it might be helpful for you to know that current progress of the task is still at 0.2%.

Regards
Ashjavi
[May 22, 2007 3:57:22 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: Need some information on Task execution

Ashjavi,

Checkpoints saving are programmed into the science application. An explanation is given in the Start Here forum with an extended post: http://www.worldcommunitygrid.org/forums/wcg/viewthread?thread=11332

The length of staying on 0.2% is dependent on the speed of the computer after which it should skip to 4-5%. How long has it been since start and how much CPU time has the wcgridHCMD.exe process in the Taskmanager accumulated, which is different from the time seen in the Agent Main screen.

Sekerob

PS.... editing posts you made before can be done by hitting the little Pencil Icon next to the post title. Deleting can be done long as noone has not expressly hit the reply button in the post you wish to delete.
----------------------------------------
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 22, 2007 4:35:39 PM]
[May 22, 2007 4:31:09 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 
smile Re: Need some information on Task execution

Hi Sekerob

Thanks for the reply.Now I have got a clear idea about the checkpoint system.
I have used a tool process explorer and found that the priority of wcdgridHCMD.exe is idle(4).Also the cpu User time i have got for this process is 2:43:32.12 using the same tool.

Would that be of any help to you.Hoping to get a reply soon.

Ragards
Ashjavi
[May 22, 2007 4:50:26 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 
smile Re: Need some information on Task execution

Hi Sekerob,

While i was sending a reply to your post something happenend to the UD agent and what i am looking at right now is what i thnk a new primary task from the same project HCMD.
The current progress is at 0.0%.The values at the top left of the screen Erelec Etmin have got some figures in there, which previously werw at 0.
And also the colour scheme of the image on the docking system has changed.

I dont know how this happened as i did not even restart the system or the agent .But i hope this should be fine.
In case if this task gets stuck at 0.2% as well i will reply to you again.

Regards
Ashjavi
[May 22, 2007 5:02:45 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: Need some information on Task execution

Ashjavi,

On your last post: Interesting. A segment/seed/attempt concluded by a checkpoint save has some build in time-out and if the science decided that it was getting nowhere, it will either move on to the next or abort and fetch a new job. Now tell us what points and CPU accumulated time is showing in the Agent Main Screen () ? Did it increase from before? To check that, compare with the statistics in your My Grid page. If it did, at least the processing time granted you points for the labour.

On your earlier post: Yes "Process Explorer" is great tool. How much Task Run time is was the agent showing and what % of Throttle (CPU resource) is showing in the Graphics screen (hit ) - should be 100% now - and finally, what's the actual CPU speed (use CPU-Z utility e.g.)

Added: On job abort for UD agent it's programmed to quite a job after 3 wall-clock weeks have accumulated in the Main Agent Screen or 14 CPU days (recorded internally AFAIK).
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
[May 22, 2007 5:27:33 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 13   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread