Howto Set Processor affinity on AIX UNIX

by on November 21, 2006 · 0 comments· LAST UPDATED November 21, 2006

in , ,

I have already written about how to use processor affinity to restrict a process and run it only on a specified central processing unit (CPU) under Linux.

This document talks about setting Processor affinity on AIX.

From the article:
Processor affinity is a facility provided by operating systems, and you can use it on multi-processor hardware. All the threads within the process can be bound to run on the specified processor. Using process affinity settings to bind or unbind threads can help you find the root cause of troublesome hang or deadlock problems, especially for those hairy deadlocks and hangs that are hard to debug.

Regardless of what system you use and what functional and regression testing you do when your application is deployed for production, you can still get errors that are unavoidable. You might get a hang where the CPU is being used 100 percent of the time, or you might get deadlocks where a couple of threads are locked and never release a resource. In some cases, you'll see hangs in the application that are very old (even a couple of decades back), even on multiprocessor architectures and fast hardware.

Processor affinity on AIX [ibm.com]



If you would like to be kept up to date with our posts, you can follow us on Twitter, Facebook, Google+, or even by subscribing to our RSS Feed.


{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 13 + 2 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.

Previous post:

Next post: