how-to block ads
5 UD Monitor
The UD Agent itself does not provide for work unit caching. However, there is a user-developed utility called UD Monitor that does provide this function.
UD Monitor now has an automatic send and receive function. With one click, all results in your cache are submitted and the empty cache slots are refilled.
Here's some more info on UD Monitor:
Update!!! - The current version is 4.0 which will work with the latest UD/Ligandfit/PatriotGrid and also Folding@Home, found here: »udmon.sourceforge.net/
See this thread for recent update info.
What is UD Monitor?
UD Monitor's primary function is to enable work unit caching for the UD Agent. It accomplishes this by installing multiple copies of the UD Agent on your PC and then automatically switching between them. After a work unit is completed, but before it can be sent, UD Monitor ends that instance of the UD Agent and starts up another one using an uncompleted work unit. This process repeats until all cached work units have been completed. At that point, UD Monitor can either quit or start up another program, such as Genome@Home, Folding@Home, or SETI@Home. This process ensures that no idle cycles are wasted.
Who needs it?
UD Monitor is targeted toward users with dial-up connections that are not able to (or don't want to) let the UD Agent connect automatically when a new work unit is needed. For example, laptops that are not normally connected to a phone line and PC's with modems that share a line with voice calls can benefit from UD Monitor. Broadband users or those with dedicate phone lines could also use UD Monitor to help avoid downtime during UD server outages, although that doesn't happen often.
What is the purpose of the "Backup" function?
UD Monitor provides the ability to backup work-in-progress to minimize the amount of work lost if the UD Agent or PC crashed. However, this function is no longer needed by most people as recent versions of the UD Agent are much more stable and less prone to corruption if there is a system crash.
Where do I get it?
You can download it here »udmon.sourceforge.net/ and there is also an Official FAQ. Yes, it's free, but the author will accept donations.
How do I install it?
Here's a Quick Start guide using settings I recommend. Feel free to adjust to your personal preferences.
How do I return completed work units that have been cached?
When you're ready to have UD connect to return completed work and download new work, do the following:
Thanks to MJF for helping out with this entry.
Scenario 1: PC only has Internet connection occasionally, such as a laptop.
Solution: Set UD Monitor to cache the maximum number of work units you expect to crunch while you're not connected. Put UD Monitor in your startup group. When a workunit is completed, UD Monitor will hold the results and switch to the next oldest cached work unit. When you re-connect to the Internet, click the "Send/Receive" button and all cached results will be submitted and the cache will be refilled.
Scenario 2: PC has an Internet connection, but you want to be able to crunch during server or ISP downtime.
Solution: Set UD Monitor to cache one day's worth of work units (at least 2). Put UD Monitor in your startup group. No other user intervention is required as long as the UD servers and your ISP stay up. UD Monitor will automatically submit results when completed and will keep the cache full. If there is an outage, you may need to click the "Send/Receive" button once service is restored to submitted results collected during the outage and to refill the cache.
•Download and Unzip the new version from http://distributed.org.ru/?udmon.beta or http://distributed.org.ru/?udmon
•Move the extracted ud_mon.exe from where you extracted it to wherever you had UDMon installed before. It will ask you if you want to replace it or not, choose yes.
•Double click on it to start it back up again.
The shortcut in the startup folder will still work because the location of the program and name of it are still the same.
You will not lose any settings since those are contained in the .ini file and that is not being replaced.
Then check your settings with the graphic below. Upon bootup windows will start udmon for you and udmon will start ud.
If your installed path for ud.exe is different then you need to change that also.
•Go to the cache tab
•Right click on on all cache slots but #1 and choose "Delete Slot" (must be done one at a time)
•Next right click in the open window and choose "New Slot" (do this for as many cached units as you want)
•After you create the new slots double click on them one by one and it will launch the registration. Check the box saying that you're already a member, for "Member Name" type your user name then type your password. For the device name type in something like "Cache 1", "Cache 2", etc... Repeat this step for all the cache slots you want to have.
Note: Remember that you will not be able to click on the "blue pill" in the system tray to see your stats in real time, there is a delay related with UDMon but nothing is lost and everything is sent to the UD Server fine. You will also create additional devices on the UD page which will break down your stats between all the cache units.
Answer:: Yes, because for each WU you have cached, you have the same number of UD clients installed.
In other words, your points were tallied but you are now currently processing a WU under an agent that doesn't know you did any other work.
Question: But then when do the points actually show up?
Answer: They will never be in real time but each time the UD Monitor uploads a WU it will get points to go along with it. Right after that the Monitor switches UD Agents to the oldest WU now has an out of date point total so it is just plain behind.
It will show up on your UD stats page (on the web) once per day.
Thanks to slash and hhuck for the questions and answers.
The current settings for the file are as follows
Updated July 24:
Just go into the settings for UD Monitor and then go to the Cache Exhaustion tab. From there, follow the screenshot.
Be sure to test your settings to ensure that it works.
Note: You may have to change the directory that TSC is installed in
To access these features, right click on the tray icon and highlight After next save. The choices will appear and you can select an action.