免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1379 | 回复: 3
打印 上一主题 下一主题

[系统管理] 没有业务的主机的load比有业务运行的主机的load高 [复制链接]

论坛徽章:
1
操作系统版块每日发帖之星
日期:2016-04-14 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2016-08-17 15:04 |只看该作者 |倒序浏览
环境描述
有业务的机器:rhel6.3    oracle两节点rac 11.2.0.4.4      64GB mem    load average: 0.73, 0.78, 0.73,两节点的load都低
======================================================
top - 14:52:59 up 4 days,  1:45,  2 users,  load average: 0.89, 0.83, 0.76
Tasks: 911 total,   1 running, 910 sleeping,   0 stopped,   0 zombie
Cpu(s):  3.3%us,  1.2%sy,  0.0%ni, 95.3%id,  0.1%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:  65932232k total, 34439472k used, 31492760k free,   369992k buffers
Swap: 33038328k total,     1544k used, 33036784k free, 27416584k cached
=================================================
cat /proc/cpuinfo | grep "physical id" | sort | uniq
physical id    : 0
physical id    : 1
cat /proc/cpuinfo | grep "cores" | uniq
cpu cores    : 6
cat /proc/cpuinfo | grep "processor" | wc -l
24
cat /proc/cpuinfo | grep "siblings" | sort | uniq
siblings    : 12
cat /proc/cpuinfo | grep "model" | sort | uniq
model        : 62
model name    : Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz
================================
该系统已经有业务运行,dbtime平均在70min左右
SQL> select status,count(*) from v$session group by status;

STATUS       COUNT(*)
-------- ----------
ACTIVE         57
INACTIVE    153
===================================
vmstat 1
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
3  1   1544 31431304 369624 27405288    0    0    99   101    5    4  4  1 95  0  0   
1  0   1544 31425468 369624 27405328    0    0    92  1245 10115 12181  8  1 91  0  0   
3  0   1544 31427452 369624 27405328    0    0   123  1198 8782 11808  3  1 96  0  0   
2  0   1544 31420668 369624 27405328    0    0    67   869 11415 14706  4  2 94  0  0   
0  1   1544 31417188 369624 27405344    0    0   139  1904 10876 14524  3  2 95  1  0   
0  0   1544 31414260 369624 27405344    0    0   227  1415 9242 13035  3  1 96  0  0   
3  0   1544 31422668 369624 27405484    0    0   139   535 10440 11430  4  2 94  0  0   
1  0   1544 31423632 369628 27405560    0    0    51  1006 9064 11408  4  1 95  0  0   
0  0   1544 31423820 369628 27405492    0    0   195   977 10197 12614  3  1 96  0  0   
0  0   1544 31439328 369628 27405508    0    0   115   871 10817 13771  4  2 94  0  0   
1  0   1544 31439204 369628 27405508    0    0    51  1520 8037 10882  2  1 97  0  0   
===================================================

无业务的机器: rhel6.7  oracle两节点rac 11.2.0.4.160719     64GB mem   load average: 1.07, 1.12, 1.14  ,有时能到2,两节点的loade都是1以上
=========================================
top - 14:50:46 up  4:37,  3 users,  load average: 1.20, 1.16, 1.15
Tasks: 790 total,   1 running, 789 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.4%us,  0.3%sy,  0.0%ni, 99.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  65838380k total, 41103652k used, 24734728k free,   131640k buffers
Swap: 33554684k total,        0k used, 33554684k free,  1048780k cached
=====================================================
cat /proc/cpuinfo | grep "physical id" | sort | uniq
physical id    : 0
physical id    : 1
cat /proc/cpuinfo | grep "cores" | uniq
cpu cores    : 8
cat /proc/cpuinfo | grep "processor" | wc -l
32
cat /proc/cpuinfo | grep "siblings" | sort | uniq
siblings    : 16
cat /proc/cpuinfo | grep "model" | sort | uniq
model        : 63
model name    : Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz
============================================
SQL> select status,count(*) from v$session group by status;

STATUS       COUNT(*)
-------- ----------
ACTIVE         46
INACTIVE      2
================================================
vmstat 1
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
0  0      0 24735652 131796 1049268    0    0     3     3   29   27  1  0 99  0  0   
0  0      0 24735948 131800 1049264    0    0    83   237 6837 9231  0  1 99  0  0   
0  0      0 24736152 131800 1049516    0    0    99    34 5343 8568  0  0 100  0  0   
2  0      0 24735880 131800 1049516    0    0    35    29 4781 7471  0  0 100  0  0   
0  0      0 24735796 131800 1049524    0    0   707     2 5212 8212  0  0 99  0  0   
0  0      0 24735500 131800 1049524    0    0    99    45 5613 8031  0  0 99  0  0   
0  0      0 24736580 131812 1049512    0    0    19    86 6937 9363  0  1 99  0  0   
0  0      0 24736688 131812 1049512    0    0    35     1 5305 8504  0  0 100  0  0   
3  0      0 24736464 131812 1049524    0    0    51    34 4740 7473  0  0 100  0  0   
2  0      0 24737108 131812 1049524    0    0    19    29 4905 8164  0  0 100  0  0   
3  0      0 24738176 131812 1049524    0    0    35     2 5712 8129  0  0 99  0  0   
0  0      0 24744020 131816 1049524    0    0    83    61 6942 9357  0  1 99  0  0   
1  0      0 24743680 131816 1049524    0    0    35    30 5571 8797  0  0 99  0  0   
0  0      0 24743804 131816 1049524    0    0    51     1 4946 7722  0  0 100  0  0   
1  0      0 24744672 131816 1049528    0    0    19    34 4899 8293  0  0 100  0  0

论坛徽章:
223
2022北京冬奥会纪念版徽章
日期:2015-08-10 16:30:32操作系统版块每日发帖之星
日期:2016-05-10 19:22:58操作系统版块每日发帖之星
日期:2016-02-18 06:20:00操作系统版块每日发帖之星
日期:2016-03-01 06:20:00操作系统版块每日发帖之星
日期:2016-03-02 06:20:0015-16赛季CBA联赛之上海
日期:2019-09-20 12:29:3219周年集字徽章-周
日期:2019-10-01 20:47:4815-16赛季CBA联赛之八一
日期:2020-10-23 18:30:5320周年集字徽章-20	
日期:2020-10-28 14:14:2615-16赛季CBA联赛之广夏
日期:2023-02-25 16:26:26CU十四周年纪念徽章
日期:2023-04-13 12:23:10操作系统版块每日发帖之星
日期:2016-05-10 19:22:58
2 [报告]
发表于 2016-08-18 20:37 来自手机 |只看该作者
请多次观察



win刚打开任务管理器资源也很高

论坛徽章:
1
操作系统版块每日发帖之星
日期:2016-04-14 06:20:00
3 [报告]
发表于 2016-08-24 10:07 |只看该作者
这个是运行很很久了的,不是刚打开那一阵子的回复 2# action08


论坛徽章:
1
IT运维版块每日发帖之星
日期:2016-01-13 06:20:00
4 [报告]
发表于 2016-08-24 14:08 |只看该作者
这几个机器的拓扑图能不能画出来下,再者,这个load应该没有太大的区别吧。机器性能都这么好,负载非常低。建议你做下压力测试的时候,再看看load的值。在本身压力非常低的情况下,似乎没有太大的意义。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP