AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  binding threads to processors

    Posted Thu March 06, 2008 03:40 PM

    Originally posted by: SystemAdmin


    Is there a way in AIX to bind a process to a group of processors? I found the bindprocessor command, but it only seems to really allow you to bind to a single processor. I am looking to do something like processor sets in Solaris where I can create a subset or processors and bind a process to that set of processors.


  • 2.  Re: binding threads to processors

    Posted Fri March 07, 2008 05:58 PM

    Originally posted by: nagger


    Hi,
    You can do this with Workload manager and more.
    You put your process - or a group of processes into a WLM Class and then assign the class to a resource set which are CPUs or a number of CPUs.

    Note that IMHO this is a very bad idea and I have never found that this is good for performance. AIX will move processes to less used CPUs if it finds it is running too many on some CPUs and not enough on others. Nailing a process to a CPU or group of CPUs is not going to help.

    You, of course, may have a very unusual program or reason so your mileage may vary.
    ta N