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: 8
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 872 times and has 7 replies Next Thread
jonathandl
Advanced Cruncher
Joined: Nov 12, 2007
Post Count: 106
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
quick question

I noticed that in your FAQ

http://www.worldcommunitygrid.org/help/viewTopic.do?shortName=cpuuse

it says that for the Windows BOINC client, there is a hard limit of 60% on CPU utilization, and you have to download a special tool to increase utilization to 100%. Am I correct in assuming that this applies only to the Windows client, and that for the Mac client you can set the CPU pref. to anything you want?
[Nov 19, 2007 11:50:49 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 
Re: quick question

I'm afraid you misread it. That help section doesn't mention BOINC at all - it is referring to the Windows UD agent, that is being phased out.

Note however that WCG sets BOINC profiles to 60% by default, using the normal BOINC preferences. You can change this on your device profile page (set it to Maximum Output).
[Nov 19, 2007 1:57:46 PM]   Link   Report threatening or abusive post: please login first  Go to top 
jonathandl
Advanced Cruncher
Joined: Nov 12, 2007
Post Count: 106
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
cool Re: quick question

Thanks for the clarification. I apologize for misunderstanding it; however, I am curious what the above-mentioned FAQ means by "This throttle feature is not yet available for the Boinc based agents"? As you pointed out, the throttle agent appears to be built-in to it.

On a semi-related topic.... you may know that Mac OS X users can change the scheduling priority of the programs running on their computer by opening up the "terminal" application (which brings up a Unix prompt) and entering the "renice" command. For example, if the science application is running with process ID #6001, I could bump its priority up by entering something like
sudo renice -10 -p 6001
Would this have a similar effect to changing the preferences in the BOINC manager to allow a higher %CPU utilization, or does it do something totally different? And if it does something different, is there a possibility that it may affect the science results? (I know a little bit about the OS, but they say a little bit knowledge can be a dangerous thing.wink)
[Nov 20, 2007 3:53:23 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 
Re: quick question

The FAQ just isn't up to date. Sorry.

I don't advise changing process priority. Doing so will impact the responsiveness and speed of your other applications.

Even the lowest priority processes can use 100% of your CPU if they aren't fighting other processes for it.

This is unrelated to the throttle. The BOINC throttle is coarse-grained - two seconds on, one second off, or a similar ratio to achieve the percentage you specified. The throttle doesn't improve or degrade system responsiveness. The only reason for the throttle is to allow people to save power and avoid overheating while contributing to WCG.
[Nov 20, 2007 12:13:36 PM]   Link   Report threatening or abusive post: please login first  Go to top 
jonathandl
Advanced Cruncher
Joined: Nov 12, 2007
Post Count: 106
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
cool process priority, revisited (was Re: quick question)

You wrote:
I don't advise changing process priority. Doing so will impact the responsiveness and speed of your other applications.

Is the effect on other applications the worst thing that can happen, or can re-nicing the Science Application also affect accuracy? I expect to be running something in the background that by default consumes an incredible amount of processing power, and I want BOINC to pre-empt it.
[Mar 3, 2008 4:55:55 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: process priority, revisited (was Re: quick question)

Priority does not effect accuracy. The sciences are designed to yield to anything else, so not sure if you can give it higher priority and let it have more CPU time. Certainly on Windows it has effect whatsoever to change it, though with a 3rd party tool like Threadmaster you can change the share, but only for those processes at the same priority level.
----------------------------------------
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 Mar 3, 2008 5:08:23 PM]
[Mar 3, 2008 5:07:30 PM]   Link   Report threatening or abusive post: please login first  Go to top 
jonathandl
Advanced Cruncher
Joined: Nov 12, 2007
Post Count: 106
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
cool renicing the science application?

Okay I entered this command
sudo renice 0 -p 558
from the Terminal window, where 558 is the process number of the program wcg_dddt_autodock_5.10_i686-apple-darwin. As I understand, this should change the priority of the science application from lowest to normal. I confirmed by executing the command
ps -A -l -c
(or ps -A -l -w)

that the value of "PRI" (which as I understand it, is higher for high priority processes) for process 558 went from 12 to 31, and that the value of "NI" (which I understand is higher for low priority processes) for that same process (wcg_dddt_autodock_5.10_i686-apple-darwin) went from 19 to 0.

Then I started up an MMORPG and executed the command
renice 20 -p 786
which should bump process 786, the game, to the lowest priority. (I am less concerned about the performance of the game than I am about the performance of the science.)

Well, for a long time there was no noticeable difference in the performance of the game, and then the game eventually crashed, which it does anyway I think because it's buggy, and a while after I restarted the game (without having to restart BOINC), I lost network connectivity (not a big deal, it's just a game). And also, the computer started to make a funny noise, but this has been happening intermittently for a while since about a month (maybe less) after I started running the WCG, so I think that is just a result of the the computer being on most of the time, or it may be just a coincidence. In any case, I am really not sure whether the performance of BOINC improved; it is entirely possible that it did somewhat.

This raises a different question: can a buggy game or other software running on the computer corrupt the memory used by BOINC or its science application? I know that Mac OS X supports protected memory, but I wonder if it always works, as past experience shows that on very rare occasion an application crash can freeze the machine--usually it doesn't though. Anyway if the results fail to validate then I'll post a follow-up right away, or if you want to verify the accuracy manually, the name of the work unit is: dddt0401k0637_ZINC06175606-0000_00_1. If those who know more than I think that another buggy application can corrupt the science application, then I'll just stop using the MMORPG and BOINC at the same time.

[Mar 4, 2008 7:40:19 AM]   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: renicing the science application?

I understand that MAC OSX 10.5 is Unix certified, so it should be extremely well in isolating processes and memory use, but eventually it you have a buggy program, something has to give.

Just let us know if the validation failed and post the result log. Find that by going to the Result Status page and clicking on the status word 'invalid' or 'error'.

If you set BOINC not to crunch when computer in use (there's a profile option for that), it will just go to sleep while you're e.g. gaming. BOINC normally tries to get *any* spare cycle, so some gamers report jittery responsiveness.

ttyl
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
[Mar 4, 2008 8:36:16 AM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread