《linux性能及调优指南》 3.5 网络瓶颈
3.5 Network bottlenecks
A performance problem in the network subsystem can be the cause of many problems, such
as a kernel panic. To analyze these anomalies to detect network bottlenecks, each Linux
distribution includes traffic analyzers.
网络子系统的性能问题可能的原因有很多,如内核的小问题;
linux的分析工具也很多;
3.5.1 Finding network bottlenecks
We recommend KDE System Guard because of its graphical interface and ease of use. The
tool, which is available on the distribution CDs, is discussed in detail in 2.3.17, “KDE System
Guard” on page 62. Figure 3-2 on page 88 shows it in action.
可以使用KDE System Guard进行图形化分析 ;
图3-2 KDE system Guard 网络监测
It is important to remember that there are many possible reasons for these performance
problems and that sometimes problems occur simultaneously, making it even more difficult to
pinpoint the origin. The indicators in Table 3-3 can help you determine the problem with your
network.
Table 3-3
3.5.2 Performance tuning options
性能调整选项
These steps illustrate what you should do to solve problems related to network bottlenecks:
下面列出解决网络瓶颈的的可选项:
. Ensure that the network card configuration matches router and switch configurations (for example, frame size).
确认网点的配置是否匹配;
. Modify how your subnets are organized.
修改子网
. Use faster network cards.
使用高速网卡;
. Tune the appropriate IPV4 TCP kernel parameters. (See Chapter 4, “Tuning the operating
system” on page 91.) Some security-related parameters can also improve performance,
as described in that chapter.
调整IPV4的TCP内核参数;
. If possible, change network cards and recheck performance.
如果可能,改变网卡和重检查性能;
. Add network cards and bind them together to form an adapter team, if possible.
绑定网卡成一个自适应组;
Similar Posts:
- 《Linux 性能及调优指南》3.1 确认瓶颈
翻译:飞哥 (http://hi.baidu.com/imlidapeng)
版权所有,尊重他人劳动成果,转载时请注明作者和原始出处及本声明. 原文名称:<Linux Performance and Tuning
Guidelines> 原文地址:http://www.redbooks.ibm.com/abstracts/redp4285.html
------------------------------------------------------------------------- - 《Linux 性能及调优指南》1.5 网络子系统
翻译:飞哥 (http://hi.baidu.com/imlidapeng)
版权所有,尊重他人劳动成果,转载时请注明作者和原始出处及本声明. 原文名称:<Linux Performance and Tuning
Guidelines> 原文地址:http://www.redbooks.ibm.com/abstracts/redp4285.html
------------------------------------------------------------------------- - 另一份Java应用调优指南之-工具篇
Java应用的调优,再不写都要忘光了,先对付着写完,免费的JMC真的好用,大家越早用上越好. 前一篇是三个月前的另一份Java应用调优指南
- 前菜 1. 土法调优两大件 先忆苦思甜,一般人在没有Profile工具的时候,调优的两大件,无非Heap Dump 与 Thread
Dump. 1.1 Heap Dump jmap -dump:live,format=b,file=heap.hprof pid
从安全点的日志看,从Heap Dump开始,整个JVM都是停顿的,考虑到IO(写到Page - 调优指南:了解Linux性能指标
在我们了解Linux
操作系统中各种调优参数和性能度量工具前,有必要讨论一下关于系统性能的各种可用指标和他们的意义.我们只涉及了最重要的一些指标. 处理器性能指标
[CPU Utilization] CPU 使用率,这可能是最直接的指标了,它表示每个处理器的整体使用率.在IBM System x
架构中,如果在持续一段时间里CPU 使用率超过80%,就可能预示着CPU 出现了瓶颈. [User Time]
用户时间,表示用户进程所花费的CPU 百分比,包括Nice 时间.在用户时间值很高的情况下 - Mycat性能调优指南
本篇内容来自于网络 JVM调优: 内存占用分两部分:java堆内存+直接内存映射(DirectBuffer占用),建议堆内存
适度大小,直接映射内存尽可能大,两种一起占据操作系统的1/2-2/3的内存.
下面以服务器16G内存为例,Mycat堆内存4G,直接内存映射6G,JVM参数如 下:
-server -Xms4G –Xmx4G XX:MaxPermSize=64M -XX:MaxDirectMemorySize=6G
用mycat console等命令启动MyCAT的,JVM参数都在c - Java应用调优指南之-工具篇
1. 土法调优两大件 先忆苦思甜,一般人在没有Profile工具的时候,调优的两大件,无非Heap Dump 与 Thread Dump.
1.1 Heap Dump jmap -dump:live,format=b,file=heap.hprof pid
从安全点的日志看,从Heap Dump开始,整个JVM都是停顿的,考虑到IO(写到Page Cache,或许触发background
flush),几G的Heap可能产生几秒的停顿,在生产环境上执行时谨慎再谨慎. live的选项,实际上是产生 - Tomcat6.0.41 (64位) Windows与Linux下内存调优
一.常见的Java内存溢出有以下三种 1. java.lang.OutOfMemoryError: Java heap
space ----JVM Heap(堆)溢出JVM在启动的时候会自动设置JVM
Heap的值,其初始空间(即-Xms)是物理内存的1/64,最大空间(-Xmx)不可超过物理内存. 可以利用JVM提供的-Xmn -Xms
-Xmx等选项可进行设置.Heap的大小是Young Generation 和Tenured Generaion 之和.
在JVM中如果98%的时间是用于GC - linux 网站架设调优Apache(一)
环境: view sourceprint? 1.CentOS6.4 x86_64位 采用最小化安装,系统经过了基本优化篇
2.apache版本:httpd-2.4.6 3.apr版本:apr-1.4.8 4.apr-util版本:apr-util-1.5.2
5.pcre版本:pcre-7.8 6.源码包存放位置:/server/tools 7.源码包编译安装位置:/etc/local/软件名称
一.源码官方下,补丁及时打 正如我们在apache部署篇讲到的我们需要对下载的源码包进行验证一样,我 - Linux下Nginx调优示例(loadbalance+sessionstick)
#user nobody; worker_processes 8; worker_cpu_affinity 00000001
00000010 00000100 00001000 00010000 00100000 01000000 10000000;
#error_log logs/error.log; #error_log logs/error.log notice; #error_log
logs/error.log info; #pid logs/nginx.pid; worker_rl - 你所不知道的mfc…mfc项目索引 &amp;mfc调优指南 &amp;mfc vc添加添加子功能指南
Adding Program Functionality 源文档
<http://msdn.microsoft.com/en-us/library/aa248191(v=vs.60).aspx>
How Do I... Procedures for Adding Program Functionality Active
Technology Tasks Assembler (Inline) Tasks Automation Tasks Calling
Conventions Tasks CAr
《linux性能及调优指南》 3.5 网络瓶颈的更多相关文章
- 《Linux 性能及调优指南》写在后面的话
感谢飞哥的翻译. 目前飞哥 (http://hi.baidu.com/imlidapeng)的网址已经不能访问了. <Linux 性能及调优指南>这本书的原文地址:http://www.r ...
- 《Linux 性能及调优指南》2.3 监控工具
翻译:飞哥 (http://hi.baidu.com/imlidapeng) 版权所有,尊重他人劳动成果,转载时请注明作者和原始出处及本声明. 原文名称:<Linux Performance a ...
- 《Linux 性能及调优指南》1.5 网络子系统
翻译:飞哥 (http://hi.baidu.com/imlidapeng) 版权所有,尊重他人劳动成果,转载时请注明作者和原始出处及本声明. 原文名称:<Linux Performance a ...
- 《Linux性能及调优指南》1.3 Linux文件系统
翻译:飞哥 (http://hi.baidu.com/imlidapeng) 版权所有,尊重他人劳动成果,转载时请注明作者和原始出处及本声明. 原文名称:<Linux Performance a ...
- 《Linux 性能及调优指南》1.4 硬盘I/O子系统
翻译:飞哥 (http://hi.baidu.com/imlidapeng) 版权所有,尊重他人劳动成果,转载时请注明作者和原始出处及本声明. 原文名称:<Linux Performance a ...
- 《Linux 性能及调优指南》3.1 确认瓶颈
翻译:飞哥 ( http://hi.baidu.com/imlidapeng ) 版权所有,尊重他人劳动成果,转载时请注明作者和原始出处及本声明. 原文名称:<Linux Performance ...
- Linux性能及调优指南1.2之Linux内存架构
本文为IBM RedBook的Linux Performanceand Tuning Guidelines的1.2节的翻译原文地址:http://www.redbooks.ibm.com/redpap ...
- 《Linux 性能及调优指南》1.6 了解Linux性能指标
翻译:飞哥 (http://hi.baidu.com/imlidapeng) 版权所有,尊重他人劳动成果,转载时请注明作者和原始出处及本声明. 原文名称:<Linux Performance a ...
- 《Linux性能及调优指南》第二章:监控和基准工具2.1-2.2
翻译:飞哥 (http://hi.baidu.com/imlidapeng) 版权所有,尊重他人劳动成果,转载时请注明作者和原始出处及本声明. 原文名称:<Linux Performance a ...
随机推荐
- TypeScript 之 三斜线指令
https://m.runoob.com/manual/gitbook/TypeScript/_book/doc/handbook/Triple-Slash%20Directives.html 一个三 ...
- 设计模式-责任链模式Chain of Responsibility)
一.定义 职责链模式是一种对象的行为模式.在职责链模式里,很多对象由每一个对象对其下家的引用而连接起来形成一条链.请求在这个链上传递,直到链上的某一个对象决定处理此请求.发出这个请求的客户端并不知道链 ...
- [转]Python 模块收集
Python 模块收集 转自:http://kuanghy.github.io/2017/04/04/python-modules Python | Apr 4, 2017 | python 工具 a ...
- Delphi代码模拟“显示桌面”的功能
今天有人问我:“用shell打开文件(显示桌面.scf)的方式还是用模拟键盘(Win+D)显示桌面”这应该有更好的方法,就搜了搜,关键字定位“ToggleDesktop”因为显示桌面.scf的内容是: ...
- c++中计算程序执行时间
#include<iostream> #include<time.h> using namespace std; int main() { clock_t t1 = clock ...
- T-SQL目录汇总1
DDL alter create drop DML select update delete insert DCL grant revoke deny ================= ...
- 黄聪:jquery.bootgrid表格插件有的属性(visibleInSelection、cssClass、headerCssClass、headerAlign)不能识别的解决办法
主要是属性大小写问题,修改jquery.bootgrid.js文件,在function loadColumns()方法里面添加下面的语句就好了 data.headerAlign = data.head ...
- 【linux】centos6.9设置etc0网卡开机自动获取ip
在vm新安装的centos系统中,一般选择NAT来设置和主机共享局域网,通过ifconfig etc0 192.168.xx.xx 这种作法机器重启之后就会失效,所以可以使用更改文件的方式完成设置ce ...
- Bootstrap&bxslider
Bootstrap 规则 一.响应式布局 @media 二.图标.字体 @font-face 三.基本使用 实例: <!DOCTYPE html> <html lang=" ...
- 窗口事件onresize
在做自适应布局的时候,我们常常需要根据窗口不同的分辨率给出不同布局和样式,今天说的onresize便能帮我们实现这一效果. onresize事件在窗口或者框架的大小发生改变的时候会被调用,下面我们用一 ...