多臺計算機共享內存_共享內存多處理器和指令執行| 計算機架構

多臺計算機共享內存

共享內存多處理器 (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.pswp.cn/news/376930.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/376930.shtml
英文地址,請注明出處:http://en.pswp.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…