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 网络瓶颈的更多相关文章

  1. 《Linux 性能及调优指南》写在后面的话

    感谢飞哥的翻译. 目前飞哥 (http://hi.baidu.com/imlidapeng)的网址已经不能访问了. <Linux 性能及调优指南>这本书的原文地址:http://www.r ...

  2. 《Linux 性能及调优指南》2.3 监控工具

    翻译:飞哥 (http://hi.baidu.com/imlidapeng) 版权所有,尊重他人劳动成果,转载时请注明作者和原始出处及本声明. 原文名称:<Linux Performance a ...

  3. 《Linux 性能及调优指南》1.5 网络子系统

    翻译:飞哥 (http://hi.baidu.com/imlidapeng) 版权所有,尊重他人劳动成果,转载时请注明作者和原始出处及本声明. 原文名称:<Linux Performance a ...

  4. 《Linux性能及调优指南》1.3 Linux文件系统

    翻译:飞哥 (http://hi.baidu.com/imlidapeng) 版权所有,尊重他人劳动成果,转载时请注明作者和原始出处及本声明. 原文名称:<Linux Performance a ...

  5. 《Linux 性能及调优指南》1.4 硬盘I/O子系统

    翻译:飞哥 (http://hi.baidu.com/imlidapeng) 版权所有,尊重他人劳动成果,转载时请注明作者和原始出处及本声明. 原文名称:<Linux Performance a ...

  6. 《Linux 性能及调优指南》3.1 确认瓶颈

    翻译:飞哥 ( http://hi.baidu.com/imlidapeng ) 版权所有,尊重他人劳动成果,转载时请注明作者和原始出处及本声明. 原文名称:<Linux Performance ...

  7. Linux性能及调优指南1.2之Linux内存架构

    本文为IBM RedBook的Linux Performanceand Tuning Guidelines的1.2节的翻译原文地址:http://www.redbooks.ibm.com/redpap ...

  8. 《Linux 性能及调优指南》1.6 了解Linux性能指标

    翻译:飞哥 (http://hi.baidu.com/imlidapeng) 版权所有,尊重他人劳动成果,转载时请注明作者和原始出处及本声明. 原文名称:<Linux Performance a ...

  9. 《Linux性能及调优指南》第二章:监控和基准工具2.1-2.2

    翻译:飞哥 (http://hi.baidu.com/imlidapeng) 版权所有,尊重他人劳动成果,转载时请注明作者和原始出处及本声明. 原文名称:<Linux Performance a ...

随机推荐

  1. [转]一个故事讲清楚NIO

    假设某银行只有10个职员.该银行的业务流程分为以下4个步骤: 1) 顾客填申请表(5分钟): 2) 职员审核(1分钟): 3) 职员叫保安去金库取钱(3分钟): 4) 职员打印票据,并将钱和票据返回给 ...

  2. range— 建立一个包含指定范围单元的数组 (數字、字母)

    range()函数快速创建从1到12的数字数组 $numbers=range(0,12); echo '<pre>'; print_r($numbers); echo '</pre& ...

  3. js获取上传图片大小,判断上传图片类型,获取图片真实宽度和高度

    html部分 <div class="form-group col-md-12"> <label class="col-md-2 text-right& ...

  4. python selenium-webdriver 标签页切换(十五)

    测试过程中有时候会遇到点击某个按钮或者链接会弹出新的窗口,这时候我们的操作的页面还保持着最初打开页面,但是此时我们需要操作新打开的页面上的功能,这个时候我们需要切换一下标签页 . 其实页面的切换与fr ...

  5. Linux下Python与C++混合编程

    最近在做一个CUDA的项目,记录下学习心得. 系统 Linux --generic #-Ubuntu x86_64 GNU/Linux C++调用Python Python模块代码: #!/usr/b ...

  6. Kafka三款监控工具比较

    在之前的博客中,介绍了Kafka Web Console这个监控工具,在生产环境中使用,运行一段时间后,发现该工具会和Kafka生产者.消费者.ZooKeeper建立大量连接,从而导致网络阻塞.并且这 ...

  7. Reporting Services报表常用的URL参数

    http://blog.sina.com.cn/s/blog_5ef7acf5010118a5.html Reporting Services报表常用的URL参数 (2012-03-01 20:57: ...

  8. 恢复word中审阅选项卡

    碰到在Word中,使用自定义功能区添加审阅选项卡,仍然不显示审阅选项卡 二个办法: 1.检查COM加载项,找出并从此禁用,如:iWebOffice2009.ocx 2.创建自定选项卡“审阅(自定义)” ...

  9. ckeditor_4.5.10_full,ckfinder_aspnet_2.6.2,插件使用

    1.ckfinder文件上传的权限: public override bool CheckAuthentication() { // WARNING : DO NOT simply return &q ...

  10. Eclipse 安装阿里巴巴代码规范插件

    好像是要求jdk1.8+ ,1.8以下的没试过 第一步: 选择 Install New Software  第二步: https://p3c.alibaba.com/plugin/eclipse/up ...