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: 11
Posts: 11   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1419 times and has 10 replies Next Thread
johnmora
Cruncher
Joined: Jan 29, 2009
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
2 tasks on four-core (2x dual-core) linux box?

All -

I am running boinc_6.4.5_x86_64-pc-linux-gnu on a dual-processor dual-core Opteron 2216 running CentOS 5.2 (2.6.18-92.1.22.el5).

$ grep 'model name' /proc/cpuinfo 
model name : Dual-Core AMD Opteron(tm) Processor 2216
model name : Dual-Core AMD Opteron(tm) Processor 2216

stdoutdae.txt --

29-Jan-2009 11:10:04 [---] Running CPU benchmarks
29-Jan-2009 11:10:35 [---] Number of CPUs: 2

In my Default device profile --
On multiprocessors, at most use: 8

pstree --
|-boinc-+-wcg_faah_autodo---wcg_faah_autodo---wcg_faah_autodo
| `-wcg_hcc1_img_6.---wcg_hcc1_img_6.---wcg_hcc1_img_6.


It appears that Boinc isn't seeing each core as a seperate processor, or scheduling only half the tasks I could potentially run. I am running boinc on the commandline via 'boinc --daemon'.

Shouldn't I be running four seperate tasks concurrently? Is there something misconfigured on my client?

Thanks for your assistance.
[Jan 29, 2009 8:27:10 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: 2 tasks on four-core (2x dual-core) linux box?

Please copy and paste the BOINC message log. I want to see how your processor is being detected.

Please note: we do not support BOINC 6.4.5. Our recommended Linux version is 6.2.15.
[Jan 29, 2009 8:43:06 PM]   Link   Report threatening or abusive post: please login first  Go to top 
johnmora
Cruncher
Joined: Jan 29, 2009
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
Re: 2 tasks on four-core (2x dual-core) linux box?

Here you are. I downgraded the client per your last post.

29-Jan-2009 13:08:36 [---] Starting BOINC client version 6.2.15 for x86_64-pc-linux-gnu
29-Jan-2009 13:08:36 [---] log flags: task, file_xfer, sched_ops
29-Jan-2009 13:08:36 [---] Libraries: libcurl/7.18.0 OpenSSL/0.9.8g zlib/1.2.3 c-ares/1.5.1
29-Jan-2009 13:08:36 [---] Running as a daemon
29-Jan-2009 13:08:36 [---] Data directory: /home/xxx/BOINC
29-Jan-2009 13:08:36 [---] Processor: 2 AuthenticAMD Dual-Core AMD Opteron(tm) Processor 2216 [Family 15 Model 65 Stepping 2]
29-Jan-2009 13:08:36 [---] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht sysc
all nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
29-Jan-2009 13:08:36 [---] OS: Linux: 2.6.18-92.1.22.el5
29-Jan-2009 13:08:36 [---] Memory: 3.86 GB physical, 7.81 GB virtual
29-Jan-2009 13:08:36 [---] Disk: 672.97 GB total, 636.54 GB free
29-Jan-2009 13:08:36 [---] Local time is UTC -6 hours
29-Jan-2009 13:08:36 [---] No coprocessors
29-Jan-2009 13:08:36 [---] Version change (6.4.5 -> 6.2.15)
29-Jan-2009 13:08:36 [World Community Grid] URL: http://www.worldcommunitygrid.org/; Computer ID: 830100; location: (none); project prefs: default
29-Jan-2009 13:08:36 [---] General prefs: from World Community Grid (last modified 29-Jan-2009 13:08:36)
29-Jan-2009 13:08:36 [---] Host location: none
29-Jan-2009 13:08:36 [---] General prefs: using your defaults
29-Jan-2009 13:08:36 [---] Preferences limit memory usage when active to 2963.38MB
29-Jan-2009 13:08:36 [---] Preferences limit memory usage when idle to 3556.06MB
29-Jan-2009 13:08:36 [---] Preferences limit disk usage to 0.93GB
29-Jan-2009 13:08:36 [---] Running CPU benchmarks
29-Jan-2009 13:08:36 [---] Running CPU benchmarks
29-Jan-2009 13:08:36 [---] Running CPU benchmarks
29-Jan-2009 13:09:07 [---] Benchmark results:
29-Jan-2009 13:09:07 [---] Number of CPUs: 2
29-Jan-2009 13:09:07 [---] 1882 floating point MIPS (Whetstone) per CPU
29-Jan-2009 13:09:07 [---] 4267 integer MIPS (Dhrystone) per CPU
29-Jan-2009 13:09:08 [World Community Grid] Restarting task X0000097170319200803121453_1 using hcc1 version 603
29-Jan-2009 13:09:08 [World Community Grid] Restarting task faah5068_003638_MC_xMut_md09010_00_0 using faah version 606


Thanks again.
[Jan 29, 2009 9:03:42 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: 2 tasks on four-core (2x dual-core) linux box?

Odd. It tried to run 3 benchmarks at once. Maybe it's just a bug in the logging.

Anyway: I noticed earlier you said you had the processor limit set to 8. That won't help. You need to set "On multiprocessors, use: 100% of processors". Save, update - you know the drill.
[Jan 29, 2009 9:14:31 PM]   Link   Report threatening or abusive post: please login first  Go to top 
johnmora
Cruncher
Joined: Jan 29, 2009
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
Re: 2 tasks on four-core (2x dual-core) linux box?

More information:

$ ./boinccmd  --get_host_info
timezone: -21600
domain name: xxx
IP addr:
#CPUS: 2
CPU vendor: AuthenticAMD
CPU model: Dual-Core AMD Opteron(tm) Processor 2216 [Family 15 Model 65 Stepping 2]
CPU FP OPS: 1881611247.229446
CPU int OPS: 4267168657.340935
CPU mem BW: 1000000000.000000
OS name: Linux
OS version: 2.6.18-92.1.22.el5
mem size: 4143112192.000000
cache size: 1048576.000000
swap size: 8389763072.000000
disk size: 722597945344.000000
disk free: 683553570816.000000

$ grep p_ncpus client_state.xml
<p_ncpus>2</p_ncpus>


Is this a bug in the CPU detection, and is there a way to override p_ncpus?
[Jan 29, 2009 9:48:52 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: 2 tasks on four-core (2x dual-core) linux box?

Unless I'm greatly mistaken, both methods you tried will just report the CPUs BOINC is allowed to use. In other words, it gives exactly the same result as before.

There is a way to fake the number of CPUs, but you shouldn't need to do so.

First, please will you post the contents of global_prefs.xml?

Thank you.
[Jan 29, 2009 10:02:55 PM]   Link   Report threatening or abusive post: please login first  Go to top 
johnmora
Cruncher
Joined: Jan 29, 2009
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
Re: 2 tasks on four-core (2x dual-core) linux box?

<global_preferences>
<source_project>http://www.worldcommunitygrid.org/</source_project>
<source_scheduler>https://grid.worldcommunitygrid.org/boinc/wcg_cgi/fcgi</source_scheduler>
<mod_time>1233258308</mod_time>
<idle_time_to_run>3.0</idle_time_to_run>
<cpu_scheduling_period_minutes>60</cpu_scheduling_period_minutes>
<work_buf_min_days>0.1</work_buf_min_days>
<max_cpus>8</max_cpus>
<cpu_usage_limit>100.0</cpu_usage_limit>
<disk_interval>60.0</disk_interval>
<disk_max_used_gb>1.0</disk_max_used_gb>
<disk_max_used_pct>50.0</disk_max_used_pct>
<disk_min_free_gb>0.0</disk_min_free_gb>
<vm_max_used_pct>75.0</vm_max_used_pct>
<max_bytes_sec_down>0.0</max_bytes_sec_down>
<max_bytes_sec_up>0.0</max_bytes_sec_up>
<end_hour>0</end_hour>
<net_end_hour>0</net_end_hour>
<net_start_hour>0</net_start_hour>
<start_hour>0</start_hour>
<ram_max_used_busy_pct>75.0</ram_max_used_busy_pct>
<ram_max_used_idle_pct>90.0</ram_max_used_idle_pct>
<work_buf_additional_days>0.0</work_buf_additional_days>
<suspend_if_no_recent_input>0.0</suspend_if_no_recent_input>
<leave_apps_in_memory/>
<run_if_user_active/>
<max_ncpus_pct>100.0</max_ncpus_pct>
<venue name="work">
<cpu_scheduling_period_minutes>60</cpu_scheduling_period_minutes>
<disk_interval>60.0</disk_interval>
<disk_max_used_gb>1.0</disk_max_used_gb>
<disk_max_used_pct>50.0</disk_max_used_pct>
<disk_min_free_gb>0.0</disk_min_free_gb>
<end_hour>0</end_hour>
<leave_apps_in_memory/>
<max_bytes_sec_down>0.0</max_bytes_sec_down>
<max_bytes_sec_up>0.0</max_bytes_sec_up>
<max_cpus>8</max_cpus>
<max_ncpus_pct>100.0</max_ncpus_pct>
<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>100.0</cpu_usage_limit>
<ram_max_used_busy_pct>75.0</ram_max_used_busy_pct>
<ram_max_used_idle_pct>90.0</ram_max_used_idle_pct>
<vm_max_used_pct>75.0</vm_max_used_pct>
<work_buf_min_days>0.1</work_buf_min_days>
<work_buf_additional_days>0.0</work_buf_additional_days>
<suspend_if_no_recent_input>0.0</suspend_if_no_recent_input>
</venue>
</global_preferences>


Thanks again for your help.
[Jan 30, 2009 3:48:22 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: 2 tasks on four-core (2x dual-core) linux box?

I got some advice on your situation.

Please will you also provide:

1: your complete /proc/cpuinfo
2: uname -a
3: a snapshot from top

Thanks!
[Jan 30, 2009 3:54:58 PM]   Link   Report threatening or abusive post: please login first  Go to top 
johnmora
Cruncher
Joined: Jan 29, 2009
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
Re: 2 tasks on four-core (2x dual-core) linux box?

$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 65
model name : Dual-Core AMD Opteron(tm) Processor 2216
stepping : 2
cpu MHz : 2400.000
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
bogomips : 4804.14
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc

processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 65
model name : Dual-Core AMD Opteron(tm) Processor 2216
stepping : 2
cpu MHz : 2400.000
cache size : 1024 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy
bogomips : 4804.14
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc

$ uname -a
Linux xxx 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 11:57:43 EST 2008 x86_64 x86_64 x86_64 GNU/Linux

top - 09:23:52 up 23:36, 1 user, load average: 2.00, 2.00, 2.00
Tasks: 89 total, 4 running, 85 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 16.0%sy, 84.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 4046008k total, 633096k used, 3412912k free, 87312k buffers
Swap: 8193128k total, 0k used, 8193128k free, 368020k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
31570 xxx 39 19 50684 45m 1752 R 100 1.2 224:43.72 wcg_hcc1_img_6.
32349 xxx 39 19 36736 31m 1752 R 100 0.8 13:14.49 wcg_hcc1_img_6.
1 root 15 0 10328 624 532 S 0 0.0 0:01.44 init
2 root RT -5 0 0 0 S 0 0.0 0:00.04 migration/0
3 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0
4 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/0
5 root RT -5 0 0 0 S 0 0.0 0:00.04 migration/1
6 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/1
7 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/1
8 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/0
9 root 10 -5 0 0 0 S 0 0.0 0:00.00 events/1
10 root 10 -5 0 0 0 S 0 0.0 0:00.00 khelper
50 root 10 -5 0 0 0 S 0 0.0 0:00.00 kthread
55 root 10 -5 0 0 0 S 0 0.0 0:00.00 kblockd/0
56 root 10 -5 0 0 0 S 0 0.0 0:00.01 kblockd/1
57 root 15 -5 0 0 0 S 0 0.0 0:00.00 kacpid
187 root 15 -5 0 0 0 S 0 0.0 0:00.00 cqueue/0
188 root 16 -5 0 0 0 S 0 0.0 0:00.00 cqueue/1
191 root 10 -5 0 0 0 S 0 0.0 0:00.00 khubd

[Jan 30, 2009 5:13:48 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: 2 tasks on four-core (2x dual-core) linux box?

/proc/cpuinfo is indicating that there is only one physical processor. It is reporting the same processor twice, once for each core. (Look at the ids.)

I imagine your second processor is disabled or incorrectly configured in your BIOS. At least you have the SMP kernel running already.

Good luck!
[Jan 30, 2009 5:59:41 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 11   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread