Index | Recent Threads | Unanswered Threads | Who's Active | Guidelines | Search |
World Community Grid Forums
Category: Retired Forums Forum: The New Members Forum [Read Only] Thread: Tips on running the grid agent, please feel free to contribute! |
No member browsing this thread |
Thread Status: Active Total posts in this thread: 6
|
Author |
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
The followings are some tips gathered from running the UD agent for the past few years, may be helpful to some of you guys.
1. BIOS settings are the first step to better performance Make sure that you have configured your BIOS properly. Failure to do so can easily slow down CPU and disk performance. For best performance, make sure that all CPU caches are enabled, memory timings are set to as aggressive as your hardware and sofware allows, and that IDE data transfer modes are set correctly. 2. Enable large system cache Double click the system icon in the Control Panel and click the Advanced tab. Choose Performance and click the Advanced tab in the new dialog box. Then select System Cache under Memory Usage. For those have more than 256MB RAM, this enables the system to use more memory as system cache, which provides better performance for your agent. WARNING! Enabling large system cache on some machines equipped with ATi video cards may result in system crash. If your computer is installed with an ATi graphics card, consult with ATi before enabling this option. 3. Drivers are critical You need to ensure that you have the latest versions of all your hardware drivers. The ones on the original Windows CD-ROM are usually out of date. Updated the chipset and processor (if applicable) driver can significantly improve the performance of your computer and its performance on running the agent. 4. Setting the agent to high priority Press CTRL-ALT-DEL while in Windows and bring up the Task Manager. Right click WCGrid_Rosetta.exe at the process tab, select the desired process priority (I recommend high). This will enable the system to run the grid agent process at a higher priority. However, performance of other programs may be lowered. WARNING! Do NOT set the priority to REALTIME, or else, you will not be able to use the system until the module is finished. 5. Minimize Background Applications and Services Press CTRL-ALT-DEL while in Windows and bring up the Task Manager. All background program steals memory and CPU cycles from the grid agent. Messenger (msmsg), Office Startup, Quicktime (qttask), Real Player and Winamp are the common ones. To stop programs from automatically starting, remove them using the msconfig utility or consult the help file of each program to turn it off. 6. Disable your screen saver Screen saver also robs your processing power when the system is not in use. Use the power managment function to turn it off instead and provides more processing power to the grid agent, while saving energy by turning off the monitor. 7. Defrag Regularly Make sure you regularly defragment your hard drive with a defragmenter. Keep your drive defragmented as a drive with even 5% fragmentation can be very inefficient. 8. A stable system is a fast system Minimize downtime by maintaining your system in god condition. The lesser the down time = the more time your computer is running = the more available chance for the agent to run! 9. Old soldiers never die Have old machines sitting at the corner of your home gathering dust? Crank them up! Old machine may not be able to run the latest software, but if they meet the minium requirement for the grid agent, why not let them do their part and make them a bit more useful to the whole human race? My 2cents. Any more tips? Please feel free to post them up, your contribution is greatly appreciated. |
||
|
Alther
Former World Community Grid Tech United States of America Joined: Sep 30, 2004 Post Count: 414 Status: Offline Project Badges: |
4. Setting the agent to high priority Press CTRL-ALT-DEL while in Windows and bring up the Task Manager. Right click WCGrid_Rosetta.exe at the process tab, select the desired process priority (I recommend high). This will enable the system to run the grid agent process at a higher priority. However, performance of other programs may be lowered. WARNING! Do NOT set the priority to REALTIME, or else, you will not be able to use the system until the module is finished. I can tell you that this will have NO effect at all due to the way Windows handles priorities. It will still have a priority level of 1 unless you choose RealTime (which, as you say, you do NOT want to do).
Rick Alther
Former World Community Grid Developer |
||
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
I am not quite sure about this but I got around 5% gain in speed on processing work unit. I thought placing it at a higher priority than idle will make it supercede other applications that want to run. The agent will hog the CPU as most programs, except the kernels, etc, are set to be at normal priority. So if the agent is set as realtime, the kernel and other system process will be superceded as well. Isn't this the reason behind the frozen / stuttering mouse when the agent is running at real-time priority? Won't this provide more available processing power to the agent during multitasking environment?
|
||
|
Alther
Former World Community Grid Tech United States of America Joined: Sep 30, 2004 Post Count: 414 Status: Offline Project Badges: |
I am not quite sure about this but I got around 5% gain in speed on processing work unit. I thought placing it at a higher priority than idle will make it supercede other applications that want to run. The agent will hog the CPU as most programs, except the kernels, etc, are set to be at normal priority. So if the agent is set as realtime, the kernel and other system process will be superceded as well. Isn't this the reason behind the frozen / stuttering mouse when the agent is running at real-time priority? Won't this provide more available processing power to the agent during multitasking environment? How did you measure the 5% gain? All workunits in the project are non-deterministic. You can't compare the time it takes to process 1 workunit against another. Also, 5% could be attributed to many things on your computer: running other programs, AV scans of files in the background, network issues causing the kernel to take time, etc. If you set Rosetta to the RealTime priority, yes, it will get as much CPU time as it wants, pretty much crippling your system. You don't want to do this. If you set Rosetta to any other priority, it will have NO effect. It will always stay at priority level 1. To understand why this is, you need to understand how scheduling works in Windows. There's more to scheduling than the simple interface that the Task Manager exposes.
Rick Alther
Former World Community Grid Developer |
||
|
cmonster
Cruncher Joined: Nov 17, 2004 Post Count: 11 Status: Offline Project Badges: |
I agree with Alther, setting the process priotity will not improve the preformance much. It will cause the program to fight more for the cpu usage, resulting it the other programs going slower or even crashing (we all now how windows handles that). For a computer that is sitting there doing nothing but the grid it will do nothing for peformance.
My two cents. Cmonster Idaho team |
||
|
Former Member
Cruncher Joined: May 22, 2018 Post Count: 0 Status: Offline |
Mr.SyStemA, we need more TIPZ.... posted elsewhere [Admins may move this!]
Re: UD.exe as a service + firewall ?I stop the UD.exe service and start the WCG agent from the Start menu, Sygate allows the connection Reply to this Post Reply with Quote [Delete this Post] -------------------------------------------------------------------------------- I [we] use Zonealarm [not Sygate] and have a router Firewall to-boot and ....I get this and worse restart ERRORZ w/ UD.exe on my REMOVABLE Drv., BUT my wifes' [USERid/install] 'install on the C: drv. never gets ANY errorz.! WTF! I have posted this B4.... BTW: I have a spare Linux machine to 'Heat up this cold house..... And... DARN... out of time to post or I'll loose it ! ps ALL fillez are on my flash drv and runs great until switchin' UserIDZ.... pss: Dial Up is the most pain/minutes that ya'll gotta live with. Keep-on-Computin' [or (60's) Truckin' [Dec 17, 2004 3:10:18 AM] |
||
|
|