What is the default setting for use at most N CPUs?

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of David Anderson
Sent: Friday, December 21, 2012 2:53 PM
To: [email protected]
Subject: Re: [boinc_dev] CPU-limitation in 7.0.29

Jonathan:
BOINC doesn't limit the # of CPUs as far as I know.
On Linux, the client gets the # of CPUs using:

p_ncpus = sysconf(_SC_NPROCESSORS_ONLN);

Can you see what this returns on your system?
i.e. run a program of the form

#include <stdio.h>
#include <unistd.h>
int main() {
     printf("%d\n", sysconf(_SC_NPROCESSORS_ONLN));
}

If it shows 128, try replacing _SC_NPROCESSORS_ONLN with _SC_NPROCESSORS_CONF
and see what it says.

-- David

On 21-Dec-2012 4:38 AM, Jonathan Hoser wrote:
> Hi all,
>
> 7.0.29 (r25790svn) which is packaged with Fedora17 is limited to 128 CPUs
>
> I'm not sure if this is server or client bound,
> but why the limit?
> I can't use boinc as a test-tool for new servers if it doesn't max them out!
>
> Best
> -Jonathan
> _______________________________________________
> boinc_dev mailing list
> [email protected]
> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
> To unsubscribe, visit the above URL and
> (near bottom of page) enter your email address.
>
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to