Message boards : API : limitation number of jobs per physical CPU
Message board moderation
Author | Message |
---|---|
Send message Joined: 14 Feb 13 Posts: 50 |
Hello all, If I want to modify the limitation of jobs per PCPUs in the source code, where should I do this? Regards. |
Send message Joined: 21 Jun 06 Posts: 156 |
Hello all, You can set it in config.xml <max_wus_to_send> x </max_wus_to_send> |
Send message Joined: 14 Feb 13 Posts: 50 |
Hello all, 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. |
Send message Joined: 29 Aug 05 Posts: 15571 |
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. |
Send message Joined: 14 Feb 13 Posts: 50 |
Use the <ncpus>N</ncpus> option in cc_config.xml 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? |
Send message Joined: 29 Aug 05 Posts: 15571 |
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 |
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.