بهار
|
|
- Evelyn Singleton
- 6 years ago
- Views:
Transcription
1 3--03 جلسه ي بيست و سوم دانشگاه شهيد بهشتي دانشكدهي مهندسي برق و كامپيوتر بهار 392 احمد محمودي ازناوه
2 فهرست مطالب مروري بر جلسهي پيش مثال حافظهي نهان چند سطحي حافظهي مجازي
3 مروري بر جلسهي پيش حافظه ها ي نهان اشتراكي (Block address) modulo (#Blocks in cache) كامپيوتر معماري (Block address) modulo (# Sets in cache) Set Associative 2
4 Four-Way Set Associative Cache Index V Tag Tag Data V Tag Byte offset 22 Data Index V Tag Data Way 0 Way Way 2 Way 3 8 V Tag Data مروري بر جلسهي پيش 32 كامپيوتر معماري Hit 4x select Data Mary Jane Irwin ( ) 3
5 n- طيف اشتراك تمام شيوههاي جايدهي را به نوعي ميتوان way set associative دانست. مروري بر جلسهي پيش مهمترين برتري شيوههاي اشتراكي اکهش miss-rate و بزرگترين مشلک آن افزايش مشلک آن افزايش hit-time است كامپيوتر معماري 4
6 Tag مروري بر جلسهي پيش طيف اشتراك (ادامه...) انتخاب مجموعه براي مقايسه Index انتخاب بلوك Block offset Byte offset با افزايش اشتراك با اکهش اشتراك اشتراكي اکمل ن شت مستقيم Mary Jane Irwin ( ) 5
7 مثال- نگاشت مستقيم miss miss 2 miss 3 miss 00 Mem(0) 00 Mem(0) 00 Mem() 00 Mem(0) 00 Mem() 00 Mem(2) 00 Mem(0) 00 Mem() 00 Mem(2) 00 Mem(3) 0 4 miss 3 hit 4 hit 5 miss 4 00 Mem(0) 0 Mem(4) 0 Mem(4) 0 Mem(4) 00 Mem() 00 Mem() 00 Mem() 00 Mem() 00 Mem(2) 00 Mem(2) 00 Mem(2) 00 Mem(2) 00 Mem(3) 00 Mem(3) 00 Mem(3) 00 Mem(3) 5 6
8 مثال يك حافظه ي نهان با شرايط زير مفروض است: 4K blocks, 4-word block size, 32 bit address تعداد مجموعهها و طول برچسب را براي حالات زير حساب كنيد ن شت مستقيم نگاشت مستقيم حافظه ي نهان اشتراكي دوبلوكي حافظه ي نهان اشتراكي چهار بلوكي و حافظه ي اشتراكي كامل به دست آوريد. براي آدرس شاخص و برچسب 6(=2 4 ) byte per block log2(4k)=2 32-4=28 تعداد بلوكها در ن شت مستقيم طول شاخص را مشخص ميكنند 28-2=6 كامپيوتر تعداد بيتهاي برچسب معماري 7
9 (ادامه...) مثال با افزايش درجهي اشتراك تعداد بيتهاي شاخص اکهش يافته و بيتهاي برچسب افزايش خواهد يافت. بنابراين براي اشتراك با دو بلوك 2K مجموعه خواهيم داشت. 28-log2(2K)=7 2-way associative 28-log2(K)=8 28 fully associative 4-way associative كامپيوتر معماري 8
10 مثال real user sys real user sys 0m0.688s 0m0.58s 0m0.068s 0m5.730s 0m5.668s 0m0.052s A B C اراي ه ي آقاي سعيد نجاتي 9
11 Multilevel Caches حافظه ي نهان چند سطحي حافظههاي نهان متصل به پردازنده ها كوچك اما بسيار سريع هستند. حافظه ي نهان سطح (levlel 2 cache) در صورتي كه در حافظهي نهان سطح داده موجود نباشد اين سطح پاسخگو خواهد بود. بزرگتر اما كندتر هستند ولي در هر حال از حافظهي اصلي سريعتر هستند. 2 حافظهي اصلي پاسخگوي نبود داده در حافظهي نهان سطح 2 ميباشد. كامپيوتر معماري 0
12 مثال سيستمي با مشخصات زير مفروض است: CPU base CPI =, clock rate = 4GHz Miss rate/instruction = 2% Main memory access time = 00ns در صورتي كه از يك سطح حافظه ي نهان استفاده كنيم: Miss penalty = 00ns/0.25ns = 400 cycles كامپيوتر معماري Effective CPI = = 9
13 L2 cache (ادامه...) مثال با افزودن يك سطح ديگر حافظه ي نهان با مشخصات زير: Access time = 5ns Global miss rate to main memory = 0.5% Penalty = 5ns/0.25ns = 20 cycles CPI = = 3.4 Performance ratio = 9/3.4 = 2.6 Total CPI= Base CPI+ Primary stalls per instruction + كامپيوتر Secondary stalls per instruction معماري 2
14 حافظه ي نهان چند سطحي حافظهي نهان سطح تمركز بر روي hit time حافظهي سطح 2 تمركز بر روي كاهش miss rate است كامپيوتر معماري 3
15 حافظه ي نهان در دو پردازنده ي واقعي Intel P4 AMD Opteron L organization Split I$ and D$ Split I$ and D$ L cache size 8KB for D$, 96KB for trace cache (~I$) L block size 64 bytes 64 bytes 64KB for each of I$ and D$ L associativity 4-way set assoc. 2-way set assoc. L replacement ~ LRU LRU L write policy write-through write-back L2 organization Unified Unified L2 cache size 52KB 024KB (MB) L2 block size 28 bytes 64 bytes L2 associativity 8-way set assoc. 6-way set assoc. L2 replacement ~LRU ~LRU L2 write policy write-back write-back Mary Jane Irwin ( ) 4
16 حافظه ي نهان در دو پردازنده ي واقعي 2 L cache organization & size L associativity Intel Nehalem Split I$ and D$; 32KB for each per core; 64B blocks 4-way (I), 8-way (D) set assoc.; ~LRU replacement AMD Barcelona Split I$ and D$; 64KB for each per core; 64B blocks 2-way set assoc.; LRU replacement L write policy write-back, write-allocate write-back, write-allocate L2 cache organization & size Unified; 256MB (0.25MB) per core; 64B blocks Unified; 52KB (0.5MB) per core; 64B blocks L2 associativity 8-way set assoc.; ~LRU 6-way set assoc.; ~LRU L2 write policy write-back write-back L2 write policy write-back, write-allocate write-back, write-allocate L3 cache organization & size Unified; 892KB (8MB) shared by cores; 64B blocks Unified; 2048KB (2MB) shared by cores; 64B blocks L3 associativity 6-way set assoc. 32-way set assoc.; evict block shared by fewest cores L3 write policy write-back, write-allocate write-back; write-allocate Mary Jane Irwin ( ) 5
17 كنترل حافظه ي نهان يك حافظه ي نهان با مشخصات زير مفروض است: Write back اندازهي بلوكها چهار كلمه اندازهي حافظهي نهان 6KB نگاشت مستقيم پردازنده -bit Read/Write 32-bit address 32-bit data 32-bit data -bit Ready حافظه نهان & كنترل كننده ي حافظه ي نهان -bit Read/Write 32-bit address 28-bit data 28-bit data -bit Ready 6 حافظهي اصلي Mary Jane Irwin ( )
18 نمودار حالت كنترل حافظه ي نهان Idle Cache Hit Mark Cache Ready Valid CPU request Compare Tag If Valid && Hit Set Valid, Set Tag, If Write set Dirty Allocate Read new block from memory Memory Not Ready Memory Ready Cache Miss Old block is clean Cache Miss Old block is Dirty Write Back Write old block to memory Memory Not Ready Mary Jane Irwin ( ) 7
19 حافظه ي نهان در پردازنده هاي چند هسته اي Read X Read X Core Core 2 Write to X L I$ L D$ X = 0 L I$ L D$ X = 0 X = 0 Unified (shared) L2 cache coherence problem Mary Jane Irwin ( ) 8
20 ساختار كلي يك كامپيوتر Processor Devices Control Memory Input Datapath Output Secondary Memory (Disk) Main Memory Cache Mary Jane Irwin ( ) 9
21 سلسله مراتب در حافظه ي اصلي ثبات ها و حافظه ي نهان كامپايلر يا برنامهنويس حافظهي نهان و حافظهي اصلي كنترلكنندهي حافظهي نهان حافظه ي اصلي و حافظه ي ثانويه 20
22 Virtual Memory حافظه ي مجازي حافظه ي اصلي نقشي مانند حافظه ي نهان را براي حافظه ي اصلي ايفا مي كند. مديريت آن به صورت مشترك توسط پردازنده و سيستمعامل صورت ميپذيرد. با كمك آن مي توان به گونه اي كارا و امن حافظه را بين چندين برنامه به اشتراك گذاشت. مي توان به كمك آن برنامه هايي را اجرا كرد كه داراي حجمي بيش از حجم حافظه ي فيزيكي هستند. بارگذاري برنامه در حافظه با سهولت بيش تري صورت مي گيرد. كامپيوتر معماري 2
23 حافظه ي مجازي در واقع به هر برنامه در زمان كامپايل فضايي اختصاص داده مي شود. در هنگام اجراي برنامه آدرس مجازي به آدري Program فيزيكي ترجمه ميشود. virtual address space main memory Program 2 virtual address space 22
24 ترجمه ي آدرس Virtual Address (VA) ترجمه ي آدرس با همكاري پردازنده و سيستم عامل صورت مي پذيرد. در صورتي كه داده در حافظهي اصلي نباشد fault» «page رخ ميدهد Virtual page number Page offset Translation Physical page number Page offset Physical Address (PA) 23
25 Virtual page # ترجمه ي آدرس (ادامه...) Offset Physical page # Page table register Physical page V base addr Offset Main memory Page Table (in main memory) Disk storage 24
26 ترجمه ي آدرس (ادامه...) CPU VA PA miss Translation Cache data hit Main Memory با اين حساب عمل دستيابي به حافظه نهان خيلي زمان بر خواهد شد! با كمك سخت افزار و در نظر گرفتن يك ميان گير اين مشكل برطرف مي شود. Translation Lookaside Buffer 25
27 ترجمه ي آدرس (ادامه...) Page table register Virtual page # V V 0 Physical page base addr Tag TLB Physical page base addr Main memory Page Table (in physical memory) Disk storage 26
گروه ا موزشي فرزان. ا موزش. Forefront TMG 2010
نمونه ايي از كتاب الكترونيكي ا موزش Forefront TMG 2010 1 IAG UAG TMG مقايسه و قابليتهاي بين ا نها 2 سرويس TMG در دو نسخه Standard و Enterprise قابل نصب مي باشد كه مي توانيد سناريوهاي قابل پياده سازي توسط
More informationImproving Cache Performance
Improving Cache Performance Computer Organization Architectures for Embedded Computing Tuesday 28 October 14 Many slides adapted from: Computer Organization and Design, Patterson & Hennessy 4th Edition,
More informationDr. Ebadati University of Economic Science
Advanced Management Information System Dr. Ebadati University of Economic Science پايگاه داده و نحوه طراحي ا ن The Traditional Approach Versus the Database Approach Traditional approach: separate data
More informationBeginning Ajax. Asynchronous JavaScript and XML. توسط Jeese James Garrett. Ajax. Kaveh Ahmadi Beginning Ajax 2
Beginning Ajax سيد كاوه احمدي Ajax Asynchronous JavaScript and XML توسط Jeese James Garrett معرفي شده است. Ajax يك تكنولوژي جديد نيست. بلكه يك اصطلاح است كه به تركيب چهار تكنولوژي مختلف با يكديگر اشاره
More informationECE7995 (6) Improving Cache Performance. [Adapted from Mary Jane Irwin s slides (PSU)]
ECE7995 (6) Improving Cache Performance [Adapted from Mary Jane Irwin s slides (PSU)] Measuring Cache Performance Assuming cache hit costs are included as part of the normal CPU execution cycle, then CPU
More informationIntroduction to Computer Science and Programming
Introduction to Computer Science and Programming 2 nd Ed. Fall 2012 Instructor: A. Jafari ajafari.uni@gmail.com Lecture 1: Introduction Dept. of Materials and Metallurgical Engineering, IUST, Fall 2012
More informationVisual Basic.NET Sub Programs
1 Visual Basic.NET 2 پروگرامهاي فرعي بسياري پروگرامهاي کمپيوتر داراي دستورهاي زياد بوده و تجارب نشان داده است که بهتر است اين پروگرامها به بخش هاي خورد و قابل اداره تبديل شود. در ويژول بسيک دات نت اين
More informationتلفن: دورنگار: تلفن: و دورنگار نمايند.
استاندارد مهارت و آموزشي تكنسين شبكه هاي كامپيوتري بيسيم گروه برنامه ريزي درسي فناوري اطلاعات تاريخ شروع اعتبار: // كد استاندارد: 0-/// از كليه صاحب نظران تقاضا دارد پيشنهادات و نظرات خود را درباره اين
More information5DV118 Computer Organization and Architecture Umeå University Department of Computing Science Stephen J. Hegner
5DV8 Computer Organization and Architecture Umeå University Department of Computing Science Stephen J. Hegner Topic 5: The Memory Hierarchy Part B: Address Translation These slides are mostly taken verbatim,
More informationپروتكلهاي احرازاصالت. Authentication protocols
پروتكلهاي احرازاصالت Authentication protocols فهرست مطالب مقدمه احرازاصالت ضعيف) كلمات عبور( احرازاصالت قوي پروتكل كربروس )مبتني بر سؤال و جواب( مقدمه مقدمه Basis for Authentication Something you know
More informationImproving Cache Performance
Improving Cache Performance Tuesday 27 October 15 Many slides adapted from: and Design, Patterson & Hennessy 5th Edition, 2014, MK and from Prof. Mary Jane Irwin, PSU Summary Previous Class Memory hierarchy
More informationECE232: Hardware Organization and Design
ECE232: Hardware Organization and Design Lecture 28: More Virtual Memory Adapted from Computer Organization and Design, Patterson & Hennessy, UCB Overview Virtual memory used to protect applications from
More informationاساس ه. Fortran 90 Programming Examples Including Fortran 90 CD. Omid Alizadeh CCGroup 1/1/2009
اساس ه 90 Fortran 90 Programming Examples Including Fortran 90 CD Omid Alizadeh CCGroup 1/1/2009 ي م فرترن برنامه فرترن 95 شامل فرترن 90 و فرترن 77 باشد. فرترن 90 نيز استانداردها و امكانات فرترن 77 را
More information1. Creates the illusion of an address space much larger than the physical memory
Virtual memory Main Memory Disk I P D L1 L2 M Goals Physical address space Virtual address space 1. Creates the illusion of an address space much larger than the physical memory 2. Make provisions for
More informationThe Memory Hierarchy. Cache, Main Memory, and Virtual Memory (Part 2)
The Memory Hierarchy Cache, Main Memory, and Virtual Memory (Part 2) Lecture for CPSC 5155 Edward Bosworth, Ph.D. Computer Science Department Columbus State University Cache Line Replacement The cache
More informationCSF Improving Cache Performance. [Adapted from Computer Organization and Design, Patterson & Hennessy, 2005]
CSF Improving Cache Performance [Adapted from Computer Organization and Design, Patterson & Hennessy, 2005] Review: The Memory Hierarchy Take advantage of the principle of locality to present the user
More informationChapter 5. Large and Fast: Exploiting Memory Hierarchy
Chapter 5 Large and Fast: Exploiting Memory Hierarchy Memory Technology Static RAM (SRAM) 0.5ns 2.5ns, $2000 $5000 per GB Dynamic RAM (DRAM) 50ns 70ns, $20 $75 per GB Magnetic disk 5ms 20ms, $0.20 $2 per
More informationChapter 5. Large and Fast: Exploiting Memory Hierarchy
Chapter 5 Large and Fast: Exploiting Memory Hierarchy Processor-Memory Performance Gap 10000 µproc 55%/year (2X/1.5yr) Performance 1000 100 10 1 1980 1983 1986 1989 Moore s Law Processor-Memory Performance
More informationPage 1. Memory Hierarchies (Part 2)
Memory Hierarchies (Part ) Outline of Lectures on Memory Systems Memory Hierarchies Cache Memory 3 Virtual Memory 4 The future Increasing distance from the processor in access time Review: The Memory Hierarchy
More informationلیست پیوندی- 2 سید مهدی وحیدی پور با تشکر از دکتر جواد سلیمی دانشکده مهندسی برق و کامپیوتر
لیست پیوندی- 2 سید مهدی وحیدی پور با تشکر از دکتر جواد سلیمی دانشگاه کاشان- دانشکده مهندسی برق و کامپیوتر لیستهای پیوندی اشاره گرها ليست ها ليست هاي دايره اي پشته ها و صفهاي پيوندي چند جمله اي ها روابط
More informationMemory Hierarchy Computing Systems & Performance MSc Informatics Eng. Memory Hierarchy (most slides are borrowed)
Computing Systems & Performance Memory Hierarchy MSc Informatics Eng. 2012/13 A.J.Proença Memory Hierarchy (most slides are borrowed) AJProença, Computer Systems & Performance, MEI, UMinho, 2012/13 1 2
More informationآسیب پذیري هاي تزریق SQL
به نام خدا دانشگاه صنعتی امیرکبیر دانشکده مهندسی کامپیوتر و فناوري اطلاعات آسیب پذیري هاي تزریق SQL CSRF و XSS اراي ه دهنده: محمود قربانزاده تحت نظر: دکتر حمید رضا شهریاري مهر 1393 ده آسیب پذیري برتر (در
More informationمرتب سازی. (sort) : ویرایش احمدرضا غدیرزاده دانشجوی رشته ی مهندسی کامپیوتر
مرتب سازی (sort) : ویرایش احمدرضا غدیرزاده دانشجوی رشته ی مهندسی کامپیوتر تعریف کلید بخشی از هر رکورد که مرتبسازی بر اساس آن انجام میگیرد. به طور کلی الگوریتمهای مرتبسازی را میتوان به دو گروه تقسیم کرد:
More informationChapter 5. Large and Fast: Exploiting Memory Hierarchy
Chapter 5 Large and Fast: Exploiting Memory Hierarchy Processor-Memory Performance Gap 10000 µproc 55%/year (2X/1.5yr) Performance 1000 100 10 1 1980 1983 1986 1989 Moore s Law Processor-Memory Performance
More informationa) Peripheral Interface = Interface Adaptor = Interface Controller
فصل سیزدهم اصول میکروکامپیوترها http://ee.iust.ac.ir/rahmati/index.htm استفاده ازIC هاي جانبی درس: دکتر رحمتی آدرس Email و Website براي تکالیف و... : rahmati@iust.ac.ir http://eel.iust.ac.ir/rahmati/ اين
More informationMemory Hierarchy Computing Systems & Performance MSc Informatics Eng. Memory Hierarchy (most slides are borrowed)
Computing Systems & Performance Memory Hierarchy MSc Informatics Eng. 2011/12 A.J.Proença Memory Hierarchy (most slides are borrowed) AJProença, Computer Systems & Performance, MEI, UMinho, 2011/12 1 2
More informationILUM-SAM7s راهنمای نرم افزار پردازش سبز هونام. راهنمای نرم افزاری ILUM-SAM7s
پردازش سبز هونام ILUM-SAM7s راهنمای نرم افزار و نحوه ی پروگرم کردن میکروکنترلر و نیز کامپایل و اجرای یک کد نمونه در محیط نرم افزاری IAR نحوه پروگرام کردن ILUM-SAM7s برنامه SAM-BAرا از داخل CD نصب و کامپيوتر
More informationVirtual Memory - Objectives
ECE232: Hardware Organization and Design Part 16: Virtual Memory Chapter 7 http://www.ecs.umass.edu/ece/ece232/ Adapted from Computer Organization and Design, Patterson & Hennessy Virtual Memory - Objectives
More informationMahdi. Shabany. M. Shabany, Digital. VLSI System Design
Digital VLSI sy ystem Design ASIC Des sign Flow Mahdi Shabany Department tof Electrical ti lengineering i Sharif University of technology ASIC Design Flow 1. HDL Coding 2. Simulation 3. Synthesis 4. Placement
More informationIntroduction to Programming
Introduction to Programming Lecture 10: Pointers What We Will Learn Introduction Pointers and Functions Pointers and Arrays Pointers and Strings Pointer to Pointer Dynamic memory allocation 2 What We Will
More informationCache Optimization. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University
Cache Optimization Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Cache Misses On cache hit CPU proceeds normally On cache miss Stall the CPU pipeline
More informationMain Memory Supporting Caches
Main Memory Supporting Caches Use DRAMs for main memory Fixed width (e.g., 1 word) Connected by fixed-width clocked bus Bus clock is typically slower than CPU clock Cache Issues 1 Example cache block read
More informationMemory Technology. Caches 1. Static RAM (SRAM) Dynamic RAM (DRAM) Magnetic disk. Ideal memory. 0.5ns 2.5ns, $2000 $5000 per GB
Memory Technology Caches 1 Static RAM (SRAM) 0.5ns 2.5ns, $2000 $5000 per GB Dynamic RAM (DRAM) 50ns 70ns, $20 $75 per GB Magnetic disk 5ms 20ms, $0.20 $2 per GB Ideal memory Average access time similar
More informationComputer Architecture Computer Science & Engineering. Chapter 5. Memory Hierachy BK TP.HCM
Computer Architecture Computer Science & Engineering Chapter 5 Memory Hierachy Memory Technology Static RAM (SRAM) 0.5ns 2.5ns, $2000 $5000 per GB Dynamic RAM (DRAM) 50ns 70ns, $20 $75 per GB Magnetic
More informationCS3350B Computer Architecture
CS335B Computer Architecture Winter 25 Lecture 32: Exploiting Memory Hierarchy: How? Marc Moreno Maza wwwcsduwoca/courses/cs335b [Adapted from lectures on Computer Organization and Design, Patterson &
More informationInstructor : Saeed Shiry
کنترل جريان برنامه Instructor : Saeed Shiry 1 کنترل جريان برنامه در حالت عادی خطوط برنامه بصورت پشت سرهم اجرا ميشوند. ولی برنامه نويس ميتواند روند اجرای برنامه را بر اساس نتايج محاسبات مقادير ورودی تحقق
More informationاصول ميکروکامپيوترها استاد درس: دکتر http://eeiustacir/rahmati/indexhtm rahmati@iustacir ا درس Email و Website برای تکاليف و : http://eeliustacir/rahmati/ ١ /١۴ هفدهم فصل ا شنايی با دستورالعمل ها وMode
More informationChapter 5. Large and Fast: Exploiting Memory Hierarchy
Chapter 5 Large and Fast: Exploiting Memory Hierarchy Memory Technology Static RAM (SRAM) 0.5ns 2.5ns, $2000 $5000 per GB Dynamic RAM (DRAM) 50ns 70ns, $20 $75 per GB Magnetic disk 5ms 20ms, $0.20 $2 per
More informationباASP.NET دفتر طرح و برنامه هاي درسي: تهران- خيابان تلفن: و دورنگار: كدپستي: نمايند.
استاندارد مهارت و آموزشي مهندس درتوسعهWebهايEnterprise گروه برنامه ريزي درسي فناوري اطلاعات تاريخ شروع اعتبار 18//1 كد استاندارد 0-8/27/1/2 دفتر طرح و برنامه هاي درسي تهران- خيابان آزادي- خ خوش شمالي-
More informationVMware NSX : Install, Configure, Manage
VMware NSX 6.4.1 : Install, Configure, Manage خلاصه : در دوره آموزش VMware VNX مخاطبان چگونگی نصب پیکربندي و مدیریت VMwareرا NSX فرا خواهند گرفت. در حقیقت NSX یک شبکه نرم افزاري و همچنین یک ساختار مجازي
More informationاصول ميکروکامپيوترها درس: دکتر رحمتی http://ee.iust.ac.ir/rahmati/index.htm آدرس Email و Website براي تکالیف و... : rahmati@iust.ac.ir http://eel.iust.ac.ir/rahmati/ ١ فصل دوازدهم استفاده از Interruptها
More informationMEMORY HIERARCHY BASICS. B649 Parallel Architectures and Programming
MEMORY HIERARCHY BASICS B649 Parallel Architectures and Programming BASICS Why Do We Need Caches? 3 Overview 4 Terminology cache virtual memory memory stall cycles direct mapped valid bit block address
More information(Opnet. 1
ص( دانشكده مهندسي كامپيوتر (Opnet پروژه چهارم (مسيريابي در 1 درس شبكههاي كامپيوتري مهلت تحويل: شنبه 27 /ابان/ 1391 قبل از كلاس TA Opnet ميباشد. هدف از اين پروژه شبيه سازي انواع مسيريابي در براي اين منظور
More informationMPLS HYBRID. PACKET Forwarding CIRCUIT CWITCHING ATM +IP
مروری بر پروتکلMPLS : IP : MPLS : : علی رستمی ٨٣ /١١/٢٠ : : احمد ا قاميرزاي ی : علی رستمی ٨٣ /١٢/٢۵: : اینترنت مقدمه... ٣ ١ -ایده اصلی...۴ MPLS ٢ -مزایای ۵...MPLS ٣- نحوه آد گذاري سرفصل ۶...MPLS ۴ -ساختار
More informationChapter Seven. Memories: Review. Exploiting Memory Hierarchy CACHE MEMORY AND VIRTUAL MEMORY
Chapter Seven CACHE MEMORY AND VIRTUAL MEMORY 1 Memories: Review SRAM: value is stored on a pair of inverting gates very fast but takes up more space than DRAM (4 to 6 transistors) DRAM: value is stored
More informationCache memories are small, fast SRAM-based memories managed automatically in hardware. Hold frequently accessed blocks of main memory
Cache Memories Cache memories are small, fast SRAM-based memories managed automatically in hardware. Hold frequently accessed blocks of main memory CPU looks first for data in caches (e.g., L1, L2, and
More informationCENG 3420 Computer Organization and Design. Lecture 08: Memory - I. Bei Yu
CENG 3420 Computer Organization and Design Lecture 08: Memory - I Bei Yu CEG3420 L08.1 Spring 2016 Outline q Why Memory Hierarchy q How Memory Hierarchy? SRAM (Cache) & DRAM (main memory) Memory System
More informationInternet Engineering. Chapter3: IP layer
Internet Engineering Instructor: Masoud Asghari Web page: http://www.maser.ir/lectures/ies2017ucna/ Based on slides of Dr. Davood Karimzadegan Moghaddam Chapter3: IP layer فصل سوم: اليه IP در شبکه اينترنت
More informationCIDESI Minimal Configuration of a Microcomputer System
CIDESI 24.9.22 اصول میکروکامپیوترها دانشکده برق دانشگاه علم و صنعت ایران :... درس: دکتر رحمتی http://ee.iust.ac.ir/rahmati/index.htm آدرس Email و Website براي تکالیف و rahmati@iust.ac.ir http://eel.iust.ac.ir/rahmati/
More informationآشنایی با مدارك و آزمون هاي بین المللی مایکروسافت
بنام خدا آشنایی با مدارك و آزمون هاي بین المللی مایکروسافت Microsoft Certified Professional (MCP) Microsoft Certified Systems Engineer (MCSE) Microsoft Certified Systems Administrator (MCSA) فهرست مطالب
More informationبسم اهلل الرحمن الرحیم
بسم اهلل الرحمن الرحیم آموزشگاه تحلیل داده تخصصی ترین مرکز برنامه نویسی و دیتابیس در ایران آموزش رشته ها در سی شارپ مدرس : مهندس افشین رفوآ آموزش رشته ها در سی شارپ در #C می توانید از رشته ها به عنوان
More informationECE331: Hardware Organization and Design
ECE331: Hardware Organization and Design Lecture 22: Direct Mapped Cache Adapted from Computer Organization and Design, Patterson & Hennessy, UCB Intel 8-core i7-5960x 3 GHz, 8-core, 20 MB of cache, 140
More informationتلفن: دورنگار: كدپستي:
استاندارد مهارت و آموزشي تكنسين امنيت سيستمهاي Linux گروه برنامه ريزي درسي فناوري اطلاعات تاريخ شروع اعتبار: /6/ كد استاندارد: 0-/// دفتر طرح و برنامه هاي درسي: تهران- خيابان آزادي- خ خوش شمالي- تقاطع
More informationاصول درس: دکتر رحمتی http://ee.iust.ac.ir/rahmati/index.htm آدرس Email و Website براي تکالیف و... : rahmati@iust.ac.ir http://eel.iust.ac.ir/rahmati/ ١ فصل ششم فصل ششم ا شنايی با دستورالعملهای Z8 و مقدمهای
More informationVirtual Memory. Adapted from instructor s supplementary material from Computer. Patterson & Hennessy, 2008, MK]
Virtual Memory Adapted from instructor s supplementary material from Computer Organization and Design, 4th Edition, Patterson & Hennessy, 2008, MK] Virtual Memory Usemain memory asa cache a for secondarymemory
More informationCSE 431 Computer Architecture Fall Chapter 5A: Exploiting the Memory Hierarchy, Part 1
CSE 431 Computer Architecture Fall 2008 Chapter 5A: Exploiting the Memory Hierarchy, Part 1 Mary Jane Irwin ( www.cse.psu.edu/~mji ) [Adapted from Computer Organization and Design, 4 th Edition, Patterson
More informationVirtual Memory. Virtual Memory
Virtual Memory Virtual Memory Main memory is cache for secondary storage Secondary storage (disk) holds the complete virtual address space Only a portion of the virtual address space lives in the physical
More informationCS/ECE 3330 Computer Architecture. Chapter 5 Memory
CS/ECE 3330 Computer Architecture Chapter 5 Memory Last Chapter n Focused exclusively on processor itself n Made a lot of simplifying assumptions IF ID EX MEM WB n Reality: The Memory Wall 10 6 Relative
More informationEE 4683/5683: COMPUTER ARCHITECTURE
EE 4683/5683: COMPUTER ARCHITECTURE Lecture 6A: Cache Design Avinash Kodi, kodi@ohioedu Agenda 2 Review: Memory Hierarchy Review: Cache Organization Direct-mapped Set- Associative Fully-Associative 1 Major
More informationECE331: Hardware Organization and Design
ECE331: Hardware Organization and Design Lecture 24: Cache Performance Analysis Adapted from Computer Organization and Design, Patterson & Hennessy, UCB Overview Last time: Associative caches How do we
More informationEEC 170 Computer Architecture Fall Improving Cache Performance. Administrative. Review: The Memory Hierarchy. Review: Principle of Locality
Administrative EEC 7 Computer Architecture Fall 5 Improving Cache Performance Problem #6 is posted Last set of homework You should be able to answer each of them in -5 min Quiz on Wednesday (/7) Chapter
More informationChapter 5. Large and Fast: Exploiting Memory Hierarchy
Chapter 5 Large and Fast: Exploiting Memory Hierarchy Static RAM (SRAM) Dynamic RAM (DRAM) 50ns 70ns, $20 $75 per GB Magnetic disk 0.5ns 2.5ns, $2000 $5000 per GB 5.1 Introduction Memory Technology 5ms
More informationMemory hier ar hier ch ar y ch rev re i v e i w e ECE 154B Dmitri Struko Struk v o
Memory hierarchy review ECE 154B Dmitri Strukov Outline Cache motivation Cache basics Opteron example Cache performance Six basic optimizations Virtual memory Processor DRAM gap (latency) Four issue superscalar
More informationChapter 5A. Large and Fast: Exploiting Memory Hierarchy
Chapter 5A Large and Fast: Exploiting Memory Hierarchy Memory Technology Static RAM (SRAM) Fast, expensive Dynamic RAM (DRAM) In between Magnetic disk Slow, inexpensive Ideal memory Access time of SRAM
More informationComputer Organization and Structure. Bing-Yu Chen National Taiwan University
Computer Organization and Structure Bing-Yu Chen National Taiwan University Large and Fast: Exploiting Memory Hierarchy The Basic of Caches Measuring & Improving Cache Performance Virtual Memory A Common
More informationEEC 483 Computer Organization. Chapter 5.3 Measuring and Improving Cache Performance. Chansu Yu
EEC 483 Computer Organization Chapter 5.3 Measuring and Improving Cache Performance Chansu Yu Cache Performance Performance equation execution time = (execution cycles + stall cycles) x cycle time stall
More information14:332:331. Week 13 Basics of Cache
14:332:331 Computer Architecture and Assembly Language Fall 2003 Week 13 Basics of Cache [Adapted from Dave Patterson s UCB CS152 slides and Mary Jane Irwin s PSU CSE331 slides] 331 Lec20.1 Fall 2003 Head
More informationModule Outline. CPU Memory interaction Organization of memory modules Cache memory Mapping and replacement policies.
M6 Memory Hierarchy Module Outline CPU Memory interaction Organization of memory modules Cache memory Mapping and replacement policies. Events on a Cache Miss Events on a Cache Miss Stall the pipeline.
More informationMain Memory. EECC551 - Shaaban. Memory latency: Affects cache miss penalty. Measured by:
Main Memory Main memory generally utilizes Dynamic RAM (DRAM), which use a single transistor to store a bit, but require a periodic data refresh by reading every row (~every 8 msec). Static RAM may be
More informationdata block 0, word 0 block 0, word 1 block 1, word 0 block 1, word 1 block 2, word 0 block 2, word 1 block 3, word 0 block 3, word 1 Word index cache
Taking advantage of spatial locality Use block size larger than one word Example: two words Block index tag () () Alternate representations Word index tag block, word block, word block, word block, word
More informationMemory latency: Affects cache miss penalty. Measured by:
Main Memory Main memory generally utilizes Dynamic RAM (DRAM), which use a single transistor to store a bit, but require a periodic data refresh by reading every row. Static RAM may be used for main memory
More informationMemory latency: Affects cache miss penalty. Measured by:
Main Memory Main memory generally utilizes Dynamic RAM (DRAM), which use a single transistor to store a bit, but require a periodic data refresh by reading every row. Static RAM may be used for main memory
More informationCOMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface. 5 th. Edition. Chapter 5. Large and Fast: Exploiting Memory Hierarchy
COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface 5 th Edition Chapter 5 Large and Fast: Exploiting Memory Hierarchy Principle of Locality Programs access a small proportion of their address
More informationIntroduction to Programming
Introduction to Programming Lecture 6: Making Decisions What We Will Learn Introduction Conditions and Boolean operations if-else statement switch-case statement Conditional expressions 2 What We Will
More informationSE-292 High Performance Computing. Memory Hierarchy. R. Govindarajan
SE-292 High Performance Computing Memory Hierarchy R. Govindarajan govind@serc Reality Check Question 1: Are real caches built to work on virtual addresses or physical addresses? Question 2: What about
More informationMODBUS ETHERNET و مفاهیم پایه
MODBUS ETHERNET و مفاهیم پایه IP (network and sharing) 7 Network and Sharing Center. (Change adapter» «. settings). Properties (local adapter) : Internet Protocol Local Area Connection Properties. Properties.
More informationLECTURE 12. Virtual Memory
LECTURE 12 Virtual Memory VIRTUAL MEMORY Just as a cache can provide fast, easy access to recently-used code and data, main memory acts as a cache for magnetic disk. The mechanism by which this is accomplished
More informationKeywords: Parallel robot, Spatial 3-RRS robot, Wheelchair stability control, Turn-over prevention
M. Javadi * Associated Professor N. Afzalpour Graduate Student P. Jafari Taayemeh Graduate Student S. M. Khorsandijou Assistant Professor Wheelchair Stabilization by the Control of a Spatial 3-RRS Mechanism
More informationEEC 170 Computer Architecture Fall Cache Introduction Review. Review: The Memory Hierarchy. The Memory Hierarchy: Why Does it Work?
EEC 17 Computer Architecture Fall 25 Introduction Review Review: The Hierarchy Take advantage of the principle of locality to present the user with as much memory as is available in the cheapest technology
More informationAdvanced Memory Organizations
CSE 3421: Introduction to Computer Architecture Advanced Memory Organizations Study: 5.1, 5.2, 5.3, 5.4 (only parts) Gojko Babić 03-29-2018 1 Growth in Performance of DRAM & CPU Huge mismatch between CPU
More informationPipelined processors and Hazards
Pipelined processors and Hazards Two options Processor HLL Compiler ALU LU Output Program Control unit 1. Either the control unit can be smart, i,e. it can delay instruction phases to avoid hazards. Processor
More informationCache Memory and Performance
Cache Memory and Performance Cache Performance 1 Many of the following slides are taken with permission from Complete Powerpoint Lecture Notes for Computer Systems: A Programmer's Perspective (CS:APP)
More informationLocality. Cache. Direct Mapped Cache. Direct Mapped Cache
Locality A principle that makes having a memory hierarchy a good idea If an item is referenced, temporal locality: it will tend to be referenced again soon spatial locality: nearby items will tend to be
More informationبسمه تعالی نمونه آزمون برنامهنویسی جاواکاپ 12 شهریور 2931
بسمه تعالی نمونه آزمون برنامهنویسی جاواکاپ 12 شهریور 2931 نکات مهم: همه سؤاالت چند گزينهای هستند. سؤاالت نمره منفی ندارند. هر سؤال بين سه تا ده گزينه دارد. هر سؤال ممکن است بيش از يک گزينه صحيح داشته باشد.
More informationMemory Hierarchy. Reading. Sections 5.1, 5.2, 5.3, 5.4, 5.8 (some elements), 5.9 (2) Lecture notes from MKP, H. H. Lee and S.
Memory Hierarchy Lecture notes from MKP, H. H. Lee and S. Yalamanchili Sections 5.1, 5.2, 5.3, 5.4, 5.8 (some elements), 5.9 Reading (2) 1 SRAM: Value is stored on a pair of inerting gates Very fast but
More informationCOSC3330 Computer Architecture Lecture 19. Cache
COSC3330 Computer Architecture Lecture 19 Cache Instructor: Weidong Shi (Larry), PhD Computer Science Department University of Houston Cache Topics 3 Cache Hardware Cost How many total bits are required
More informationChapter 5. Large and Fast: Exploiting Memory Hierarchy. Jiang Jiang
Chapter 5 Large and Fast: Exploiting Memory Hierarchy Jiang Jiang jiangjiang@ic.sjtu.edu.cn [Adapted from Computer Organization and Design, 4 th Edition, Patterson & Hennessy, 2008, MK] Chapter 5 Large
More informationChapter Seven. SRAM: value is stored on a pair of inverting gates very fast but takes up more space than DRAM (4 to 6 transistors)
Chapter Seven emories: Review SRA: value is stored on a pair of inverting gates very fast but takes up more space than DRA (4 to transistors) DRA: value is stored as a charge on capacitor (must be refreshed)
More information5 Solutions. Solution a. no solution provided. b. no solution provided
5 Solutions Solution 5.1 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 S2 Chapter 5 Solutions Solution 5.2 5.2.1 4 5.2.2 a. I, J b. B[I][0] 5.2.3 a. A[I][J] b. A[J][I] 5.2.4 a. 3596 = 8 800/4 2 8 8/4 + 8000/4 b.
More informationتلفن: و دورنگار تلفن: دورنگار: نمايند.
استاندارد مهارت و آموزشي برنامه نويس PHP گروه برنامه ريزي درسي فناوري اطلاعات تاريخ شروع اعتبار: 84/6/1 كد استاندارد : 0-8/81/1/2 دفتر طرح و برنامه هاي درسي: تهران- خيابان آزادي- خيابان خوش شمالي- تقاطع
More informationMemory Hierarchy Design (Appendix B and Chapter 2)
CS359: Computer Architecture Memory Hierarchy Design (Appendix B and Chapter 2) Yanyan Shen Department of Computer Science and Engineering 1 Four Memory Hierarchy Questions Q1 (block placement): where
More informationفصل هشتم برنامه نویس شی گرا
فصل هشتم برنامه نویس شی گرا فهرست مطالب فصل هشتم.12 عضوهای static.13.14.15.1.2.3.4.5.6.7.8.9.10.11 تعریف شی گرایی چند ریختی )polymorphism( خاصیت ارث بری پشته )stack( ایجاد شی ارث بری سازنده ها و نابود
More informationصفحه ابري سرورهاي HP سازي ITIL
دروس فهرست قابل اراي ه در سماتك عناوين دوره ها مفاهيم پايه اي امنيت (CompTIA) دوره هاي سخت افزار شبكه و يكروسافت ) Help Desk (MCSE شبكه ما دوره هاي مهندسي ابري دوره هاي رايانش دوره هاي ميكروتيك دوره DLink
More informationدستور خروجی. :cout این شی ء در فایل سرآیند iostream.h قرار دارد نکته: در 2008 این شی ء با افزودن ; std using namespace قابل دسترسی است.
دستور خروجی به برنامه :cout این شی ء در فایل سرآیند iostream.h قرار دارد نکته: در 2008 این شی ء با افزودن ; std using namespace قابل دسترسی است. شکل کلی :cout ;
More informationAgenda. Recap: Components of a Computer. Agenda. Recap: Cache Performance and Average Memory Access Time (AMAT) Recap: Typical Memory Hierarchy
// CS 6C: Great Ideas in Computer Architecture (Machine Structures) Set- Associa+ve Caches Instructors: Randy H Katz David A PaFerson hfp://insteecsberkeleyedu/~cs6c/fa Cache Recap Recap: Components of
More informationCache Memories. From Bryant and O Hallaron, Computer Systems. A Programmer s Perspective. Chapter 6.
Cache Memories From Bryant and O Hallaron, Computer Systems. A Programmer s Perspective. Chapter 6. Today Cache memory organization and operation Performance impact of caches The memory mountain Rearranging
More informationMemory Hierarchy. Mehran Rezaei
Memory Hierarchy Mehran Rezaei What types of memory do we have? Registers Cache (Static RAM) Main Memory (Dynamic RAM) Disk (Magnetic Disk) Option : Build It Out of Fast SRAM About 5- ns access Decoders
More informationپردازش لوله ای و برداری
پردازش لوله ای و برداری )فصل 9 از کتاب )Mano 1 پردازش موازی Throughput: the amount of processing that can be accomplished during a given interval of time 2 3 : طبقه بندی کامپیوترها از نظر Flynn SISD: Single
More informationADDRESS TRANSLATION AND TLB
ADDRESS TRANSLATION AND TLB Mahdi Nazm Bojnordi Assistant Professor School of Computing University of Utah CS/ECE 6810: Computer Architecture Overview Announcement Homework 3 submission deadline: Nov.
More informationاشاره گر به تابع 5/23/2016
/* * advanced programming * Alireza Akhavan Pour * akhavan@alirezaweb.com * date: 1395/03/03 */ int main() { cout
More information