Intel开发者手册--第3卷--第8章--多处理器管理--8.0_intel手册第三-程序员宅基地

技术标签: 多核  x64  x86  多线程  assembly  intel  

The Intel 64 and IA-32 architectures provide mechanisms for managing andimproving the performance of multiple processors connected to the same systembus. These include:

Intel64 IA-32架構提供管理和提升連接到相同系統總線多個處理器性能的機制。它包括:

Bus locking and/or cache coherencymanagement for performing atomic operations on system memory.

 總線鎖和/或緩存一致性管理,用於在系統內存執行原子操作

• Serializing instructions.

指令序列化

• An advance programmable interruptcontroller (APIC) located on the processor chip (see Chapter 10,“AdvancedProgrammable Interrupt Controller (APIC)”). This feature was introduced by thePentium processor.

 處理器芯片上有一個高級可編程中斷控制器(APIC)(見第10章,“高級可編程中斷控制器(APIC) ”)。這一特性在Pentium處理器被引入。

• A second-level cache (level 2, L2).For the Pentium 4, Intel Xeon, and P6 family processors, the L2 cache is includedin the processor package and is tightly coupled to the processor. For thePentium and Intel486 processors, pins are provided to support an external L2cache.

二級緩存(L2)Pentium4, IntelXeon, P6 家族的二級緩存包含在處理器封包內并緊密結合到處理器上。而在PentiumIntel486處理器上,提供了針腳用於外接二級緩存。

• A third-level cache (level 3, L3).For Intel Xeon processors, the L3 cache is included in the processor package andis tightly coupled to the processor.

 三級緩存(L3)Intel Xeon處理器的三級緩存包含在封包內并緊密結合到處理器上。

• Intel Hyper-Threading Technology.This extension to the Intel 64 and IA-32 architectures enables a single processorcore to execute two or more threads concurrently (see Section 8.5, “Intel Hyper-Threading Technology and Intel Multi-Core Technology”).

Intel 超線程技術。這一對Intel 64 IA-32架構的擴展,使得單個處理核心可以同時執行2個或更多的線程(見8.5,“Intel 超線程技術和Intel多核技術”)。

Thesemechanisms are particularly useful in symmetric-multiprocessing (SMP) systems.However, they can also be used when an Intel 64 or IA-32 processor and aspecial-purpose processor (such as a communications, graphics, or video processor)share the system bus. These multiprocessing mechanisms have the followingcharacteristics:

 這些機制對對稱多處理器(SMP)系統非常有用。然而,它也可以用於 Intel 64 或者IA-32 處理器和特殊用途的處理器(比如通信、圖形或者視頻處理器)共享系統總線的時候。這些多處理機制有以下特性:

• To maintain systemmemory coherency When two or more processors are attemptingsimultaneously to access the same address in system memory, some communicationmechanism or memory access protocol must be available to promote data coherencyand, in some instances, to allow one processor to temporarily lock a memorylocation.

 保持系統內存一致—— 2個或者多個處理器視圖同時訪問相同系統內存地址的時候,某些通信機制或者內存訪問協議需要保證資料一致,並且,在某些情況,允許一個處理器臨時鎖定內存地址。

• To maintain cache consistency When oneprocessor accesses data cached on another processor, it must not receiveincorrect data. If it modifies data, all other processors that access that datamust receive the modified data.

 保持緩存一致 —— 當一個處理器訪問另一個處理器的緩存資料的時候,它應該要得到正確的資料。如果它修改資料,所有訪問這段資料其他處理器需要得到修改後的資料。

• To allow predictable ordering of writes to memoryIn some circumstances, it is important that memory writes beobserved externally in precisely the same order as programmed.

 允許可預測循序寫內存——在某些情況,它非常重要。比如外部寫內存要精確的與編程順序一致。

• To distribute interrupt handling among a group ofprocessors — When several processors are operating in a system in parallel, itis useful to have a centralized mechanism for receiving interrupts anddistributing them to available processors for servicing.

 在一組處理器中分配中斷操作——當多個處理器在系統中並行運作,它被作為集中處理機制接收中斷并分配它們到可用處理器。

• To increase system performance by exploiting themulti-threaded and multi-process nature of contemporary operating systems andapplications. The caching mechanism and cache consistency of Intel 64 and IA-32processors are discussed in Chapter 11. The APIC architecture is described inChapter 10. Bus and memory locking, serializing instructions, memory ordering, andIntel Hyper-Threading Technology are discussed in the following sections.

 通過利用現代操作系統和應用的多線程和多處理器能力來提高系統性能 —— Intel64 IA-32 處理器的緩存和緩存一致性機制在第 11 章討論。 APIC 架構在第 10 章討論。總線和內存所,指令序列化,內存順序,和 Intel 超線程技術在後續章節介紹。
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/yfkill/article/details/45583219

智能推荐

Java创建对象的最佳方式:单例模式(Singleton)

单例模式是java中最简单的设计模式之一,属于创建式模式,提供了一种创建对象的最佳方式。具体而言,单例模式涉及到一个具体的类,这个类可以确保只有单个对象被创建。它包含一个访问其唯一对象的方法,供外部直接调用,而不需要创建这个类的示例。简而言之,可以不再new一个他的实例,而是直接调用方法。

基于STM32F103的增量式PI算法_通过pi控制算法得到的增量怎么转化为pwm的频率-程序员宅基地

文章浏览阅读2.7k次。增量式PI的程序百度一搜由算法可以看出,主要是误差参与运算,控制量可以理解为误差的累计和消除过程,比如第一次调节有误差1,第二次调节有误差2,误差2的出现说明第一次调节没有调整到给定值,控制量在第二次会改变,这样继续调节下去,调整到给定值时候,理论上是0了。比例积分系数和控制量的关系比例可认为是快速到达给定值积分可认为是消除稳态误差一般的系统,PI就够用了基本思路1初始化给定值,或是外部给予2实时采样被控对象3采样值与外部给予比较,并进行算法处理,得到控制量4由控_通过pi控制算法得到的增量怎么转化为pwm的频率

Ansible自动化运维工具主机清单配置

Ansible 提供了多种方式来定义和管理主机列表,除了默认的文件之外,您还可以使用自定义主机列表。这提供了更大的灵活性,允许您根据需要从不同来源获取主机信息。

堆栈的实现(C语言)_c语言堆栈-程序员宅基地

文章浏览阅读1.8k次,点赞6次,收藏36次。堆栈(stack)的基本概念堆栈是一种特殊的线性表,堆栈的数据元素及数据元素之间的逻辑关系和线性表完全相同,其差别是:线性表允许在任意位置插入和删除数据元素操作,而堆栈只允许在固定一端进行插入和删除数据元素操作。 堆栈中允许进行插入和删除数据元素操作的一端称为栈顶,另一端称为栈底。栈顶的当前位置是动态的,用于标记栈顶当前位置的变量称为栈顶指示器(或栈顶指针)。 堆栈的插入操作通常称为进栈或入栈,每次进栈的数据元素都放在原当前栈顶元素之前而成为新的栈顶元素。堆栈的删除操作通常称为出栈或退栈,每次出栈的_c语言堆栈

如何过滤敏感词免费文本敏感词检测接口API_违规关键词过滤api-程序员宅基地

文章浏览阅读1.6k次。敏感词过滤是随着互联网社区发展一起发展起来的一种阻止网络犯罪和网络暴力的技术手段,通过对可能存在犯罪或网络暴力可能的关键词进行有针对性的筛查和屏蔽,很多时候我们能够防患于未然,把后果严重的犯罪行为扼杀于萌芽之中。_违规关键词过滤api

ns3测吞吐量_ns3计算吞吐量-程序员宅基地

文章浏览阅读9.1k次,点赞2次,收藏42次。———————10月14日更—————————- 发现在goal-topo.cc中,由于Node#14被放在初始位置为0的地方,然后它会收到来自AP1和AP2的STA的OLSR消息(距离他们太近了吧)。 然而与goal-topo-trad.cc不同,goal-topo-trad.cc中Node#14可以在很远就跟自己的AP3通信,吞吐量比较稳定。而goal-topo.cc在开始的很长时间内并_ns3计算吞吐量

随便推点

ARFoundation系列讲解 - 39 AR看车六_arfoundation 关闭动画位移计算-程序员宅基地

文章浏览阅读1k次。十二、播放模型动画1.这里我们要做的是第一次点击中心按钮播放打开车门动画,第二次点击中心按钮关闭车门动画。2.新建一个脚本,命名为“AnimationManager.cs”。(代码如下)using System.Collections.Generic;using UnityEngine;/// <summary>动画管理</summary>public class AnimationManager : MonoBehaviour{ /// <s._arfoundation 关闭动画位移计算

Idea 运行spring项目 出现的bug_idea spring代理对象出bug-程序员宅基地

文章浏览阅读220次。Idea 运行spring项目 出现的bugbug 1错误信息:Cannot start compilation: the output path is not specified for module “02_primary”.Specify the output path in the Project Structure dialog.解决办法:..._idea spring代理对象出bug

JavaFx基础学习【四】:UI控件的通用属性_javafx教程-ui控件-程序员宅基地

文章浏览阅读1k次,点赞2次,收藏6次。Node,就是节点,在整体结构中,就是黄色那一块,红色也算个人理解,在实际中,Node可以说是我们的UI页面上的每一个节点了,比如按钮、标签之类的控件,而这些控件,大多都是有一些通用属性的,以下简单介绍一下。_javafx教程-ui控件

【嵌入式Linux】03-Ubuntu-文件系统结构_嵌入式linux使用ubuntu文件系统-程序员宅基地

文章浏览阅读136次。此笔记由个人整理塞上苍鹰_fly课程来自:正点原子_手把手教你学Linux一、文件系统结构g根目录:Linux下“/”就是根目录!所有的目录都是由根目录衍生出来的。/bin存放二进制可执行文件,这些命令在单用户模式下也能够使用。可以被root和一般的账号使用。/bootUbuntu内核和启动文件,比如vmlinuz-xxx。gurb引导装载程序。/dev设备驱动文件/etc存放一些系统配置文件,比如用户账号和密码文件,各种服务的起始地址。._嵌入式linux使用ubuntu文件系统

Win10黑屏卡死原因分析--罕见的内核pushlock死锁问题-程序员宅基地

文章浏览阅读2.1k次。此问题已向微软公司反馈,仅供学习参考这是微软内核的一个Bug.发生在内核函数 MmEnumerateAddressSpaceAndReferenceImages 和 MiCreateEnclave之间,如果时机不当会造成这两个函数之间死锁,而且还是一个pushlock死锁问题,十分罕见,这也是导致系统开机黑屏,系统突然卡死的元凶之一。Win10被骂了很久了,这次真的被我遇上了,系统无缘无故卡死_win10黑屏卡死原因分析--罕见的内核pushlock死锁问题

ie不支持java_巧用批处理解决IE不支持javascript等问题(转)-程序员宅基地

文章浏览阅读112次。巧用批处理解决IE不支持javascript等问题rem=====批处理开始========regsvr32actxprxy.dllregsvr32shdocvw.dllRegsvr32URLMON.DLLRegsvr32actxprxy.dllRegsvr32shdocvw.dllregsvr32oleaut32.dllrundll32.exeadvpack.dll/DelNo..._ie不支持javasript批处理