AIX

AIX

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


#Power
 View Only
  • 1.  WLM wlmstat showing different results

    Posted Tue June 10, 2008 11:48 AM

    Originally posted by: SystemAdmin


    Hi
    I have configured a server with WLM settings.
    Standard Configuration Directory /etc/wlm/standard
    root@cpswpdev:/etc/wlm/standard$ cat classes
    System:

    Default:

    Shared:

    disks:
    inheritance = "yes"
    localshm = "yes"

    $ cat rules
    disks - - - /usr/LDAP/ITM/tmaitm6/wrm/aix/kflm - -
    System - root - - - -
    Default - - - - - -

    #cat limits
    System:
    memory = 1%-100%;100%
    disks:
    CPU = 0%-20%;22%
    diskIO = 0%-20%;20%

    #cat shares
    System:
    CPU = 20

    Default:
    CPU = 2

    disks:
    CPU = 1
    diskIO = 20

    In this way, I have limited class "disks" to have maximum 22% os CPU.

    but wlmstat shows
    CLASS CPU MEM DKIO
    Unclassified 0 53 0
    Unmanaged 0 21 0
    Default 4 0 0
    Shared 0 1 0
    System 1 45 0
    disks 39 0 0
    TOTAL 44 99 0

    means disks class has 39 shares.

    In topas it shows

    Name PID CPU% PgSp Class ServerV2 0
    kflm 442582 49.2 1.5 disks

    Plz help me if I have done something wrong.

    Regards
    Amit Bist
    #AIX-Forum


  • 2.  Re: WLM wlmstat showing different results

    Posted Tue June 10, 2008 07:29 PM

    Originally posted by: nagger


    wlmstat with
    CLASS CPU MEM DKIO
    disks 39 0 0

    Means it is using 39 percent of the CPU.

    Name PID CPU% PgSp Class ServerV2 0
    kflm 442582 49.2 1.5 disks
    Says this process is taking 49%

    You will find WLM percentages float around a bit - you have to take an average over a few minutes but will find it does quite well. Pointlessly throwing a process off the CPU for going over 1% would damage performance.

    It is recommended that for shared you work in the hundreds.
    You have disks with 1 share - change that to 100.
    With one shared it is impossible to make a class later with half the importance of this class.

    You should be checking the current directory and make sure you have active control - not passive - if you want WLM to effect process run time.

    Hope this helps, N
    #AIX-Forum


  • 3.  Re: WLM wlmstat showing different results

    Posted Wed June 11, 2008 01:20 AM

    Originally posted by: SystemAdmin


    Actually, this is a test server. Before implementing WLM on production servers, I just wanted to show my application team that WLM really works and can control the process upto any extent.
    But here it didnt show desired result. I am concerned about CPU usage that I have restricted to max 22%. It does not make any difference if it effects the performance bcos its test server.

    The CPU utilization is still around 48-58% for the processes in "disks" class.
    And WLM is in active mode.

    Plz help.
    Amit Bist

    Message was edited by: Ammi
    #AIX-Forum


  • 4.  Re: WLM wlmstat showing different results

    Posted Wed June 11, 2008 09:12 AM

    Originally posted by: tony.evans


    You need to run for longer periods and average the results.

    It may peak at higher than desired values, but over the long term, it'll be controlled to roughly the parameters you set (assuming you set sensible parameters).
    #AIX-Forum