【性能】性能瓶颈分析(综合)--编辑中

分析思路

1、带宽达到阈值

2、软件处理不过来:用top命令查看是否有线程已经占满cpu、是否锁太多、是否内存拷贝太多

3、内存使用量、换页中断/缺页中断频率

网络性能瓶颈

分析手段

用profile 工具查找软件性能瓶颈

https://blog.csdn.net/bandaoyu/article/details/107970558

如何判断网络达到瓶颈

https://blog.csdn.net/bandaoyu/article/details/120218024

内核优化(减少解决time_wait连接过多)

http://t.csdn.cn/56s6u

测试手段

使用iPerf进行网络吞吐量测试

https://blog.csdn.net/bandaoyu/article/details/108604995

软件性能瓶颈

分析软件在哪些函数耗时最多:《perf + 火焰图分析程序性能》https://blog.csdn.net/bandaoyu/article/details/108765693

sysstat--系统性能监控神器(性能信息收集)--iostat、sar、top、htop

https://blog.csdn.net/bandaoyu/article/details/103195128

缺页中断:https://blog.csdn.net/bandaoyu/article/details/113559126

综合性能分析工具

Linux工具进阶

https://linuxtools-rst.readthedocs.io/zh_CN/latest/advance/index.html

 iostat 监视I/O子系统

https://linuxtools-rst.readthedocs.io/zh_CN/latest/tool/iostat.html

nmon工具。里面记录的参数很全,基本上定位性能的指标(比如cpu、内存、每个cpu、每个磁盘分区的读写、磁盘busy情况、网络吞吐、网络包数据等)都能够统计到。

Nmon工具介绍:http://venus3.desktopqa.com/AppStore/Wiki/Pages/WikiArticles.aspx?id=5256

Nmon分析指标详解:http://www-01.ibm.com/support/knowledgecenter/ssw_aix_71/com.ibm.aix.cmds4/nmon.htm

案例:

性能测试问题排查一例——网络带宽瓶颈

https://blog.csdn.net/lin443514407lin/article/details/54580047

使用nmon analyzer 分析网络性能 

https://zhuanlan.zhihu.com/p/143219027

优化方向

内核优化

http://t.csdn.cn/eGYot

NUMA(Non-Uniform Memory Access)

https://blog.csdn.net/bandaoyu/article/details/122959097

CPU瓶颈

中断瓶颈: http://t.csdn.cn/tUydV

Linux性能调优指导

Performance Tuning Guide Red Hat Enterprise Linux 6 | https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/performance_tuning_guide/index

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值