多台计算机共享内存_共享内存多处理器和指令执行| 计算机架构

多台计算机共享内存

共享内存多处理器 (Shared Memory Multiprocessor)

There are three types of shared memory multiprocessor:

共有三种类型的共享内存多处理器:

  1. UMA (Uniform Memory Access)

    UMA(统一内存访问)

  2. NUMA (Non- uniform Memory Access)

    NUMA(非统一内存访问)

  3. COMA (Cache Only Memory)

    COMA(仅缓存内存)

1)UMA(统一内存访问) (1) UMA (Uniform Memory Access))

In this type of multiprocessor, all the processors share a unique centralized memory so, that each CPU has the same memory access time.

在这种类型的多处理器中,所有处理器共享唯一的集中式内存,以便每个CPU具有相同的内存访问时间。

UMA

2)NUMA(非统一内存访问) (2) NUMA (Non- uniform Memory Access))

In the NUMA multiprocessor model, the access time varies with the location of the memory word. Here the shared memory is physically distributed among all the processors called local memories.

NUMA多处理器模型中 ,访问时间随存储字的位置而变化。 在这里,共享内存在物理上分布在所有称为本地内存的处理器之间。

So, we can call this as a distributed shared memory processor.

因此,我们可以称其为分布式共享内存处理器。

NUMA

3)COMA(仅缓存内存) (3) COMA (Cache Only Memory))

The COMA model is a special case of a non-uniform memory access model; here all the distributed local memories are converted into cache memories. Data can migrate and can be replicated in various memories but cannot be permanently or temporarily stored.

COMA模型是非均匀内存访问模型的特例; 在这里,所有分布式本地内存都转换为高速缓存。 数据可以迁移并可以在各种内存中复制,但是不能永久或临时存储。

COMA

We have discussed different types of shared-memory multiprocessors. Now we are moving forward to take a short overview of instruction execution.

我们讨论了不同类型的共享内存多处理器 。 现在,我们将对指令执行进行简要概述。

指令执行 (Instruction Execution)

Now, first of all, what is an instruction, any command that we pass to a computer or system to perform is known as an instruction. A typical instruction consists of a sequence of operations that are fetched, decode, operand fetches, execute and write back. These phases are ideal for overlap execution on a pipeline.

现在,首先,什么是指令,我们传递给计算机或系统要执行的任何命令都称为指令。 典型的指令由一系列的操作组成,这些操作被提取,解码,取操作数,执行和回写。 这些阶段非常适合在管道上执行重叠。

Shared memory

There are two ways of executing an instruction in a pipeline system and a non-pipeline system.

在管道系统和非管道系统中有两种执行指令的方式。

In a non-pipeline system single hardware component which can take only one task at a time from its input and produce the result at the output.

在非管道系统中,单个硬件组件一次只能从其输入执行一项任务,并在输出端产生结果。

On the other hand in case of a pipeline system single hardware component we can split the hardware resources into small components or segments.

另一方面,在流水线系统中,只有一个硬件组件,我们可以将硬件资源拆分为较小的组件或段。

Disadvantages of non-pipeline

非管道的缺点

  • We process only one input at a single time.

    我们一次只能处理一个输入。

  • Production of partial or segmented output is not possible in the case of the non-pipeline system.

    在非管道系统中,无法产生部分或分段输出。

When you will read in deep about pipeline system you will discover pipeline are linear and non-linear also and further linear pipelines are also classified into synchronous and asynchronous.

当您深入了解管道系统时,您会发现管道也是线性和非线性的,进一步的线性管道也分为同步和异步。

As this article was only about the introduction of instruction execution so, we will get further inside the pipeline system.

由于本文仅是关于指令执行的介绍,因此,我们将深入了解流水线系统。

Conclusion:

结论:

In the above article we have discussed the shared memory multiprocessor and introduction instruction execution, I hope you all have gathered the concepts strongly. For further queries, you shoot your questions in the comment section below.

在以上文章中,我们讨论了共享内存多处理器和入门指令的执行 ,希望大家都认真收集了这些概念。 如有其他疑问,请在下面的评论部分中提出问题。

翻译自: https://www.includehelp.com/basics/shared-memory-multiprocessor-and-instruction-execution-computer-architecture.aspx

多台计算机共享内存

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/376930.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

htop与atop

htop htop使用详解–史上最强 atop Linux atop监控工具部署

js未看的文章

Web前端研发工程师编程能力飞升之路 在浏览器的背后(一) —— HTML语言的词法解析 组件化的前端开发流程 用js书写UI组件之js基础知识 GC与JS内存泄漏 蓝色理想之前端开发 w3c JavaScript Puzzlers react AngularJS入门教程 jQuery源码分析-如何做jQuery…

方法重写,隐藏在子类父类中的各种调用实践

一.子类和父类方法之间的关系 1.当子类和父类有方法完全相同的方法 namespace ConsoleApplication2 {class Program{static void Main(string[] args){B b new B();A a new A();A c new B();b.Show();a.Show();c.Show();Console.Read();}}public class A{public void Show()…

向量余弦值python_向量/矩阵的余弦值打印(元素明智的操作) 使用Python的线性代数

向量余弦值pythonPrerequisite: 先决条件: Defining a Vector 定义向量 Defining a Matrix 定义矩阵 Numpy is the library of function that helps to construct or manipulate matrices and vectors. The function numpy.cos(x) is a function used for generati…

centos 6.5网卡dhcp不能获得网关

环境:vmware centos6.5 添加两个虚拟网卡。一个自动获取ip(用于上网-桥接) 一个手动(与主机通信用于ssh-NAT)。 因为自已手动改了一下ifcfg-eth0里面的HWADDR地址。造成 eth0网卡不能识别。多出一个eth2的网卡。 配置eth2网卡,可以自动获取到ip地址 但用netstat -r…

CPU上下文切换(系统调用、进程上下文、线程上下文、中断上下文)

CPU寄存器,与程序计数器(存储CPU正在执行的指令位置,或者即将执行的下一条指令的位置)共同组成CPU上下文。 CPU上下文切换指的是:把前一个任务的CPU上下文保存起来,然后加载新任务的上下文到这些寄存器和程…

(解决)从同事那里取来的工程不能编译运行,出现以下错误,求帮助

错误 6 未能从程序集 C:\Program Files (x86)\MSBuild\Microsoft\Silverlight for Phone\v4.0\Microsoft.Phone.Build.Tasks.dll 加载任务“Microsoft.Phone.Build.Tasks.ValidateWMAppManifest”。 Could not load file or assembly Microsoft.Build.Utilities, Version2.0.0…

编程 小数位数_使用动态编程的n位数的非递减总数

编程 小数位数Problem statement: 问题陈述: Given the number of digits n, find the count of total non-decreasing numbers with n digits. 给定位数n ,找到具有n位数字的非递减总数。 A number is non-decreasing if every digit (except the fir…

vmstat、sysbench、/proc/interrupts,性能压测

如何查看系统的上下文切换情况 vmstat 是一个常用的系统性能分析工具,主要用来分析系统的内存使用情况,也常用来分析 CPU 上下文切换和中断的次数。 # 每隔 5 秒输出 1 组数据 vmstat 5procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----r …

sql查询中自动统计某项数量

select * from dbo.Vehicle_Maintain_Details A inner join ( select MaintainType as tempTypeName,count(ID) as num from dbo.Vehicle_Maintain_Details group by MaintainType) B on A.MaintainTypeB.tempTypeName转载于:https://www.cnblogs.com/ryan-wan/archive/2013/0…

一个简易无锁池

一个简易 无锁池 1.所有读写无等待,不需要判断条件直接读写(除自动扩充容量时),效率是一般带锁或带条件判断池的两倍以上。 2.预先开辟2的幂大小容量,可自增,每次翻倍 3.仅提供思路,工程应用可靠性还不确定…

在给定约束下可以使用a,b和c形成的字符串数

Problem statement: 问题陈述: Given a length n, count the number of strings of length n that can be made using a, b and c with at-most one b and two cs allowed. 给定长度n ,计算可以使用a , b和c且长度最多为b和两个c的长度为n的…

Robotlegs轻量级AS3框架

Robotlegs是一个用来开发Flash,Flex和AIR应用的纯AS3微架构(框架)。Robotlegs专注于将应用程序各层排布在一起并提供它们相互通讯的机制。Robotlegs试图通过提供一种解决常见开发问题的经过时间检验的架构解决方案来加速开发。Robotlegs无意锁定你到框架&#xff0c…

Python | 字符串isdecimal(),isdigit(),isnumeric()和Methods之间的区别

The methods isdigit(), isnumeric() and isdecimal() are in-built methods of String in python programming language, which are worked with strings as Unicode objects. These functions return either true or false. 方法isdigit() , isnumeric()和isdecim…

mssql2000 数据库一致性错误修复

一般情况下,引起分配错误的原因是磁盘损坏或突然停电;一致性错误可能是数据库中的表或索引坏,一般都可修复。1、查看红色字体,并把有错误的数据库表名记录下来,或把索引损坏的表名记录下来。2、把数据库设置为单用户模…

Linux系统上的程序调优思路概要

目录文件系统Linux内核应用程序架构设计性能监控性能测试CPU内存网络磁盘IO文件系统 Linux内核 应用程序 架构设计 性能监控 性能测试 CPU 内存 网络 磁盘IO

bzoj1699[Usaco2007 Jan]Balanced Lineup排队

Description 每天,农夫 John 的N(1 < N < 50,000)头牛总是按同一序列排队. 有一天, John 决定让一些牛们玩一场飞盘比赛. 他准备找一群在对列中为置连续的牛来进行比赛. 但是为了避免水平悬殊,牛的身高不应该相差太大. John 准备了Q (1 < Q < 180,000) 个可能的牛的…

mcq 队列_基于人工智能的智能体能力倾向问答(MCQ) 套装1

mcq 队列1) Which of the following are the main tasks of an AI agent? Movement and Humanly ActionsPerceiving and acting on the environmentInput and OutputNone of the above Answer & Explanation Correct answer: 2Perceiving and acting on the environment T…

CentOS 服务器搭建及排查注意事项

时间 时区&#xff1a; /usr/sbin/ntpdate cn.pool.ntp.org && /sbin/hwclock yum install ntp -y /usr/sbin/ntpdate cn.pool.ntp.org && /sbin/hwclock 检查 /etc/php.ini cgi.fix_pathinfo0检查磁盘是否满了 df -h 如果PHP 无法种cookie&#xff0c;检查 P…