Issue #21241 has been updated by Josh Cooper. Status changed from Accepted to In Topic Branch Pending Review Target version set to 3.4.0 Branch changed from https://github.com/joshcooper/puppet/tree/ticket/stable/21241-priority to https://github.com/puppetlabs/puppet/pull/1922
---------------------------------------- Feature #21241: Add the ability to specify the nice/priority level of puppet https://projects.puppetlabs.com/issues/21241#change-97777 * Author: Josh Cooper * Status: In Topic Branch Pending Review * Priority: Normal * Assignee: * Category: * Target version: 3.4.0 * Affected Puppet version: * Keywords: windows * Branch: https://github.com/puppetlabs/puppet/pull/1922 ---------------------------------------- On *nix, the init script can be modified to run puppet agents at a specified priority level: `nice [-n increment] puppet agent`. See #1381 for more discussion about this. However, this doesn't work on windows using built-in commands. A customer has requested the ability to specify the priority level as a configuration setting. The reasoning is that they have time sensitive operations and don't want puppet agents to take CPU cycles from these other tasks. On Windows, the process priority can be set via [SetPriorityClass](http://msdn.microsoft.com/en-us/library/windows/desktop/ms686219(v=vs.85\).aspx), and on POSIX systems `setpriority`. Additionally, we may want to restrict the number of processors that puppet is allowed to run on, e.g. [SetPriorityAffinityMask](http://msdn.microsoft.com/en-us/library/windows/desktop/ms686223(v=vs.85\).aspx), though puppet agents are not multi-threaded, so that may not really be necessary. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
