您的位置:首页 > 理论基础

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

2020-08-04 05:59 966 查看

多台计算机共享内存

共享内存多处理器 (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具有相同的内存访问时间。

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.

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

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

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.

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

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

多台计算机共享内存

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐