一只程序猿很黄很暴力的日记

本文介绍了NUMA(非一致内存访问)的基本概念,包括Socket、Core、Thread和NUMA节点,并通过图示帮助理解。接着,讨论了SMP、NUMA和SMT的区别。在OpenStack环境中,NUMA特性允许对虚拟机实例的CPU分配进行精细化控制,以提高性能和减少延迟。文章还提到OpenStack如何自定义配置NUMA,但具体内容待补充。参考链接提供了更多关于OpenStack NUMA配置和CPU绑定的信息。
摘要由CSDN通过智能技术生成

一些基础概念:

Socket(s):主板上面的物理 CPU 插槽。

Core(s):一个 CPU 一般包含 2~4 个 core,即 Core(s) per socket。

Thread(s):一个 core 包含多个可以并行处理任务的 thread,即 Thread(s) per core, thread 是单个独立的执行上下文,竞争 core 内寄存器等共享资源。

NUMA nodes:一个 socket 可以划分为多个 NUMA node。

图示:

An example of a two-node NUMA system and the way the CPU cores and memory pages are made available.

NOTE
Remote memory available via Interconnect is accessed only if VM1 from NUMA node 0 has a CPU core in NUMA node 1. In this case, the memory of NUMA node 1 will act as local for the third CPU core of VM1 (for example, if VM1 is allocated with CPU 4 in the diagram above), but at the same time, it will act as remote memory for the other CPU cores of the same VM.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值