`
zdx3578
  • 浏览: 93053 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

vmstat system in cs cs: The number of context switches per second. 高

 
阅读更多
http://lxr.free-electrons.com/source/kernel/trace/Kconfig

config CONTEXT_SWITCH_TRACER
86         bool
87
88 config RING_BUFFER_ALLOW_SWAP
89         bool
90         help
91          Allow the use of ring_buffer_swap_cpu.
92          Adds a very slight overhead to tracing when enabled.
93
94 # All tracer options should select GENERIC_TRACER. For those options that are
95 # enabled by all tracers (context switch and event tracer) they select TRACING.
96 # This allows those options to appear when no other tracer is selected. But the
97 # options do not appear when something else selects it. We need the two options
98 # GENERIC_TRACER and TRACING to avoid circular dependencies to accomplish the
99 # hiding of the automatic options.





pidstat -w  
Linux 2.6.32-279.el6.x86_64 (centostmp-lvm)     2014年04月30日  _x86_64_        (3 CPU)

11时07分06秒       PID   cswch/s nvcswch/s  Command
11时07分06秒         1      1.70      0.00  init
11时07分06秒         2      0.00      0.00  kthreadd
11时07分06秒         3      2.14      0.00  migration/0
11时07分06秒         4      9.16      0.36  ksoftirqd/0





http://en.wikipedia.org/wiki/LTTng





​LMbench的简单介绍?

    ​    首先看英文介绍:LMbench -Tools for Performance Analysis,微观性能分析工具。

     ​   官方地址:http://www.bitmover.com/lmbench/








CONFIG_CONTEXT_SWITCH_TRACER: Trace process context switches
General informations

The Linux kernel configuration item CONFIG_CONTEXT_SWITCH_TRACER has multiple definitions:
found in kernel/trace/Kconfig

The configuration item CONFIG_CONTEXT_SWITCH_TRACER:

    prompt:
    type: bool
    depends on: (none)
    defined in kernel/trace/Kconfig
    found in Linux kernels: 2.6.31–2.6.39, 3.0–3.14, 3.14+HEAD

Help text

(none)
Trace process context switches found in kernel/trace/Kconfig

The configuration item CONFIG_CONTEXT_SWITCH_TRACER:

    prompt: Trace process context switches
    type: bool
    depends on: (none)
    defined in kernel/trace/Kconfig
    found in Linux kernels: 2.6.27–2.6.30

Help text

This tracer gets called from the context switch and records all switching of tasks.
Hardware
LKDDb

Raw data from LKDDb:

    (none)

Sources

This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

    Linux kernel
    Linux Kernel Driver DataBase (LKDDb)
分享到:
评论
1 楼 zdx3578 2014-04-30  
http://www.cnblogs.com/peida/tag/linux%E5%91%BD%E4%BB%A4/default.html?page=3

相关推荐

    ctracker:云计算监控工具

    Ctracker 0.02 测试版 Ctracker 是一个免费的开源 Web 监控工具,... b: The number of processes in uninterruptible sleep. Memory swpd: the amount of virtual memory used. free: the amount of idle memory.

    linux系统与网络监控【笔记】

    3.1 Context Switches(上下文切换) 3.2 运行队列 3.3 CPU 利用率 4.0 CPU 性能监测 4.1 vmstat 工具的使用 4.2 案例分析:CPU 持续性利用 ............................. ........................... ................

    oscon2009-linux-monitoring1.pdf

    3.1 Context Switches ...................................................................................................... 9 3.2 The Run Queue ...........................................................

    Oracle DBA的UNIX袖珍参考手册之服务器监控

    Number of reads per second from the Unix JFS buffer cache %rcache Buffer cache hit ratio (for the Unix JFS buffer cache) for read requests bwrit/s Number of physical writes to disk per second lwrit...

    Oracle优化日记:一个金牌DBA的故事 白鳝.扫描版

    回退预案的作用6月7日 突发事件今日点评优化小技巧 使用HINT 优化SQL6月10日 使用自动采样比例引发的故障今日点评优化小技巧 关于表分析比例的判定优化小技巧 AIX下使用vmstat分析I/O问题的小技巧6月11日 阶段总结...

    Linux System Administrator Guide Version0.9

    Linux System Administrator Guide Version0.9 <br>Table of Contents About This Book....................................................................................................................

    vmstat详解.

    vmstat详解.

    OS + Unix IBM Aix basic / topas / nmon / filemon / vmstat / iostat / sysstat/sar

    NULL 博文链接:https://lindows.iteye.com/blog/1125647

    Tuning IBM AIX 5L for an Oracle Database.pdf

    vmstat............................................................................................................................................12 svmon.................................................

    vmstat命令 显示虚拟内存状态

    vmstat命令的含义为显示虚拟内存状态(“Virtual Memory Statistics”),但是它可以报告关于进程、内存、I/O等系统整体运行状态。 语法格式:vmstat [参数] 常用参数: -a 显示活动内页 -f 显示启动后创建的...

    英文原版-The Linux Programmers Toolbox 1st Edition

    Fusco walks you through the fundamentals of the Linux kernel with simple, thought-provoking examples that illustrate the principles behind the operating system. Then he shows you how to put this ...

    sar 与vmstat命令.txt

    sar与vmstat命令简介 vmstat命令报告内核线程,虚拟内存、磁盘、陷阱、和CPU活动情况。 Kthr 线程活动情况 r 运行队列 b 等待队列

    Solaris系统管理指南:高级管理

    《系统管理指南:高级管理》是介绍OracleSolaris系统管理信息重要内容的一套文档中的组成部分。该指南包含基于SPARC和基于x86的系统的信息。 本书假设您已经安装了OracleSolaris操作系统(operatingsystem,OS)。...

Global site tag (gtag.js) - Google Analytics