limitation number of jobs per physical CPU

Message boards : API : limitation number of jobs per physical CPU
Message board moderation

To post messages, you must log in.

AuthorMessage
fazel

Send message
Joined: 14 Feb 13
Posts: 50
Malaysia
Message 49451 - Posted: 1 Jun 2013, 5:34:11 UTC

Hello all,

If I want to modify the limitation of jobs per PCPUs in the source code, where should I do this?

Regards.
ID: 49451 · Report as offensive
rebirther
Avatar

Send message
Joined: 21 Jun 06
Posts: 156
Germany
Message 49467 - Posted: 1 Jun 2013, 9:53:25 UTC - in response to Message 49451.  

Hello all,

If I want to modify the limitation of jobs per PCPUs in the source code, where should I do this?

Regards.


You can set it in config.xml

<max_wus_to_send>
x
</max_wus_to_send>
ID: 49467 · Report as offensive
fazel

Send message
Joined: 14 Feb 13
Posts: 50
Malaysia
Message 49473 - Posted: 2 Jun 2013, 1:15:37 UTC - in response to Message 49467.  

Hello all,

If I want to modify the limitation of jobs per PCPUs in the source code, where should I do this?

Regards.


You can set it in config.xml

<max_wus_to_send>
x
</max_wus_to_send>


Thanks my friend,but I want to fetch more jobs per PCPUs now I have two Cores and the boinc has fetched only two WUs simultaneously.

ID: 49473 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15477
Netherlands
Message 49475 - Posted: 2 Jun 2013, 7:34:37 UTC - in response to Message 49473.  

Use the <ncpus>N</ncpus> option in cc_config.xml
This emulates that you have more cores than you actually have. A value of <ncpus>4</ncpus> will run 4 tasks at a time, even on a 2 core CPU.

See http://boinc.berkeley.edu/wiki/Client_configuration for more information about the cc_config.xml file and its options and flags.
ID: 49475 · Report as offensive
fazel

Send message
Joined: 14 Feb 13
Posts: 50
Malaysia
Message 49481 - Posted: 3 Jun 2013, 3:39:28 UTC - in response to Message 49475.  
Last modified: 3 Jun 2013, 3:45:44 UTC

Use the <ncpus>N</ncpus> option in cc_config.xml
This emulates that you have more cores than you actually have. A value of <ncpus>4</ncpus> will run 4 tasks at a time, even on a 2 core CPU.

See http://boinc.berkeley.edu/wiki/Client_configuration for more information about the cc_config.xml file and its options and flags.



thanks, and I have read somewhere that there is a configuration that how much each task can used CPU time as I think,Is that true? for example if I want to adjust that each job utilize only 50% of each CPU time how can I do that?

And one more thing, Is it possible to set the ncpu at the run time?
ID: 49481 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15477
Netherlands
Message 49485 - Posted: 3 Jun 2013, 11:16:09 UTC - in response to Message 49481.  
Last modified: 3 Jun 2013, 11:54:40 UTC

thanks, and I have read somewhere that there is a configuration that how much each task can used CPU time as I think,Is that true? for example if I want to adjust that each job utilize only 50% of each CPU time how can I do that?

Set it through a project's account->computing preferences->CPU time, or edit global_prefs.xml, value <cpu_usage_limit/>

And one more thing, Is it possible to set the ncpu at the run time?

When using <ncpus/> you need to exit & restart BOINC for it to use this value, so it's always used at the start of run time.

Apropos, see this thread for a discussion on what's used best, global_prefs.xml or global_prefs_override.xml
ID: 49485 · Report as offensive

Message boards : API : limitation number of jobs per physical CPU

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.