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: 7
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1228 times and has 6 replies Next Thread
Sekerob
Ace Cruncher
Joined: Jul 24, 2005
Post Count: 20043
Status: Offline
Reply to this Post  Reply with Quote 
How to Set CPU Usage for BOINC-Windows (Throttle)

Just switched from the classic WCG agent to BOINC 5.2.13. WCG UD agent allowed control of the CPU percentage use thru setting a variable WCGrid_Max_CPU. I trolled the forum, help files and the whole Vivisimo'd internet, but could find nothing for the boinc agent. One can set a Project weight in the Device Profile which i entered as 95, but the agent just translates this as 95(100%) which is equal What i.e. it does nothing. Per the Task Manager i remain to be on 100% CPU constantly, just is a little bit too much.....whatever the claims are of experts, on my 2.5ghzCPU 1gbram machine there is a noticable effect on responsiveness with BOINC OFF or ON. I wanted to provide and have provided all my Idle ticks for the past 15 months to HPF/Cancer and now Aids research and want to keep it that way, but like to reserve a few clicks for the work i'm doing, just need a pointer what parm to add to what i guess to be put in the file C:\Programmi\BOINC\global_prefs.xml or the global_prefs_override.xml (think that is not available yet for this version). crying
----------------------------------------
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 Apr 18, 2006 7:05:49 AM]
[Apr 18, 2006 7:04:58 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: How to Set CPU Usage for BOINC-Windows (Throttle)

Sekerob -
Question - Are you running 1 thread or 2? If you have not changed your profile and if you have hyperthreading enabled on a Pentium 4, then BOINC will try to run 2 threads since Windows reports 2 cpus.

Lawrence
[Apr 18, 2006 8:36:16 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: How to Set CPU Usage for BOINC-Windows (Throttle)

My PC has 1 P4 with Hyperthreading enabled. I saw in the BOINC Device profile this parm: "On multiprocessors, at most use: 4 processors". Do i have to change this or maybe the project weight number to 47 or so to achieve 2x47=94%

BTW, i fired up the old WCG agent and observed that it was happily sharing the idle CPU time 50/50 with BOINC. Never suspected that hyperthreading translated to windows seeing 2 CPU's?
----------------------------------------
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 Apr 18, 2006 10:51:49 AM]
[Apr 18, 2006 10:48:58 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Alther
Former World Community Grid Tech
United States of America
Joined: Sep 30, 2004
Post Count: 414
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: How to Set CPU Usage for BOINC-Windows (Throttle)

The throttle is currently only in the UD version of the code. We have plans to add a throttle to the BOINC code, but I can't give you a timeframe on that.

As for the Project Weight in BOINC, it only comes into play when you are attached to more than one project (e.g. World Community Grid and SETI). It allows you to control how much time is spent on each project. Thus if you are only working on one BOINC project, the weight means nothing since all your time, by definition, is on a single project.

As for impact on your machine, the science apps run at the lowest priority on the system and thus every other process has priority over it. In CPU terms it should have no impact at all.

However, the apps do take up quite a chunk of memory, so if you are tight on RAM, you'll notice some performance degradation due to paging. The throttle will not help that at all. Only more RAM will help.

The throttle was added to help with heat issues and fan noise. That's all it's useful for.
----------------------------------------
Rick Alther
Former World Community Grid Developer
[Apr 18, 2006 1:46:20 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: How to Set CPU Usage for BOINC-Windows (Throttle)

Many thanks Alther (does that reference a very old computer or the german word for age, without the h?)

On the project weight, i should have thought of that answer. The throttle has for me a 3 way function: Temp of CPU, thus reducing Fan need and the said hogging of memory. I worked it down with WCG/UD agent 1 percent at the time and found 95 percent as leaving enough speed for working. As per your indication, even at lowest priority it's just causing noticible delay when working in MS Office, which has poor memory management, particular on the larger files i'm working on. One would think that 1Gb ram should do it, but it does not. Any advise how i could reduce the BOINC memory footprint?

BTW, the tip popup in the systray does not seem to update...have to open BOINC and run an update in there before it changes processing time and percent complete.

I really like it pulling the next WU across before the current one finishes, so it can continue seemlessly......i mentioned UD_MON soemwhere else....could BOINC be coaxed into it pulling multiple units across in store....i used to with WCG. Sometimes my machines runs a week or longer off-line, but continues to crunch WU's. Generally the present batches take about 8 to 10 hours per WU, so BOINC would stall quite quickly.
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
[Apr 18, 2006 6:33: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: How to Set CPU Usage for BOINC-Windows (Throttle)

Hi Sekerob,
A hyperthreading Pentium 4 looks like 2 cpus to Windows. If you want to run only 1 thread, you have to change the profile to run a maximum of 1 thread on multi-processor systems. This should help your cache, which is where I expect the biggest bottle neck occurs. A Pentium 4 is not a Xeon chip. It has only half the cache. Which is why I tend to deprecate hyperthreading 2 large programs.

If you want to pull down a number of work units, change the Communicate every 0.1 days in the profile to 1 or 2 days and see what happens.

Lawrence
[Apr 18, 2006 7:36:15 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: How to Set CPU Usage for BOINC-Windows (Throttle)

Bwilliant LawrenceHardin....within 30 minutes of updating device profile to 1 CPU and comms every 2 days it pulled a few extra workunits across. Cache issue solved.

There was an improvement on responsiveness also, which leaves the case of the tooltip on the systray not updating, unless BOINC is minumised to the startbar too.
----------------------------------------
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 Apr 19, 2006 4:21:05 AM]
[Apr 19, 2006 3:48:06 AM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread