AIX

AIX

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


#Power
 View Only

Help me to Tune my AIX server.

  • 1.  Help me to Tune my AIX server.

    Posted Mon June 07, 2010 01:51 AM

    Originally posted by: SystemAdmin


    Help me to Tune my AIX server.

    I am using 55A aix server with the 8 logical cpus we are using the server almost 95% with one particular activity with more number of threads. Is it possible to store the ideal process to any dump area and make the cpu some what free or can you suggest me to tune my system to completed the activity quickly with out hanging my server.

    My servers outputs for your reference.
    # oslevel -s
    5300-05-03-0000
    # prtconf |more
    System Model: IBM,9133-55A
    Processor Type: PowerPC_POWER5
    Number Of Processors: 8
    Processor Clock Speed: 1648 MHz
    CPU Type: 64-bit
    Kernel Type: 64-bit
    Memory Size: 32000 MB
    Good Memory Size: 32000 MB
    Platform Firmware level: SF240_382
    Firmware Version: IBM,SF240_382
    Console Login: enable
    Auto Restart: true
    Full Core: false

    # sar 2 3
    System configuration: lcpu=16 mode=Capped

    11:04:58 %usr %sys %wio %idle physc
    11:05:00 42 28 8 22 8.00
    11:05:02 37 26 12 26 8.01
    11:05:04 45 30 6 19 8.01

    Average 41 28 9 22 8.00

    # vmstat 2 2

    System configuration: lcpu=16 mem=32000MB

    kthr memory page faults cpu

    -----------
    ------------
    r b avm fre re pi po fr sr cy in sy cs us sy id wa
    5 3 6166330 632300 0 15 13 2704 6556 0 707 673677 8708 44 27 19 11
    6 2 6166333 631861 0 22 7 1814 4179 0 706 674999 8082 42 26 21 11
    # vmstat -v
    8192000 memory pages
    7842721 lruable pages
    631598 free pages
    2 memory pools
    4606592 pinned pages
    80.0 maxpin percentage
    20.0 minperm percentage
    80.0 maxperm percentage
    27.6 numperm percentage
    2169560 file pages
    0.0 compressed percentage
    0 compressed pages
    27.6 numclient percentage
    80.0 maxclient percentage
    2169555 client pages
    0 remote pageouts scheduled
    3435 pending disk I/Os blocked with no pbuf
    96111 paging space I/Os blocked with no psbuf
    2484 filesystem I/Os blocked with no fsbuf
    86445 client filesystem I/Os blocked with no fsbuf
    555447 external pager filesystem I/Os blocked with no fsbuf
    0 Virtualized Partition Memory Page Faults
    0.00 Time resolving virtualized partition memory page faults

    # schedo -a
    %usDelta = 100
    affinity_lim = 7
    allowMCMmigrate = 0
    big_tick_size = 1
    ded_cpu_donate_thresh = 80
    fixed_pri_global = 0
    force_grq = 0
    hotlocks_enable = 0
    idle_migration_barrier = 4
    krlock_confer2self = 1
    krlock_conferb4alloc = 0
    krlock_enable = 1
    krlock_spinb4alloc = 1
    krlock_spinb4confer = 1024
    maxspin = 16384
    n_idle_loop_vlopri = 100
    pacefork = 10
    sched_D = 16
    sched_R = 16
    search_globalrq_mload = 256
    search_smtrunq_mload = 256
    setnewrq_sidle_mload = 384
    shed_primrunq_mload = 64
    sidle_S1runq_mload = 64
    sidle_S2runq_mload = 134
    sidle_S3runq_mload = 134
    sidle_S4runq_mload = 4294967040
    slock_spinb4confer = 1024
    smt_snooze_delay = 0
    smtrunq_load_diff = 2
    tb_balance_S0 = 0
    tb_balance_S1 = 2
    tb_threshold = 100
    timeslice = 1
    unboost_inflih = 1
    v_exempt_secs = 2
    v_min_process = 2
    v_repage_hi = 0
    v_repage_proc = 4
    v_sec_wait = 1
    vpm_fold_policy = 1
    vpm_xvcpus = 0

    # ps -eaf| grep -v root| cut -c -25 | grep " 1 " |wc –l  No o f ideal proc
    55
    # ps -eaf| grep -v root| wc –l  Total number of user’s process
    113
    # vmo -a
    cpu_scale_memp = 8
    data_stagger_interval = 161
    defps = 1
    force_relalias_lite = 0
    framesets = 2
    htabscale = n/a
    kernel_heap_psize = 4096
    kernel_psize = 16777216
    large_page_heap_size = 0
    lgpg_regions = 0
    lgpg_size = 0
    low_ps_handling = 1
    lru_file_repage = 1
    lru_poll_interval = 10
    lrubucket = 131072
    maxclient% = 80
    maxfree = 1088
    maxperm = 6274176
    maxperm% = 80
    maxpin = 6608493
    maxpin% = 80
    mbuf_heap_psize = 65536
    memory_affinity = 1
    memory_frames = 8192000
    memplace_data = 2
    memplace_mapped_file = 2
    memplace_shm_anonymous = 2
    memplace_shm_named = 2
    memplace_stack = 2
    memplace_text = 2
    memplace_unmapped_file = 2
    mempools = 2
    minfree = 960
    minperm = 1568543
    minperm% = 20
    nokilluid = 0
    npskill = 59904
    npsrpgmax = 479232
    npsrpgmin = 359424
    npsscrubmax = 479232
    npsscrubmin = 359424
    npswarn = 239616
    num_spec_dataseg = 0
    numpsblks = 7667712
    page_steal_method = 0
    pagecoloring = n/a
    pinnable_frames = 3588185
    pta_balance_threshold = n/a
    relalias_percentage = 0
    rpgclean = 0
    rpgcontrol = 2
    scrub = 0
    scrubclean = 0
    soft_min_lgpgs_vmpool = 0
    spec_dataseg_int = 512
    strict_maxclient = 1
    strict_maxperm = 0
    v_pinshm = 0
    vm_modlist_threshold = -1
    vmm_fork_policy = 1
    vmm_mpsize_support = 1
    Thanks,
    Hari
    #AIX-Forum