免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 8444 | 回复: 3

[性能调优] Lpar如何增加CPU time [复制链接]

论坛徽章:
0
发表于 2017-03-31 11:00 |显示全部楼层
各位大哥好~事情是这样的

AIX Lpar上app运行的不太顺畅,然后app组的人调查后说 希望增加 CPU time , 理由比较高端:Conditions can cause locking delays , 我反正还不太懂。

我查了近一个月 CPU平均使用率 还不到8% 。 目前的Lpar processor情况如下,请教如何确定是否真有CPU时间不够 ?   另外我记得有这么一句话说 VP的数量多不一定对应用好,因为会导致CPU切换,反而误事,可我这个VP也就2个,不算多吧。

$ lparstat

System configuration: type=Shared mode=Uncapped smt=On lcpu=4 mem=3072MB psize=16 ent=1.00

%user  %sys  %wait  %idle physc %entc  lbusy  vcsw phint
----- ----- ------ ------ ----- ----- ------ ----- -----
  6.7   5.1    1.3   86.9  0.12  12.2    3.7 886829271 15157406


Partition Number                           : 5
Type                                       : Shared-SMT
Mode                                       : Uncapped
Entitled Capacity                          : 1.00
Partition Group-ID                         : 32773
Shared Pool ID                             : 2
Online Virtual CPUs                        : 2
Maximum Virtual CPUs                       : 2
Minimum Virtual CPUs                       : 1
Online Memory                              : 3072 MB
Maximum Memory                             : 3072 MB
Minimum Memory                             : 2048 MB
Variable Capacity Weight                   : 128
Minimum Capacity                           : 0.50
Maximum Capacity                           : 1.00
Capacity Increment                         : 0.01
Maximum Physical CPUs in system            : 32
Active Physical CPUs in system             : 24
Active CPUs in Pool                        : 16
Shared Physical CPUs in system             : 24
Maximum Capacity of Pool                   : 1600
Entitled Capacity of Pool                  : 950
Unallocated Capacity                       : 0.00
Physical CPU Percentage                    : 50.00%
Unallocated Weight                         : 0
Memory Mode                                : Dedicated
Total I/O Memory Entitlement               : -
Variable Memory Capacity Weight            : -
Memory Pool ID                             : -
Physical Memory in the Pool                : -
Hypervisor Page Size                       : -
Unallocated Variable Memory Capacity Weight: -
Unallocated I/O Memory entitlement         : -
Memory Group ID of LPAR                    : -
Desired Virtual CPUs                       : 2
Desired Memory                             : 3072 MB
Desired Variable Capacity Weight           : 128
Desired Capacity                           : 1.00
Target Memory Expansion Factor             : -
Target Memory Expansion Size               : -
Power Saving Mode                          : Disabled
Sub Processor Mode                         : -



论坛徽章:
0
发表于 2017-04-05 17:15 |显示全部楼层
你就给分了一个CPU哦,不过不增加CPU的话,一个CPU的情况下,VP一个比2个好

论坛徽章:
0
发表于 2017-04-06 16:15 |显示全部楼层
回复 2# hello_unix

大哥好~
你说的 “CPU分了一个“ 是指 EC=1吗 ?
物理CPU的话,这个LPAR是跟其它LPAR共享一个cpu pool.

论坛徽章:
0
发表于 2017-04-12 11:05 |显示全部楼层
EC=1就是一个cpu的意思
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP