并行计算机架构_计算机科学组织| 并行处理

并行计算机架构

并行处理 (Parallel Processing)

Parallel processing is processing of the data concurrently. We process the data concurrently to fulfill the demands of the increasingly high performance so that to achieve better throughput instead of processing each instruction sequentially as in a conventional computer.

并行处理是同时处理数据。 我们同时处理数据以满足日益增长的高性能的需求,从而实现更好的吞吐量,而不是像传统计算机那样顺序处理每个指令。

We can achieve parallelism in two ways:

我们可以通过两种方式实现并行性:

1)多功能单元 (1) Multiple functional units)

These systems have two or more ALUs so two or more instruction can be executed at the same time.

这些系统具有两个或多个ALU,因此可以同时执行两个或多个指令。

2)多个处理器 (2) Multiple processors)

These systems have two or more processors operating concurrently.

这些系统具有两个或多个同时运行的处理器。

The earlier processors had only one arithmetic and logic unit in its CPU. Furthermore, the ALU could only perform one function at a time, so that the process for executing a long sequence of arithmetic and logic instruction is quite slow. But nowadays the processors are available with multiple functional units, these multiple functional units used to execute the function of ALU which can be distributed and operate in parallel so that the speed of the processor's increases.

较早的处理器在其CPU中只有一个算术和逻辑单元。 此外,ALU一次只能执行一个功能,因此执行较长的算术和逻辑指令序列的过程非常缓慢。 但是如今,处理器具有多个功能单元,这些多个功能单元用于执行ALU的功能,这些功能单元可以分布并并行运行,从而提高了处理器的速度。

Micheal J.Flynn made an informal and widely used classification of parallelism processor in 1966, which is based on the number of simultaneous instruction and data streams seen by the processor during program execution.

Micheal J.Flynn在1966年对并行处理器进行了非正式且广泛使用的分类,该分类基于处理器在程序执行期间看到的同时指令和数据流的数量。

并行处理的分类 (Classifications of Parallel processing)

The classification divides computers into four major groups:

分类将计算机分为四个主要组:

  1. Single instruction stream - single data stream

    单指令流-单数据流

  2. Single instruction stream - multiple data streams

    单指令流-多个数据流

  3. Multiple instruction streams - single data stream

    多个指令流-单个数据流

  4. Multiple instruction streams - multiple data streams

    多个指令流-多个数据流

1)单个数据流-单个数据流(SISD) (1) Single data stream - single data stream (SISD))

Most conventional machines with one CPU containing a single arithmetic-logic unit capable of only scalar arithmetic fall into this category. They may have more than one functional unit, but all functional units are controlled by a single control unit.

具有一个CPU且仅包含一个仅能进行标量算术的单个算术逻辑单元的大多数传统机器就属于此类。 它们可能具有多个功能单元,但是所有功能单元都由一个控制单元控制。

SISD

2)单指令流–多个数据流(SIMD) (2) Single instruction stream – multiple data stream (SIMD))

SIMD has multiple processing units and one control unit. They correspond to array processors. In SIMD, all the processing elements received the same instruction from the control unit but operate on different data sets from distinct data streams.

SIMD具有多个处理单元和一个控制单元。 它们对应于阵列处理器。 在SIMD中,所有处理元件都从控制单元接收到相同的指令,但是对来自不同数据流的不同数据集进行操作。

SIMD

3)多指令流单数据流(MISD) (3) Multiple instruction stream single data stream (MISD))

In MISD, there are n processor units each receiving distinct instruction operating over the same data stream and its derivatives. This means one processor becomes the input of the next processor.

在MISD中,有n个处理器单元,每个处理器单元都接收对同一数据流及其派生的不同指令。 这意味着一个处理器成为下一处理器的输入。

MISD

4)多指令流多数据流(MIMD) (4) Multiple instruction stream multiple data stream (MIMD))

In MIMD, there is more than one processor unit having the ability to execute several programs simultaneously. This category involves most of the multiprocessors system and multiple computers systems.

在MIMD中,有不止一个处理器单元能够同时执行多个程序。 此类别涉及大多数多处理器系统和多计算机系统。

MIMD

翻译自: https://www.includehelp.com/cso/parallel-processing.aspx

并行计算机架构

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

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

相关文章

15个必知的Mysql索引失效场景,别再踩坑了!

背景 无论你是技术大佬,还是刚入行的小白,时不时都会踩到Mysql数据库不走索引的坑。常见的现象就是:明明在字段上添加了索引,但却并未生效。前些天就遇到一个稍微特殊的场景,同一条SQL语句,在某些参数下生效…

网站高可用数据

网站高可用数据1、CAP原理:数据一致性,数据可用性,分区耐受性,无法同时满足2、数据备份a、冷备份b、热备份1、同步热备份2、异步热备份3、失效转移a、失效确认b、访问转移c、数据恢复转载于:https://blog.51cto.com/hanchengen/17…

运维工程师常见软件故障_软件故障 软件工程师

运维工程师常见软件故障软件故障 (Software Failure) A failure that shows up when the user recognizes that the software has come to bring to an end to deliver the anticipated result with respect to the specification input values. The user may need to identify…

干掉 Swagger UI,这款神器更好用、更高效!

事情是这样的:今天我们公司的后端说他接口写完了,并分享了一个接口文档给我。用的就是 Swagger UI 自动生成的那种接口文档,就像这种:这种 Swagger UI文档我每次看着就头大,毛病多多查看多级模型时要一级级点开在接口数…

Android UI ActionBar功能-ActionBarProvider的使用

分享功能是很多App都有一个功能,ActionBarProvider可以实现分享功能: 3.0以前的版 本和3.0以后的版 本的区别: public class MainActivity extends Activity {private ShareActionProvider provider;Overrideprotected void onCreate(Bundle …

ruby 类方法与实例方法_Ruby Set相交? 实例方法

ruby 类方法与实例方法Ruby Set相交? 方法 (Ruby Set intersect? Method) intersect?(Set) method is a method which is predefined in Rubys library. You may call this method as an exact opposite of Set.disjoint?() method. With the help of this metho…

面渣逆袭:MyBatis连环20问,这谁顶得住?

大家好,今天我们的主角是MyBatis,作为当前国内最流行的ORM框架,是我们这些crud选手最趁手的工具,赶紧来看看面试都会问哪些问题吧。基础1.说说什么是MyBatis?MyBatis logo先吹一下:Mybatis 是一个半 ORM(对…

Wi-Fi 协议和数率?

IEEE 802.11Wi-Fi 协议摘要 协议 频率 信号 最大数据速率 传统 802.11 2.4GHz FHSS 或 DSSS 2Mbps 802.11A 5GHz OFDM 54Mbps 802.11B 2.4GHz 人力资源DSSS 11Mbps 802.11G 2.4GHz OFDM 54Mbps 802.11n 2.4 或 5GHz OFDM 600Mbps(理论值) 802.11AC 5…

as_hash ruby_Ruby中带有示例的Hash.keep_if方法

as_hash rubyHash.keep_if方法 (Hash.keep_if Method) In this article, we will study about Hash.keep_if Method. The working of this method can be predicted with the help of its name but it is not as simple as it seems. Well, we will understand this method wit…

高并发下如何防重?

前言最近测试给我提了一个bug,说我之前提供的一个批量复制商品的接口,产生了重复的商品数据。追查原因之后发现,这个事情没想象中简单,可以说一波多折。1. 需求产品有个需求:用户选择一些品牌,点击确定按钮…

Virtualbox中win7虚拟机中U盘不可用问题的解决

Virtualbox版本是5.0.0,主机运行多是Ubuntu12.04 LTS,虚拟机是Win7 X64。起初Win7正常运行,Virtualbox的增强功能已安装。下面是如何一步一步解决U盘不可用的详细过程。 1. 直接插入U盘,Win7下无任何反映 Virtualbox管理器中&…

面试突击55:delete、drop、truncate有什么区别?

作者 | 磊哥来源 | Java面试真题解析(ID:aimianshi666)转载请联系授权(微信ID:GG_Stone)在 MySQL 中,删除的方法总共有 3 种:delete、truncate、drop,而三者的用法和使用…

python中八进制_在Python中以八进制格式输入数字

python中八进制Syntax to convert octal value to an integer (decimal format), 将八进制值转换为整数(十进制格式)的语法, int(oct_value, 8)Here, 这里, oct_value should contain the valid octal value oct_value应该包含有效的八进制值 8 is the…

Ruby file操作cheatsheet

每次都要查,真是蛋疼,不如一次性总结一下,以后再不记得就来这里找好了。以下代码中需要用到的文件名:filename ‘testfile.txt’ 读取其中的全部内容:File.read(filename)将一个字符串一次性写入这个文件:…

大厂也在用的 6种 数据脱敏方案,别做泄密内鬼

最近连着几天晚上在家总是接到一些奇奇怪怪的电话,“哥,你是 xxx 吧,我们这里是 xxx 高端男士私人会所...”,握草,我先是一愣,然后狠狠的骂了回去。一脸傲娇的转过头,面带微笑稍显谄媚&#xff…

在Python中使用OpenCV裁剪图像

What is Cropping? 什么是播种? Cropping is the removal of unwanted outer areas from a photographic or illustrated image. The process usually consists of the removal of some of the peripheral areas of an image to remove extraneous trash from the…

面渣逆袭:RocketMQ二十三问

1.为什么要使用消息队列呢?消息队列主要有三大用途,我们拿一个电商系统的下单举例:解耦:引入消息队列之前,下单完成之后,需要订单服务去调用库存服务减库存,调用营销服务加营销数据……引入消息…

vue项目打包体积大优化之-productionSourceMap设置

一、productionSourceMap 的作用 productionSourceMap 在构建时生成完整的 SourceMap 文件,默认情况下开启。生产环境中启用 productionSourceMap 有助于开发者调试代码,可以在浏览器的调试工具中查看到源文件中错误的代码位置,而不是编译后…

Java日志性能那些事(转)

在任何系统中,日志都是非常重要的组成部分,它是反映系统运行情况的重要依据,也是排查问题时的必要线索。绝大多数人都认可日志的重要性,但是又有多少人仔细想过该怎么打日志,日志对性能的影响究竟有多大呢?…

如何在Java中使ArrayList只读?

使ArrayList只读 (Making ArrayList Read-Only) Given an ArrayList, and we have to make it Read-Only in Java. 给定一个ArrayList,我们必须使其成为Java只读。 Read-Only: If we make ArrayList as Read-Only i.e. we can only read ArrayList and we cannot p…