文章目录

  • windows_性能监视器&资源监视器&任务管理器:指标阅读与使用
    • refenrences
      • Memory performance
        • 监控系统资源使用详情
          • 添加监视对象(属性)(以内存为例)
        • 监控内存使用实例
      • 任务管理器中的内存信息
        • 虚拟内存& committed memory(paging file)
      • Processor(处理器)
      • Processor Information(处理器信息)
        • C1 Times
        • DPC Time
        • Processor Time
        • Processor Performance
        • Processor Utility
        • Processor Frequency
    • 调整虚拟内存
    • android 内存管理

windows_性能监视器&资源监视器&任务管理器:指标阅读与使用

refenrences

  • How to Check Your Computer’s Memory Usage in Windows (groovypost.com)
  • CPU Analysis | Microsoft Docs
  • Windows Memory Monitoring demystified (cloudradar.io)

Memory performance

  • The Memory performance object consists of counters that describe the behavior of physical and virtual memory on the computer.

    • Physical memory is the amount of random access memory on the computer.
    • Virtual memory consists of the space in physical memory and on disk.
  • Many of the memory counters monitor paging, which is the movement of pages of code and data between disk and physical memory.
  • Excessive paging, a symptom of a memory shortage, can cause delays which interfere with all system processes.

监控系统资源使用详情

添加监视对象(属性)(以内存为例)

监控内存使用实例

  • 左上:资源监视器(resmon)
  • 左下:性能监视器(perfmon)
  • 右上:一个用户程序(user program process)
  • 右下:软媒魔方-内存整理(user’s process)

任务管理器中的内存信息

  • what’s that value in brackets? Compressed memory? What’s that? It ‘s available only if you have turned on memory compression. It shows how much data could be compressed to save memory. Memory compression comes at the cost of CPU resources.

虚拟内存& committed memory(paging file)

  • The third value is the “committed memory” and it refers to the virtual memory.

    • Virtual memory for your computer is hard drive space 硬盘驱动器空间used by Windows when it fills up填满 the physical RAM.
    • It’s also called the paging file. On Unix, they call it swap space.
    • The first value tells you how much data has been relocated (迁移) to disk and
    • the second number is the reserved space on disk for the virtual memory.
  • The fourth value is “cached memory”.
    • 这部分内存也是被使用了,但是仅仅用于缓存一些数据/程序来达到加速的目的
    • 当有新的进程需要请求内存时,该部分的内存可以分配给新进程,而不需要挤兑已有进程所持有的空间,这种机制提高内存的利用率,大大的好
    • If the system has enough free memory applications can use it for caching even they don’t really need it.
    • This memory will be freed and shifted to other applications if needed.
      • If you have low memory available but a high usage of cached memory you are not really low on memory.
      • Cached memory is available for applications.
  • Next is the “paged pool” memory.
    • This is the amount of memory used by important operating system processes.
    • Also called the kernel-mode components.
    • That will be moved to the pagefile if physical RAM starts to run out.
  • The sixth and last value is the non-paged pool memory.
    • It is similar to paged pool memory.
    • It’s the memory if the kernel-mode components which must stay in real memory and cannot be relocated to virtual memory on disk.
    • 简单的说,就是该空间里的数据不可调换到磁盘中(用于存放重要的系统内核组件,确保不被调出)
      • 在操作系统中,意味着,访问该空间中的数据不会发生缺页(引发缺页中断)

Processor(处理器)

  • The Processor performance object consists of counters that measure aspects of processor activity.
  • The processor is the part of the computer that performs
    • arithmetic and
    • logical computations,
    • initiates operations on peripherals,
    • and runs the threads of processes.
  • A computer can have multiple processors.
  • The processor object represents each processor as an instance of the object.

Processor Information(处理器信息)

  • The Processor Information performance counter set consists of counters that measure aspects of processor activity.
  • The processor is the part of the computer that performs arithmetic and logical computations, initiates operations on peripherals, and runs the threads of processes.
  • A computer can have multiple processors.
  • On some computers, processors are organized in NUMA nodes that share hardware resources such as physical memory.
  • The Processor Information counter set represents each processor as a pair of numbers, where
    • the first number is the NUMA node number and
    • the second number is the zero-based index of the processor within that NUMA node.
  • If the computer does not use NUMA nodes, the first number is zero.

C1 Times

  • % C1 Time is the percentage of time the processor spends in the C1 low-power idle state.
  • % C1 Time is a subset of the total processor idle time.
  • C1 low-power idle state enables the processor to maintain its entire context and quickly return to the running state.
  • Not all systems support the % C1 state.

DPC Time

  • % DPC Time is the percentage of time that the processor spent receiving and servicing deferred procedure calls (DPCs) during the sample interval.
  • DPCs are interrupts that run at a lower priority than standard interrupts.
  • % DPC Time is a component of % Privileged Time because DPCs are executed in privileged mode. They are counted separately and are not a component of the interrupt counters. This counter displays the average busy time as a percentage of the sample time.

Processor Time

  • % Processor Time is the percentage of elapsed time that the processor spends to execute a non-Idle thread.
  • It is calculated by measuring the percentage of time that the processor spends executing the idle thread and then subtracting that value from 100%.
  • (Each processor has an idle thread to which time is accumulated when no other threads are ready to run).
  • This counter is the primary indicator of processor activity, and displays the average percentage of busy time observed during the sample interval.
  • It should be noted that the accounting calculation of whether the processor is idle is performed at an internal sampling interval of the system clock tick.
  • On todays fast processors, % Processor Time can therefore underestimate the processor utilization as the processor may be spending a lot of time servicing threads between the system clock sampling interval.
  • Workload based timer applications are one example of applications which are more likely to be measured inaccurately as timers are signaled just after the sample is taken.

Processor Performance

  • Processor Performance is the average performance of the processor while it is executing instructions, as a percentage of the nominal performance(标称性能) of the processor.

    • 根据后面对ProcessorFrequncy的描述,该指标应该是频率(当前工作频率相对于标称频率的百分比)
  • On some processors, Processor Performance may exceed 100%.
  • Some processors are capable of regulating their frequency outside of the control of Windows.
  • Processor Performance will accurately reflect the performance of these processors.

Processor Utility

  • Processor Utility is the amount of work a processor is completing, as a percentage of the amount of work the processor could complete if it were running at its nominal performance and never idle.
  • On some processors, Processor Utility may exceed 100%.

Processor Frequency

  • Processor Frequency is the frequency of the current processor in megahertz(兆赫;百万赫兹).
  • Some processors are capable of regulating their frequency outside of the control of Windows.
  • Processor Frequency will not accurately reflect actual processor frequency on these systems.
  • Use % Processor Performance instead.

调整虚拟内存

  • windows 希望至少分配400MB的虚拟内存用于系统记录错误

android 内存管理

  • android 内存管理

OS_windows_性能监视器资源监视器任务管理器:指标阅读与使用/关闭/调整虚拟内存/android内存调度相关推荐

  1. 酷!不用外挂,Win7资源监视器查看QQ好友IP

    用QQ时间比较长.喜欢DIY的朋友都知道,有一些第三方版本的QQ或者插件可以显示好友IP地址,但其实在Windows7中根本用不着第三方软件,在系统自带的资源监视器中,就能很方便的看到QQ好友的IP地 ...

  2. 5.2k Star!一款 Python 实现的美观终端资源监视器

    来源:开源前哨 对于终端爱好者来说,拥有监控系统资源使用情况的能力同样重要,了解系统的资源利用率有助于你在系统维护中做出明确的选择,有一些工具可以借助,诸如top和htop,但它们只显示少数系统指标, ...

  3. java实现资源监视器_实现Java监视的12个步骤程序存在缺陷

    java实现资源监视器 Java监视的当前状态最大的问题是什么? 生产中的错误很像喝醉的短信. 您只有在事情已经发生之后才意识到出了点问题. 发短信日志通常比应用程序错误日志更有趣,但是--两者可能同 ...

  4. qq ip探测仪 php,巧用Win7资源监视器,查看QQ好友IP

    用QQ时间比较长.喜欢DIY的朋友都知道,有一些第三方版本的QQ或者插件可以显示好友IP地址,但其实在Windows7中根本用不着第三方软件,在系统自带的资源监视器中,就能很方便的看到QQ好友的IP地 ...

  5. 如何使用资源监视器删除正被使用中的文件

    在 Windows 平台上操作时,我们经常会因为某些意外的操作而导致文件被死锁在某个进程下而无法释放,比如我们执行了某个安装程序后当删除该程序时提示无法完成该操作,因为该文件正被其他程序所使用,等等诸 ...

  6. Windows资源监视器软件的原理

    首发于freebuf :  http://www.freebuf.com/column/137615.html 1.分析 打开windows任务栏管理器,在其性能选项里,可以看到性能监控的一些机器性能 ...

  7. 如何打开Windows7和Windows server 2008 R2的资源监视器

    Windows资源监视器是一个MMC管理单元,它楚一个可以帮助用户分析系统性能的工具.通过它可以实时监控计箅机系统资源的使用情况,可以随时了解当前计算机的运行情况.如哪些应用使汁算机变得缓慢,哪些操作 ...

  8. 一款霸榜 GitHub 的开源 Linux 资源监视器!

    Linux 操作系统,相信大家都不陌生了,那么我们在 Linux 系统中的两个查看进程的命令也用的不计其数,ps命令用于显示当前进程  process 的状态.top命令用于实时显示 process ...

  9. 肝!一款基于 Python 语言的 Linux 资源监视器!

    还记得前不久给大家推荐的<一款霸榜 GitHub 的开源 Linux 资源监视器!-- bashtop>吗?它是一个用 Bash 编写的 Linux 资源监视器. 昨天刚好闲逛 GitHu ...

  10. Redis基础(十)——性能监控和监视器

    文章目录 性能监控和监视器 1 性能监控 2 监视器 性能监控和监视器 1 性能监控 // 压力测试,默认50个连接,10000次请求 // 不需要进客户端连接 redis-benchmark red ...

最新文章

  1. 20亿参数+30亿张图像,刷新ImageNet最高分!谷歌大脑华人研究员领衔发布最强Transformer...
  2. JavaScript强化教程——对象的值传递和引用传递
  3. jetbrains 旗下所有工具 pycharm clion goland 配置导出及导入
  4. 【数据处理】python数据评估常用指标:ks、fpr、tpr
  5. 中国农民丰收节交易会新闻发布会倡导功能农业·农业大健康
  6. centos查看mysql信息_CentOS查看和修改MySQL字符集
  7. Emmet使用-----HTML
  8. CF960G-Bandit Blues【第一类斯特林数,分治,NTT】
  9. Caffe CuDNN版本与环境不同导致make错误
  10. json web token没有哪个成分_SpringBoot 2.1.4集成JWT实现token验证
  11. git克隆远程仓库的时候断电了,使用git-fetch断点续传
  12. mysql 连接 互联网_互联网技术分享社区 MySQL字符串连接函数
  13. zebra 的Thread机制 -- 003
  14. 矩阵按键原理和BUG
  15. 中标普华下LibFetion1.3,i386,rpm包
  16. 10kv变电所工程电力监控系统的设计与应用
  17. Aria2+yaaw+Chrome插件BaiduExporter实现百度网盘下载
  18. 如何部署在线团队协作系统kooteam(在线团队协作工具)
  19. OPenAL 3D音效开发
  20. 10分钟教你搭建nexus,并把自己项目中的依赖上传到私服

热门文章

  1. 蒸汽密度的计算公式_蒸汽密度计算公式.doc
  2. 微信插件制作之抢红包入门篇
  3. 《程序员修炼之道——从小工到专家》 读书笔记
  4. vue 动态显示实时时间
  5. matlab进化树的下载,mega进化树软件-mega下载 v7.0.14--pc6下载站
  6. win 10 mysql8.0安装
  7. Unity3D 颜色选择器
  8. 品质qc工程图_QC工程图-(品管)
  9. beatmaker3 android,faded打击垫
  10. MATLAB 只是冰山一角!海外资深程序员聊被卡脖子……