当前位置: 首页 > news >正文

CPU Architecture Methodologies

MMU

  1. MMU(Memory Management Unit) 负责将逻辑地址转化为物理地址
  2. 对于现代处理器来说,一般每个core都有自己的 MMU
  3. 页表等数据结构保存在 TLB

NUMA

Non-uniform memory access (NUMA) is a computer memory design used in multiprocessing, where the memory access time depends on the memory location relative to the processor. Under NUMA, a processor can access its own local memory faster than non-local memory (memory local to another processor or memory shared between processors). The benefits of NUMA are limited to particular workloads, notably on servers where the data is often associated strongly with certain tasks or users.

NUMA (Non-uniform memory access) 结构可以缓解总线(bus)资源争用,它将内存分为不同node,并把它们分配给不同组CPU core。当一个core需要访问内存时,它会优先尝试访问它的本地节点上的内存,如果数据不在它的本地节点上,它会通过互联机制访问其他节点上的内存。

numactl可以将进程绑定到特定NUMA节点、控制内存分配策略。

CPU Saturation

❏ Utilization: The time the CPU was busy (not in the idle thread)
❏ Saturation: The degree to which runnable threads are queued waiting their turn on-CPU

● High CPU usage of a system is not a bad sign all the time. CPU is available to be used.
● If run-queue length is high for a significant amount of time, that mean the system is overloaded, and needs optimizations.

提升CPU利用率是好事,是优化。CPU放在那里就是给你用的。
但是如果提升了CPU利用率的同时导致 run-queue length is high ,就要排查一下原因了。

将CPU utilization 和 saturation放在一起观察可以更好地描述CPU load averages。

http://www.lryc.cn/news/103752.html

相关文章:

  • Spring的@Scheduled
  • IP隧道技术原理
  • Docker私有仓库
  • LLM微调 | Prefix-Tuning, Prompt-Tuning, P-tuning, P-tuning-v2
  • Ansible 的脚本 --- playbook 剧本
  • CSP-J模拟赛 / 买文具
  • leecode算法--每日一题1
  • LViT:语言与视觉Transformer在医学图像分割
  • 蓝桥杯上岸每日N题 第五期(山)!!!
  • IDEA Writing classes... 比较慢
  • opencv中轮廓相关属性
  • Leetcode 144. 二叉树的前序遍历
  • 医学影像PACS系统源码:多功能服务器和阅片系统
  • php 生成连续递增的Excel列索引 可以控制多少列
  • Openstack等私有云
  • MySQL 8.0详细安装配置教程
  • pytest 入门
  • 分布式缓存数据一致性-解决方案
  • Java设计模式-享元模式
  • idea模块的pom.xml被划横线,不识别的解决办法
  • ffmpeg 中 av_log 是怎样工作的?
  • HTML+CSS+JavaScript:轮播图自动播放
  • python 自动化数据提取之正则表达式
  • 分布式事务之本地事务
  • PyTorch 初级教程:构建你的第一个神经网络
  • SpringBoot使用MyBatis Plus + 自动更新数据表
  • 【设计模式】简单工厂模式
  • 推荐系统-ALS协同过滤算法实现
  • QT第三讲
  • Linux内核的I2C驱动框架详解------这应该是我目前600多篇博客中耗时最长的一篇博客