AIX

AIX

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


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  Run application on specific CPU

    Posted 11/07/06 11:37 AM

    Originally posted by: SystemAdmin


    My p550 box (AIX 5.3L) has 4 logical CPUs, 4G memory and installed with both BAAN 5 and Oracle 10g R2. our BAAN admin came to me ask whether we can set up in the OS level to let the BAAN to use spcific CPU, say 1 or 2 and other applications use other CPU. Any idea? Never gain any knowledge about such subject.
    #AIX-Forum


  • 2.  Re: Run application on specific CPU

    Posted 11/07/06 12:16 PM

    Originally posted by: HajoEhlers


    man bindprocessor

    if it makes sense is another question

    hth
    Hajo
    #AIX-Forum


  • 3.  Re: Run application on specific CPU

    Posted 11/07/06 11:22 PM

    Originally posted by: SystemAdmin


    With virtual processors there is no way to control which it will run on unless you only have one CPU in the pool.
    #AIX-Forum


  • 4.  Re: Run application on specific CPU

    Posted 11/09/06 01:25 PM

    Originally posted by: SystemAdmin


    How about uses the WLM, Worload manager? just checked my system, the WLM is not enabled. According to an article about the AIX 5.1 on p660 by Joseph Pu, there is a vmtune function for tuning. My AIX 5.3 does not have such, but has a wlmtune, which needs the WLM been activated. Any experience with WLM on a system like my (BAAN and Oracle installed)?
    #AIX-Forum


  • 5.  Re: Run application on specific CPU

    Posted 11/09/06 02:23 PM

    Originally posted by: SystemAdmin


    Read the man bindprocessor. It mentions that the option of the command "ProcessorNum" can be a logical number of the processor. What does that mean? if I have a logical partitioning CPU onboard.
    #AIX-Forum


  • 6.  Re: Run application on specific CPU

    Posted 12/21/06 07:37 PM

    Originally posted by: bhead


    > Read the man bindprocessor. It mentions that the
    > option of the command "ProcessorNum" can be a logical
    > number of the processor. What does that mean? if I
    > have a logical partitioning CPU onboard.

    Identifies which processor you want to bind a process to. "bindprocessor -q" will show you what you have. With a 4-way you should see something like:
    The available processors are: 0 1 2 3

    Say the process you want to bind to a single cpu has a process id number of 12345 and you want to bind this to the first cpu, which would be 0 then:
    bindprocessor 12345 0

    With P5 processors and AIX 5.3 you also have more options but that's a whole nother can of worms. I've never actually used this other than playing around with a test box, not sure of what kind of results you'll get.

    The vmtune command you referred to in an earlier post, under 5.3 it's now the "vmo" command. If your not familiar with tuning an AIX box I'd study up on that one before attempting making any changes, especially on a prod server.


    #AIX-Forum


  • 7.  Re: Run application on specific CPU

    Posted 12/22/06 07:12 AM

    Originally posted by: SystemAdmin


    I would ask your BAAN person why? The only reason that bindprocessor is ever recommended is to avoid the overhead of context switches which can be of some use in cases of long-running compute bound jobs, some use but not much. If you think this is necessary for a commercial workload like ERP you're almost certainly mistaken.

    HTH

    Jim Lane
    #AIX-Forum


  • 8.  Re: Run application on specific CPU

    Posted 12/22/06 09:34 AM

    Originally posted by: woofer


    If you're using micro-partitioning, this isn't going to be possible. If you have a dedicated LPAR with 2 CPUs, and you want to force one to be used by BAAN, you can do that with Workload Manager and Resource Groups. Note that you wouldn't prevent any other application from using the designated processor, but BAAN would only use that processor. Sounds less attractive all the time, doesn't it?
    #AIX-Forum