【正文】
C P UL o c a lm e m o r yC P U工 作 站 工 作 站 工 作 站網(wǎng) 絡(luò)27 網(wǎng)格( grid):二維平面 (n2個節(jié)點 )。分布式系統(tǒng)介紹 中國科技大學軟件學院 丁箐 2 分布式系統(tǒng)概念 分布式系統(tǒng)的特點 硬件概念 軟件概念 分布式系統(tǒng)設(shè)計問題 主要內(nèi)容 3 分布式系統(tǒng)概念 分布式系統(tǒng)的特點 硬件概念 軟件概念 分布式系統(tǒng)設(shè)計問題 主要內(nèi)容 4 What is a Distributed System? “一個分布式系統(tǒng)是若干個獨立的計算機的集合,但是對該系統(tǒng)的用戶來說,系統(tǒng)就像一臺計算機一樣。 ” 兩個方面的含義: ? 硬件方面:各個計算機都是自治的 ? 軟件方面:用戶將整個系統(tǒng)看作是一臺計算機 分布式系統(tǒng)概念 5 集中式系統(tǒng) 6 Sun ULTRA5 with 32GB disk 16 Units Eather Switch 100M Sun ULTRA10 32GB disk One unit NOW(Network of Workstations) 7 The Grid 8 分布式系統(tǒng)定義 一個分布式系統(tǒng)組織成中間件形式, 中間件層分布在多臺機器上。 超立方( hypercube): n維立方( 2n個節(jié)點) ( 4)交換型多計算機 網(wǎng) 格 超 立 方 體28 Intel 單核 CPU芯片 29 Intel多核結(jié)構(gòu) ? Replicate multiple processor cores on a single die. 30 多核處理器是一類特殊的多處理機 ? 所有處理器在同一個芯片上 ? 多核處理器是 MIMD: 不同的核執(zhí)行不同的指令,操作內(nèi)存的不同位置 ? 多核是一個共享內(nèi)存的多處理機:所有核共享同一個內(nèi)存 31 2 Processors vs. 2 Cores 2 Cores ? Two cores on same die connected directly ? Multiple threads and processes automatically processed in parallel ? Only a small increase in power consumption 2 Processors ? Two separate chips connected externally by a system bus ? Requires explicit software support ? Much greater power consumption 32 InterCore Bus Interface Pentium D with 975X Chipset Memory Controller Hub I/O Controller Hub DDR2 Memory PCI Express x16 6 PCI 4 Serial ATA Ports 6 PCI Express x1 HighDefinition Audio 2 PCI Express x8 or DMI (2 GB/s) 1066 / 800 MHz FSB Core 1 L2 Cache (for Core 1) Core 0 L2 Cache (for Core 0) 6 USB Intel Mat