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 641 times and has 6 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Only one CPU detected on a dual-core system?

Hi. I'm using a laptop with Intel Core 2 Duo T5750 processor to run BOINC, but I only get to run one task at a time whereas on my desktop with AMD dual core I can run 2 tasks. This occurs after I upgraded the BOINC agent to version 6.xx. Doing CPU benchmark give me this result:

Benchmark results:
Number of CPUs: 1
1859 floating point MIPS (Whetstone) per CPU
4066 integer MIPS (Dhrystone) per CPU

My question: why is it that only 1 CPU is detected? Any way to solve this?
[Oct 17, 2008 2:09:00 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: Only one CPU detected on a dual-core system?

It's either your website device profile attached to your device or the local preferences specifying 1 processor. The new 6.2 client gives the number of cores as a percent, so 50% of a dual core would use 1. WCG still gives the old number option and is working on adapting to show both the new and old BOINC way. It's because there will be 5.10 and older clients for a long time.

A "gotcha" in the new way of allowing CPU resource is that 60% and even 74% on a dual core rounds to 1 core. 60% on a quad would work as 2 being used, with 74% on a quad rounding to using 3 cores.

cheers
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
----------------------------------------
[Edit 2 times, last edit by Sekerob at Oct 17, 2008 3:55:14 PM]
[Oct 17, 2008 2:40:59 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: Only one CPU detected on a dual-core system?

I dont think that's the problem. I never messed with the Device Profile on the website and things I changed in the Preference is only to connect more often and use more CPU... Take a look:

<global_preferences>
<run_on_batteries>1</run_on_batteries>
<run_if_user_active>1</run_if_user_active>
<start_hour>0.000000</start_hour>
<end_hour>0.000000</end_hour>
<net_start_hour>0.000000</net_start_hour>
<net_end_hour>0.000000</net_end_hour>
<leave_apps_in_memory>1</leave_apps_in_memory>
<confirm_before_connecting>0</confirm_before_connecting>
<hangup_if_dialed>0</hangup_if_dialed>
<dont_verify_images>0</dont_verify_images>
<work_buf_min_days>0.005000</work_buf_min_days>
<work_buf_additional_days>0.300000</work_buf_additional_days>
<max_ncpus_pct>99.000000</max_ncpus_pct>
<cpu_scheduling_period_minutes>120.000000</cpu_scheduling_period_minutes>
<disk_interval>60.000000</disk_interval>
<disk_max_used_gb>10.000000</disk_max_used_gb>
<disk_max_used_pct>50.000000</disk_max_used_pct>
<disk_min_free_gb>0.500000</disk_min_free_gb>
<vm_max_used_pct>50.000000</vm_max_used_pct>
<ram_max_used_busy_pct>50.000000</ram_max_used_busy_pct>
<ram_max_used_idle_pct>90.000000</ram_max_used_idle_pct>
<max_bytes_sec_up>0.000000</max_bytes_sec_up>
<max_bytes_sec_down>0.000000</max_bytes_sec_down>
<cpu_usage_limit>99.000000</cpu_usage_limit>
</global_preferences>


Or maybe it's in this file?

<global_preferences>
<source_project>http://www.worldcommunitygrid.org/</source_project>
<source_scheduler>https://secure.worldcommunitygrid.org/boinc/w...</source_scheduler>
<mod_time>1</mod_time>
<cpu_scheduling_period_minutes>120</cpu_scheduling_period_minutes>
<disk_interval>60.0</disk_interval>
<disk_max_used_gb>10.0</disk_max_used_gb>
<disk_max_used_pct>50.0</disk_max_used_pct>
<disk_min_free_gb>0.5</disk_min_free_gb>
<end_hour>0</end_hour>
<idle_time_to_run>3.0</idle_time_to_run>
<max_bytes_sec_down>0.0</max_bytes_sec_down>
<max_bytes_sec_up>0.0</max_bytes_sec_up>
<max_cpus>16</max_cpus>
<net_end_hour>0</net_end_hour>
<net_start_hour>0</net_start_hour>
<run_if_user_active/>
<start_hour>0</start_hour>
<cpu_usage_limit>60.0</cpu_usage_limit>
<ram_max_used_busy_pct>50.0</ram_max_used_busy_pct>
<ram_max_used_idle_pct>75.0</ram_max_used_idle_pct>
<vm_max_used_pct>50.0</vm_max_used_pct>
<work_buf_min_days>0.2</work_buf_min_days>
<work_buf_additional_days>0.3</work_buf_additional_days>
<suspend_if_no_recent_input>0.0</suspend_if_no_recent_input>
</global_preferences>


Well I edited the <cpu_usage_limit>60.0</cpu_usage_limit> to 99.0, still no change.. The benchmark still only shows one CPU, and only one task is allowed despite the agent stating I have 2 processors when I start the program:

17-Oct-2008 23:11:45 [---] Processor: 2 GenuineIntel Intel(R) Core(TM)2 Duo CPU T5750 @ 2.00GHz [x86 Family 6 Model 15 Stepping 13]
[Oct 17, 2008 3:14:25 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: Only one CPU detected on a dual-core system?

Well sorry, maybe I have to revise my opinion about the rounding of the %. Yours shows:

<max_ncpus_pct>99.000000</max_ncpus_pct>

Old pref was <max_cpus>16</max_cpus> default FIRST 16 cores.

New pref is <max_ncpus_pct>100.000000</max_ncpus_pct>

which is currently only accessible locally and overrides the old pref, only accessible on the WCG web profile. On original BOINC projects the device profiles show both preferences.

And, the "in the know" consider the solution a mess and given too many have fallen for it already, I agree.

So, visit your client local prefs and change the "On Multi Processor Systems.... to 100.00

Let us know
----------------------------------------
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 Oct 17, 2008 4:10:27 PM]
[Oct 17, 2008 4:08:23 PM]   Link   Report threatening or abusive post: please login first  Go to top 
JmBoullier
Former Community Advisor
Normandy - France
Joined: Jan 26, 2007
Post Count: 3716
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Only one CPU detected on a dual-core system?

Well I edited the <cpu_usage_limit>60.0</cpu_usage_limit> to 99.0, still no change..
And why not to 100.00000? It looks like the agent is strictly making sure it does not exceed your requirement, instead of rounding the result to the closest.

I have just begun to use 6.2 yesterday so I may be wrong, but I would give it a try (and mine is definitely set at 100.00000).

Cheers. Jean.
----------------------------------------
Team--> Decrypthon -->Statistics/Join -->Thread
[Oct 17, 2008 4:10:54 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: Only one CPU detected on a dual-core system?

Well, setting Use At Most [100%] CPU Time works (<max_ncpus_pct>100.000000</max_ncpus_pct>) works. Darn that was simple! >_> I set it to 99% before coz I wanna at least spare 1% for the other program that's running on the laptop... Oh well

Thanks Sekerob and JmBoullier, you guys are the best :D

edited for inappropriate language...cih
----------------------------------------
[Edit 1 times, last edit by Former Member at Oct 20, 2008 12:47:36 PM]
[Oct 17, 2008 5:58:37 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: Only one CPU detected on a dual-core system?

For the 1% you need to use that other setting <cpu_usage_limit>99.000000</cpu_usage_limit> and set the Activity menu to "Run Based on Preferences", but I promise you, zero gain due the quirkiness of the BOINC % CPU time control.
----------------------------------------
WCG Global & Research > Make Proposal Help: Start Here!
Please help to make the Forums an enjoyable experience for All!
[Oct 17, 2008 6:13:34 PM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread