AIX系统PG 换进换出过大请问如何优化内存

如下图是PG实时监控到数据:

20140111111300.png


以下是VMO的参数设置,望大神帮助:
# vmo -L
NAME                      CUR    DEF    BOOT   MIN    MAX    UNIT           TYPE
     DEPENDENCIES
--------------------------------------------------------------------------------
ame_cpus_per_pool         n/a    8      8      1      1K     processors        B
--------------------------------------------------------------------------------
ame_maxfree_mem           n/a    24M    24M    320K   16G    bytes             D
     ame_minfree_mem
--------------------------------------------------------------------------------
ame_min_ucpool_size       n/a    0      0      5      95     % memory          D
--------------------------------------------------------------------------------
ame_minfree_mem           n/a    8M     8M     64K    16383M bytes             D
     ame_maxfree_mem
--------------------------------------------------------------------------------
ams_loan_policy           n/a    1      1      0      2      numeric           D
--------------------------------------------------------------------------------
enhanced_affinity_affin_time
                          1      1      1      0      100    numeric           D
--------------------------------------------------------------------------------
enhanced_affinity_vmpool_limit
                          10     10     10     -1     100    numeric           D
--------------------------------------------------------------------------------
esid_allocator            0      0      0      0      1      boolean           D
--------------------------------------------------------------------------------
force_relalias_lite       0      0      0      0      1      boolean           D
--------------------------------------------------------------------------------
kernel_heap_psize         64K    0      0      0      16M    bytes             B
--------------------------------------------------------------------------------
lgpg_regions              0      0      0      0      8E-1                     D
     lgpg_size
--------------------------------------------------------------------------------
lgpg_size                 0      0      0      0      16M    bytes             D
     lgpg_regions
--------------------------------------------------------------------------------
low_ps_handling           1      1      1      1      2                        D
--------------------------------------------------------------------------------
maxfree                   1088   1088   1088   16     6348K  4KB pages         D
     minfree
     memory_frames
--------------------------------------------------------------------------------
maxperm                   5386K         5386K                                  S
--------------------------------------------------------------------------------
maxpin                    6395K         6395K                                  S
--------------------------------------------------------------------------------
maxpin%                   80     80     80     1      100    % memory          D
     pinnable_frames
     memory_frames
--------------------------------------------------------------------------------
memory_frames             7936K         7936K                4KB pages         S
--------------------------------------------------------------------------------
memplace_data             0      0      0      0      2                        D
--------------------------------------------------------------------------------
memplace_mapped_file      0      0      0      0      2                        D
--------------------------------------------------------------------------------
memplace_shm_anonymous    0      0      0      0      2                        D
--------------------------------------------------------------------------------
memplace_shm_named        0      0      0      0      2                        D
--------------------------------------------------------------------------------
memplace_stack            0      0      0      0      2                        D
--------------------------------------------------------------------------------
memplace_text             0      0      0      0      2                        D
--------------------------------------------------------------------------------
memplace_unmapped_file    0      0      0      0      2                        D
--------------------------------------------------------------------------------
minfree                   960    960    960    8      6348K  4KB pages         D
     maxfree
     memory_frames
--------------------------------------------------------------------------------
minperm                   236373        236373                                 S
--------------------------------------------------------------------------------
minperm%                  3      3      3      1      100    % memory          D
--------------------------------------------------------------------------------
nokilluid                 0      0      0      0      4G-1   uid               D
--------------------------------------------------------------------------------
npskill                   31K    31K    31K    1      3M-1   4KB pages         D
--------------------------------------------------------------------------------
npswarn                   124K   124K   124K   1      3M-1   4KB pages         D
--------------------------------------------------------------------------------
num_locks_per_semid       1      1      1      1      64     numeric           B
--------------------------------------------------------------------------------
numpsblks                 3968K         3968K                4KB blocks        S
--------------------------------------------------------------------------------
pinnable_frames           7175K         7175K                4KB pages         S
--------------------------------------------------------------------------------
relalias_percentage       0      0      0      0      32K-1                    D
--------------------------------------------------------------------------------
scrub                     0      0      0      0      1      boolean           D
--------------------------------------------------------------------------------
v_pinshm                  0      0      0      0      1      boolean           D
--------------------------------------------------------------------------------
vmm_default_pspa          0      0      0      -1     100    numeric           D
--------------------------------------------------------------------------------
vmm_klock_mode            1      1      1      0      3      numeric           B
--------------------------------------------------------------------------------
wlm_memlimit_nonpg        1      1      1      0      1      boolean           D
--------------------------------------------------------------------------------

n/a means parameter not supported by the current platform or kernel

Parameter types:
    S = Static: cannot be changed
    D = Dynamic: can be freely changed
    B = Bosboot: can only be changed using bosboot and reboot
    R = Reboot: can only be changed during reboot
    C = Connect: changes are only effective for future socket connections
    M = Mount: changes are only effective for future mountings
    I = Incremental: can only be incremented
    d = deprecated: deprecated and cannot be changed

Value conventions:
    K = Kilo: 2^10       G = Giga: 2^30       P = Peta: 2^50      
    M = Mega: 2^20       T = Tera: 2^40       E = Exa: 2^60
参与22

21同行回答

leonzhuleonzhu其它leonzhu
计算型内存88%,非计算型内存11%,pagein/pageout和pgspin/pgspout的概念不同。如果应用不觉得响应时间慢的话说明你们的机器满足你们的要求。要是用到swap的话你会看到大量的pgspin和pgspout的。显示全部
计算型内存88%,非计算型内存11%,pagein/pageout和pgspin/pgspout的概念不同。如果应用不觉得响应时间慢的话说明你们的机器满足你们的要求。要是用到swap的话你会看到大量的pgspin和pgspout的。收起
IT其它 · 2014-01-19
浏览859
lanslans系统工程师潍柴动力股份有限公司
回复 9# xiaojunsxs     物理内存用完了是真的,可是不是还有swap吗?显示全部
回复 9# xiaojunsxs


    物理内存用完了是真的,可是不是还有swap吗?收起
汽车 · 2014-01-18
浏览1854
xiaojunsxsxiaojunsxs系统运维工程师蓝色快车
是物理内存不足,只有物理内存不足时,才会出现频繁的换入换出显示全部
是物理内存不足,只有物理内存不足时,才会出现频繁的换入换出收起
系统集成 · 2014-01-16
浏览1855
popopopo系统工程师home
回复 7# lans     还好啊!显示全部
回复 7# lans


    还好啊!收起
系统集成 · 2014-01-15
浏览1824
lanslans系统工程师潍柴动力股份有限公司
回复 4# popo 显示全部
回复 4# popo

1.png


收起
汽车 · 2014-01-15
浏览1905
lanslans系统工程师潍柴动力股份有限公司
回复 5# xiaojunsxs     是物理内存不足还是swap不足显示全部
回复 5# xiaojunsxs


    是物理内存不足还是swap不足收起
汽车 · 2014-01-15
浏览1836
xiaojunsxsxiaojunsxs系统运维工程师蓝色快车
内存不够啦显示全部
内存不够啦收起
系统集成 · 2014-01-14
浏览1946
popopopo系统工程师home
vmstat 看看显示全部
vmstat 看看收起
系统集成 · 2014-01-13
浏览1756
lanslans系统工程师潍柴动力股份有限公司
回复 2# shshiheng     还需要什么信息,这是跑得生产系统的MES扫描枪显示全部
回复 2# shshiheng


    还需要什么信息,这是跑得生产系统的MES扫描枪收起
汽车 · 2014-01-13
浏览1764
shshihengshshiheng系统运维工程师北京
信息太少了吧  跑的什么应用?、显示全部
信息太少了吧  跑的什么应用?、收起
银行 · 2014-01-12
浏览1765

提问者

lans
系统工程师潍柴动力股份有限公司

相关问题

相关资料

问题状态

  • 发布时间:2014-01-11
  • 关注会员:1 人
  • 问题浏览:21324
  • 最近回答:2015-01-09
  • X社区推广