码迷,mamicode.com
首页 > 系统相关 > 详细

《linux性能及调优指南》 3.5 网络瓶颈

时间:2018-12-06 22:22:48      阅读:262      评论:0      收藏:0      [点我收藏+]

标签:rman   more   tomcat6   lang   figure   bec   产生   tuning   项目   

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;amp;mfc调优指南 &amp;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 网络瓶颈

标签:rman   more   tomcat6   lang   figure   bec   产生   tuning   项目   

原文地址:https://www.cnblogs.com/tcicy/p/10079678.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!