|
Questions and Answers :
Preferences :
How to limit number of WUs
Message board moderation
Author | Message |
---|---|
Send message Joined: 17 Oct 18 Posts: 8 Credit: 1,544,253 RAC: 2,378 |
Hello, I have a problem with managing the number of WUs I get from CPDN. I will get no work units for a month, then suddenly I get 8 (I have 7 cpu cores dedicated to CPDN. Since these take a few days to complete, this makes it so my other projects won't send WUs for several days. I set the CPDN priority to a very low number (under 2%) but this still happens. No WUs for a long time, then suddenly way too many. Is there any way to get it to send just one or two WUs when it does send work? I've also tried changing global settings to have it only get work for half a day and accept up to one more half day of work, but it still grabs way too many WUs at a time. Thanks for any help! |
![]() Send message Joined: 7 Aug 04 Posts: 2172 Credit: 64,684,962 RAC: 857 |
This may not be perfectly what you want, but it can restrict the number of tasks from a given project running at the same time. https://boinc.berkeley.edu/wiki/Client_configuration#Project-level_configuration and then set <project_max_concurrent> to the max number of cpdn jobs you would want to run at one time. It might still download the same number of tasks as it currently does, but it would be able to run tasks from other projects at the same time. The documentation is not the greatest there, and I haven't used this method so am unsure as to how many of the options mentioned really need to be in that app_config.xml file. So you may have to go elsewhere for answers to specific questions about the requirements in that file. |
![]() Send message Joined: 15 Jul 17 Posts: 99 Credit: 18,701,746 RAC: 318 |
CP is in dire need of some upgrades. Preferences should allow us to check boxes to opt-in to the projects we want to run. It should also have a way to designate the maximum number of WUs to send a computer at any time. Now the way to control work flow is to Abort unwanted excess WUs. Seems like CP would want to minimize that kind of wastefulness and lighten demands on its server. An app_config.xml just helps organize which WUs to Abort. <app_config> <app> <name>hadcm3s</name> <!-- UK Met Office HadCM3 short, 3 days --> <max_concurrent>1</max_concurrent> </app> <app> <name>hadam4</name> <!-- UK Met Office HadAM4 at N144 resolution, 4 days --> <max_concurrent>1</max_concurrent> </app> <app> <name>hadsm4</name> <!-- UK Met Office HadSM4 at N144 resolution, 4 days --> <max_concurrent>1</max_concurrent> </app> <app> <name>hadam4h</name> <!-- UK Met Office HadAM4 at N216 resolution, 14 days --> <max_concurrent>1</max_concurrent> </app> <project_max_concurrent>3</project_max_concurrent> </app_config> ![]() |
![]() Send message Joined: 15 May 09 Posts: 4444 Credit: 17,929,339 RAC: 29,974 |
Moderators have asked the project about allowing choice as to which types of task they receive and been told that they discussed this and decided against it. Given the length of work units and associated deadlines, I don't see the problem with using app_config to limit the number of tasks from CPDN or any other project running at one time but then I don't often run other projects except when there is a lack of work here. Not really sure why you need to abort tasks. When the OpenIFS tasks make it to the main site may be the best chance of revisiting the option of choosing which types of tasks to download. |
Send message Joined: 8 Mar 24 Posts: 1 Credit: 76,292 RAC: 577 |
Is there any way to get it to send just one or two WUs when it does send work? It should also have a way to designate the maximum number of WUs to send a computer at any time. It appears this is now possible to configure in the web interface by visiting Project -> Preferences and setting "Max # jobs [for this project]" to the desired number. |
©2024 climateprediction.net