Issue #21241 has been updated by Melissa Stone.

Released in Puppet 3.4.0-rc1

----------------------------------------
Feature #21241: Add the ability to specify the nice/priority level of puppet
https://projects.puppetlabs.com/issues/21241#change-100650

* Author: Josh Cooper
* Status: Closed
* 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 puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to