第六+大规模数据处理编程模型摘要.ppt

第六大规模数据处理编程模型摘要

互联网应用飞速发展 搜索引擎 Google 百度 必应 … SNS网站 Facebook 人人网 Linkedin 开心网 …... 云计算应用的迅速开展 Google(GAE) Microsoft(Windows Azure) Amazon(EC2,S3) IBM(BlueCloud) Salesforce (CRM) 中国移动(BigCloud) …… 物联网未来应用无处不在 流通 环保 农业 工业 个人生活 …… 大规模数据的特点 V3 Volume(量大) Varity(种类多) Velocity(变化快,即数据新增速度快) 大规模数据存储和处理要求和方案 存储和管理 存储PB级的处理 存储多种多样的数据 支持分布式 处理 处理PB级的多种数据 低延迟读写速度 成本 较低的软硬件成本 较低的人力成本 Parallel computing Parallel computing is a form of computation in which many calculations are carried out simultaneously, operating on the principle that large problems can often be divided into smaller ones, which are then solved concurrently (in parallel). There are several different forms of parallel computing: bit-level, instruction level, data, and task parallelism. Parallel programming model A parallel programming model is a concept that enables the expression of parallel programs which can be compiled and executed. The value of a programming model is usually judged on its generality: how well a range of different problems can be expressed and how well they execute on a range of different architectures. The implementation of a programming model can take several forms such as libraries invoked from traditional sequential languages, language extensions, or complete new execution models. OpenMP概述 OpenMP应用编程接口API是在共享内存体系结构上的一个编程模型 包含编译制导(Compiler Directive)、运行库例程(Runtime Library)和环境变量(Environment Variables)等组件。 支持C/C++ 和Fortan等编程语言 已经被大多数计算机硬件和软件厂家所标准化 OpenMP的历史 1994年,第一个ANSI X3H5草案提出,被否决 1997年,OpenMP标准规范代替原先被否决的ANSI X3H5,被人们认可 1997年10月公布了与Fortran语言捆绑的第一个标准规范 FORTRAN version 1.0 1998年11月9日公布了支持C和C++的标准规范C/C++ version 1.0 2000年11月推出FORTRAN version 2.0 2002年3月推出C/C++ version 2.0 2005年5月OpenMP 2.5将原来的Fortran和C/C++ 标准规范相结合 相关的规范在/drupal/node/view/8 OpenMP程序结构 基于Fortran语言的OpenMP程序的结构 PROGRAM HELLO INTEGER VAR1, VAR2, VAR3 !Serial code … !Beginning of parallel section. Fork a team of threads. !Specify variable scoping !$OMP PARALLEL PRIVATE(VAR1, VAR2) SHARED(VAR3) !Para

文档评论(0)

1亿VIP精品文档

相关文档