Limiting CPU usage on a Kaweah

It is preferable to limit the CPU usage for an application that will consume all CPUs on Kaweah.  The user can accomplish this on Kaweah from the Task Manager by going to the Details tab and right-clicking the process and selecting Set affinity.


From there de-select All Processors.

At this point there are two ways to throttle back how your process consumes CPU resources.

1) Limit to only Node 0 (zero) – Select the 16 Node 0 CPUs (CPU 0 – 15).  Use this configuration if your application is more heavily reliant on disk or network access [1].  Use this configuration if you’re unsure.

 

 

2) CPU 0 through 8 (for all Nodes) –  Select CPU 0 – 7 for Node 0 and 1 (16 selections).  Use this configuration if your application tends to use a lot of RAM [1].

 

You can try either technique to see which will yield faster results.

[1] https://blogs.technet.microsoft.com/windowshpc/2008/04/14/how-that-nodesocketcore-thing-works

Further reading – https://msdn.microsoft.com/en-us/library/windows/desktop/dd405503(v=vs.85).aspx

 

George Scheer has written 4 articles

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>