Computer Architecture Evaluation, Simulation and Research OSU ECE OS Interaction with Cache Memories Dr. Sohum Sohoni School of Electrical and Computer.

Slides:



Advertisements
Similar presentations
Jaewoong Sim Alaa R. Alameldeen Zeshan Chishti Chris Wilkerson Hyesoon Kim MICRO-47 | December 2014.
Advertisements

1 Parallel Scientific Computing: Algorithms and Tools Lecture #2 APMA 2821A, Spring 2008 Instructors: George Em Karniadakis Leopold Grinberg.
1 Improving Direct-Mapped Cache Performance by the Addition of a Small Fully-Associative Cache and Prefetch Buffers By Sreemukha Kandlakunta Phani Shashank.
55:035 Computer Architecture and Organization Lecture 7 155:035 Computer Architecture and Organization.
High Performing Cache Hierarchies for Server Workloads
CSE 490/590, Spring 2011 CSE 490/590 Computer Architecture Cache III Steve Ko Computer Sciences and Engineering University at Buffalo.
PERFORMANCE ANALYSIS OF MULTIPLE THREADS/CORES USING THE ULTRASPARC T1 (NIAGARA) Unique Chips and Systems (UCAS-4) Dimitris Kaseridis & Lizy K. John The.
WHAT IS AN OPERATING SYSTEM? An interface between users and hardware - an environment "architecture ” Allows convenient usage; hides the tedious stuff.
Helper Threads via Virtual Multithreading on an experimental Itanium 2 processor platform. Perry H Wang et. Al.
1 DIEF: An Accurate Interference Feedback Mechanism for Chip Multiprocessor Memory Systems Magnus Jahre †, Marius Grannaes † ‡ and Lasse Natvig † † Norwegian.
Memory System Characterization of Big Data Workloads
What will my performance be? Resource Advisor for DB admins Dushyanth Narayanan, Paul Barham Microsoft Research, Cambridge Eno Thereska, Anastassia Ailamaki.
Lecture 12: DRAM Basics Today: DRAM terminology and basics, energy innovations.
Prof. John Nestor ECE Department Lafayette College Easton, Pennsylvania ECE Computer Organization Lecture 20 - Memory.
SYNAR Systems Networking and Architecture Group CMPT 886: Architecture of Niagara I Processor Dr. Alexandra Fedorova School of Computing Science SFU.
1: Operating Systems Overview
Chapter 1 and 2 Computer System and Operating System Overview
Techniques for Efficient Processing in Runahead Execution Engines Onur Mutlu Hyesoon Kim Yale N. Patt.
Virtual Memory and Paging J. Nelson Amaral. Large Data Sets Size of address space: – 32-bit machines: 2 32 = 4 GB – 64-bit machines: 2 64 = a huge number.
1 CS222: Principles of Database Management Fall 2010 Professor Chen Li Department of Computer Science University of California, Irvine Notes 01.
Analysis of a Memory Architecture for Fast Packet Buffers Sundar Iyer, Ramana Rao Kompella & Nick McKeown (sundaes,ramana, Departments.
1Chapter 05, Fall 2008 CPU Scheduling The CPU scheduler (sometimes called the dispatcher or short-term scheduler): Selects a process from the ready queue.
Compressed Memory Hierarchy Dongrui SHE Jianhua HUI.
LOGO OPERATING SYSTEM Dalia AL-Dabbagh
Operating System Review September 10, 2012Introduction to Computer Security ©2004 Matt Bishop Slide #1-1.
1 CS503: Operating Systems Spring 2014 Dongyan Xu Department of Computer Science Purdue University.
CSC 7080 Graduate Computer Architecture Lec 12 – Advanced Memory Hierarchy 2 Dr. Khalaf Notes adapted from: David Patterson Electrical Engineering and.
1 Reducing DRAM Latencies with an Integrated Memory Hierarchy Design Authors Wei-fen Lin and Steven K. Reinhardt, University of Michigan Doug Burger, University.
Timing Channel Protection for a Shared Memory Controller Yao Wang, Andrew Ferraiuolo, G. Edward Suh Feb 17 th 2014.
Chapter 1 Computer System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
E X C E E D I N G E X P E C T A T I O N S Time Mgt Linux System Administration Dr. Hoganson Kennesaw State University OS Time Management Time management.
ACMSE’04, ALDepartment of Electrical and Computer Engineering - UAH Execution Characteristics of SPEC CPU2000 Benchmarks: Intel C++ vs. Microsoft VC++
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
Performance Prediction for Random Write Reductions: A Case Study in Modelling Shared Memory Programs Ruoming Jin Gagan Agrawal Department of Computer and.
E X C E E D I N G E X P E C T A T I O N S OP SYS Linux System Administration Dr. Hoganson Kennesaw State University Operating Systems Functions of an operating.
CASH: REVISITING HARDWARE SHARING IN SINGLE-CHIP PARALLEL PROCESSOR
U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science Emery Berger and Mark Corner University of Massachusetts Amherst Computer Systems.
Operating Systems David Goldschmidt, Ph.D. Computer Science The College of Saint Rose CIS 432.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems with Multi-programming Chapter 4.
Analyzing Performance Vulnerability due to Resource Denial-Of-Service Attack on Chip Multiprocessors Dong Hyuk WooGeorgia Tech Hsien-Hsin “Sean” LeeGeorgia.
CIS250 OPERATING SYSTEMS Chapter 6 - CPU Scheduling Basic Concepts The objective of multi-programming is have a program running at all times Maximize.
1: Operating Systems Overview 1 Jerry Breecher Fall, 2004 CLARK UNIVERSITY CS215 OPERATING SYSTEMS OVERVIEW.
BEAR: Mitigating Bandwidth Bloat in Gigascale DRAM caches
Lecture 14: Caching, cont. EEN 312: Processors: Hardware, Software, and Interfacing Department of Electrical and Computer Engineering Spring 2014, Dr.
CMP/CMT Scaling of SPECjbb2005 on UltraSPARC T1 (Niagara) Dimitris Kaseridis and Lizy K. John The University of Texas at Austin Laboratory for Computer.
Lecture on Central Process Unit (CPU)
Shouqing Hao Institute of Computing Technology, Chinese Academy of Sciences Processes Scheduling on Heterogeneous Multi-core Architecture.
Ee314 Microprocessor Systems Dr. Mircea DABACAN Electrical Engineering & Computer Science Dept., Washington State University Office: EE/ME 504 Phone:
Processor Scheduling Hank Levy. 22/4/2016 Goals for Multiprogramming In a multiprogramming system, we try to increase utilization and thruput by overlapping.
1 Adapted from UC Berkeley CS252 S01 Lecture 18: Reducing Cache Hit Time and Main Memory Design Virtucal Cache, pipelined cache, cache summary, main memory.
BCS361: Computer Architecture I/O Devices. 2 Input/Output CPU Cache Bus MemoryDiskNetworkUSBDVD …
Uniprocessor Process Management & Process Scheduling Department of Computer Science Southern Illinois University Edwardsville Spring, 2016 Dr. Hiroshi.
Techniques for Fast Packet Buffers Sundar Iyer, Nick McKeown Departments of Electrical Engineering & Computer Science, Stanford.
COMP7500 Advanced Operating Systems I/O-Aware Load Balancing Techniques Dr. Xiao Qin Auburn University
Niagara: A 32-Way Multithreaded Sparc Processor Kongetira, Aingaran, Olukotun Presentation by: Mohamed Abuobaida Mohamed For COE502 : Parallel Processing.
OPERATING SYSTEMS CS 3502 Fall 2017
Sujata Ray Dey Maheshtala College Computer Science Department
Jonathan Walpole Computer Science Portland State University
OPERATING SYSTEMS CS3502 Fall 2017
Introduction to Computer Architecture
Chapter 3: Process-Concept
Process Virtualization. Process Process is a program that has initiated its execution. A program is a passive entity; whereas a process is an active entity.
Operating Systems CPU Scheduling.
Introduction to Computer Architecture
Sujata Ray Dey Maheshtala College Computer Science Department
Processor Scheduling Hank Levy 1.
Uniprocessor Process Management & Process Scheduling
Week1 software - Lecture outline & Assignments
Uniprocessor Process Management & Process Scheduling
Necessary Background for OS
Presentation transcript:

Computer Architecture Evaluation, Simulation and Research OSU ECE OS Interaction with Cache Memories Dr. Sohum Sohoni School of Electrical and Computer Engineering Oklahoma State University

Computer Architecture Evaluation, Simulation and Research OSU ECE Outline Technically ‘light’ talk- broad audience Background terminology and one example of current work Wild predictions about the future  Many thanks to the National Science Foundation CNS #  Any views presented here are my own, and not reflective of the NSF’s views and policies

Computer Architecture Evaluation, Simulation and Research OSU ECE Some Terminology CPU Caches  Miss rates  Locality  Prefetching Context Switches  ‘state’  Working set or memory footprint  Process queue

Computer Architecture Evaluation, Simulation and Research OSU ECE Goal of Memory Hierarchy Low latency, high bandwidth, high capacity, low cost CPU L1 Cache L2 Cache Main Memory (System DRAM) 3GHz Extremely fast bus 2 cycles 16 KB Slower bus 2+7 = 9 cycles 512 KB Much slower bus 300 cycles 512 MB

Computer Architecture Evaluation, Simulation and Research OSU ECE What Happens in a Context Switch Current process ‘state’ is saved Scheduler is invoked Next process is ‘brought in’ TLB’s are flushed L1 cache may be flushed New process executes for its time slice Interrupt, state saved, scheduler … Effective locality gets wiped out

Computer Architecture Evaluation, Simulation and Research OSU ECE Effect of MultiProgramming 10ms20ms30ms40ms50ms60ms CPU I/O 10ms20ms30ms40ms50ms60ms CPU I/O CPU I/O CPU I/O CPU Memory pressure

Computer Architecture Evaluation, Simulation and Research OSU ECE Problem with MultiProgramming Increasing multi-programming increases cache miss rates Loss of locality of reference Diminishing returns from multi-programming Eventual thrashing k

Computer Architecture Evaluation, Simulation and Research OSU ECE Out of Context Prefetching Reduce the negative effect of multi-programming on CPU cache performance  Predict future context switches  Prefetch the working set of the next process Memory Pressure Context Switch! Time Prefetch

Computer Architecture Evaluation, Simulation and Research OSU ECE OOC Prefetching Picture 9 CPU L1 L2 Main memory OOC Prefetch

Computer Architecture Evaluation, Simulation and Research OSU ECE Context Switch Prediction 10

Computer Architecture Evaluation, Simulation and Research OSU ECE Miss Rate Improvement 11

Computer Architecture Evaluation, Simulation and Research OSU ECE THANK YOU! Q AND A