19: I/O Devices: Clocks, Power Management

Size: px
Start display at page:

Download "19: I/O Devices: Clocks, Power Management"

Transcription

1 19: I/O Devices: Clocks, Power Management Mark Handley Clock Hardware: A Programmable Clock Pulses Counter, decremented on each pulse Crystal Oscillator On zero, generate interrupt and reload from holding register To CPU (interrupt) Holding register (holds programmable initial value) A programmable clock, used to generate clock tick interrupts at the CPU. Clock tick rate is settable by the OS. 1

2 Clocks in Linux Real-Time Clock (RTC) Independent of CPU CPU Cycle Counter (TSC Register) For keeping track of time of day (gettimeofday()) For accurate time measurements Granularity: CPU cycle (e.g. 2GHz) Kernel Clock (Programmable Interval Timer) Each tick: cause timer interrupt at a fixed interval For the kernel to keep track of time Granularity: much larger: in terms of 10 Hz-1000 Hz Realtime Clock Most computers have a battery-powered backup clock, used to maintain time when the machine is powered off. On boot, the backup clock is read by the OS, and the system clock initialized from it. OS provides utilities to set the system clock (and copy this to the backup clock). May also use NTP to automatically set the system clock via the network. 2

3 Clock Software Functions Maintaining the time of day. Preventing processes running longer than they re allowed to. Accounting for CPU usage. Handling the alarm() system call made by user processes. Providing watchdog timers for parts of the OS. Doing profiling, monitoring, statistics gathering. Maintaining Time of Day Increment a counter at each clock tick. Unix: time since 1st Jan Windows: time since 1st Jan Needs more than 32 bits to store. Use a 64 bit counter Store seconds and ticks separately Store ticks since boot time. 3

4 Maintaining Time of Day Unix: realtime clock set to UTC. Converted to localtime when needed based on timezone data and daylight-savings time tables. Windows: realtime clock set to localtime. Converted to UTC when needed. Coordinated Universal Time (UTC) - atomic time roughly equivalent to Greenwich Mean Time (GMT) Process Switching When a process is scheduled, initialize its quantum counter to some multiple of the clock interrupt time. Each clock interrupt, decrement the quantum counter. When counter reaches zero, clock interrupt service routine calls scheduler to make a scheduling decision. 4

5 Clock Software: Alarms Simulating multiple timers with a single kernel clock. Alarms scheduled for 4203, 4207, 4213, 4215, Each clock tick, decrement next signal counter. When counter reaches zero, send first alarm signal, and reset next signal counter from next item in list. Watchdog Timers OS needs the equivalent of alarms for internal tasks. Retransmit a lost network packet. Wait for a device to start up. Similar timer chain used to that for alarms, but instead of sending a signal, a registered function is called. Watchdog reset: When system is performing normally it resets a watchdog timer periodically. If the timer ever goes off, the system has failed seriously in some way. Usually cause the machine to reboot. 5

6 Soft Timers Most systems have a second programmable clock available for timer interrupts. Use can be specified by applications. This is no problems if interrupt frequency is low. If interrupt rate is high, system can livelock. Same problem with high I/O interrupt rates. Soft timers are an attempt to avoid interrupts. Whenever kernel is running, it checks for soft timer expiration before it exits to user mode. No context switch needed. How well this works depends on rate of kernel entry calls (due to system calls, page faults, interrupts, idle loop calls). Soft Timers for Networking Normal way to transmit packets on gigabit ethernet is for the transmit complete interrupt to cause the next packet to be sent to the device. At full speed: One full size packet every 12us. One 64 byte packet every 0.5us. Interrupt takes ~4us (Pentium II) Not atypical for average latency between interrupt and entering kernel to be in range of 2us to 20us. Soft clocks + polling + sending several packets to device at a time is feasible. Can use second hardware timer to bound delay. 6

7 Power Management Power Management Power is becoming a big problem for hardware designers. Long battery lifetime needed for mobile devices. Heat management issues for desktops and servers. OS knows most about what is going on, so is playing an increasing role in power management. Turn off unused peripherals. Reduce performance to conserve power/heat. Monitor batteries, and shutdown safely when needed. 7

8 Disk Power Management Can spin down disk when not in use. Takes time to spin up (annoyed users). Takes power to spin up. OS needs to predict that disk will be idle for more than about 20 seconds before worth powering down. Disk buffering helps a lot. Using a memory filesystem for temporary files (/tmp on Unix) really helps. May be able to signal apps that now is a good time to save because disk is currently spinning. CPU Power Management CPU can be put to sleep if nothing s happening. An interrupt will wake it. OS must be aware that sleep occurred and reset CPU counter-based clocks. CPU clock rate and voltage can be reduced. 50% CPU rate can reduce power to 25% of full power. If CPU is only running at 50% utilization, halving the rate is a big power win. 8

9 ACPI: Advanced Configuration and Power Interface Conceived by Intel, Microsoft, and Toshiba Allow OS-directed Power Management (OSPM) Defines Hardware registers: Implemented in chipset silicon BIOS interfaces: Configuration tables Interpreted executable function interface (Control Methods) Motherboard device enumeration and configuration System and device power states ACPI Thermal Model ACPI Architecture Applications Kernel OS Dependent Application APIs OSPM System Code Device Driver ACPI Driver/ AML Interpreter OS Specific technologies, interfaces, and code. Existing industry standard register interfaces to: CMOS, PIC, PITs,... ACPI Register Interface ACPI Registers ACPI BIOS Interface ACPI BIOS ACPI Table Interface ACPI Tables OS Independent technologies, interfaces, code, and hardware. Platform Hardware BIOS - ACPI Spec Covers this area. - OS specific technology - Hardware/Platform - Provided by ACPI CA 9

10 ACPI Power States G0: Normal running state G1: Sleeping S0:CPU Cache flushed and CPU Halted. CPU and Memory still powered. S1: Not commonly implemented S2:Suspend-to-RAM, aka Standby. Memory powered, but not much else. S3: Suspend-to-Disk, aka Hibernate Memory saved to disk. Almost everything off. G2: Soft Off. Off, but keyboard can initiate boot. G3: Mechanical Off. Really off! Only realtime clock powered. 10

I/O Systems (3): Clocks and Timers. CSE 2431: Introduction to Operating Systems

I/O Systems (3): Clocks and Timers. CSE 2431: Introduction to Operating Systems I/O Systems (3): Clocks and Timers CSE 2431: Introduction to Operating Systems 1 Outline Clock Hardware Clock Software Soft Timers 2 Two Types of Clocks Simple clock: tied to the 110- or 220-volt power

More information

POWER MANAGEMENT AND ENERGY EFFICIENCY

POWER MANAGEMENT AND ENERGY EFFICIENCY POWER MANAGEMENT AND ENERGY EFFICIENCY * Adopted Power Management for Embedded Systems, Minsoo Ryu 2017 Operating Systems Design Euiseong Seo (euiseong@skku.edu) Need for Power Management Power consumption

More information

Power Management for Embedded Systems

Power Management for Embedded Systems Power Management for Embedded Systems Minsoo Ryu Hanyang University Why Power Management? Battery-operated devices Smartphones, digital cameras, and laptops use batteries Power savings and battery run

More information

Lecture 21 Disk Devices and Timers

Lecture 21 Disk Devices and Timers CS 423 Operating Systems Design Lecture 21 Disk Devices and Timers Klara Nahrstedt Fall 2011 Based on slides by YY Zhou and Andrew S. Tanenbaum CS 423 - Fall 2011 Overview Administrative announcements

More information

Operating Systems Design 25. Power Management. Paul Krzyzanowski

Operating Systems Design 25. Power Management. Paul Krzyzanowski Operating Systems Design 25. Power Management Paul Krzyzanowski pxk@cs.rutgers.edu 1 Power Management Goal: Improve the battery life of mobile devices 2 CPU Voltage & Frequency Scaling Dynamic CPU Frequency

More information

Power Management as I knew it. Jim Kardach

Power Management as I knew it. Jim Kardach Power Management as I knew it Jim Kardach 1 Agenda Philosophy of power management PM Timeline Era of OS Specific PM (OSSPM) Era of OS independent PM (OSIPM) Era of OS Assisted PM (APM) Era of OS & hardware

More information

Lecture 15. Power Management II Devices and Algorithms CM0256

Lecture 15. Power Management II Devices and Algorithms CM0256 Lecture 15 Power Management II Devices and Algorithms CM0256 Power Management Power Management is a way for the computer or other device to save power by turning off certain features of the computer such

More information

Chapter 5 - Input / Output

Chapter 5 - Input / Output Chapter 5 - Input / Output Luis Tarrataca luis.tarrataca@gmail.com CEFET-RJ L. Tarrataca Chapter 5 - Input / Output 1 / 90 1 Motivation 2 Principle of I/O Hardware I/O Devices Device Controllers Memory-Mapped

More information

Common Computer-System and OS Structures

Common Computer-System and OS Structures Common Computer-System and OS Structures Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection General System Architecture Oct-03 1 Computer-System Architecture

More information

I/O. Fall Tore Larsen. Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum)

I/O. Fall Tore Larsen. Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum) I/O Fall 2011 Tore Larsen Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum) Big Picture Today we talk about I/O characteristics interconnection devices & controllers (disks

More information

I/O. Fall Tore Larsen. Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum)

I/O. Fall Tore Larsen. Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum) I/O Fall 2010 Tore Larsen Including slides from Pål Halvorsen, Tore Larsen, Kai Li, and Andrew S. Tanenbaum) Big Picture Today we talk about I/O characteristics interconnection devices & controllers (disks

More information

Operating System Review

Operating System Review COP 4225 Advanced Unix Programming Operating System Review Chi Zhang czhang@cs.fiu.edu 1 About the Course Prerequisite: COP 4610 Concepts and Principles Programming System Calls Advanced Topics Internals,

More information

Last Time. Making correct concurrent programs. Maintaining invariants Avoiding deadlocks

Last Time. Making correct concurrent programs. Maintaining invariants Avoiding deadlocks Last Time Making correct concurrent programs Maintaining invariants Avoiding deadlocks Today Power management Hardware capabilities Software management strategies Power and Energy Review Energy is power

More information

OPERATING SYSTEMS CS136

OPERATING SYSTEMS CS136 OPERATING SYSTEMS CS136 Jialiang LU Jialiang.lu@sjtu.edu.cn Based on Lecture Notes of Tanenbaum, Modern Operating Systems 3 e, 1 Chapter 5 INPUT/OUTPUT 2 Overview o OS controls I/O devices => o Issue commands,

More information

Timers 1 / 46. Jiffies. Potent and Evil Magic

Timers 1 / 46. Jiffies. Potent and Evil Magic Timers 1 / 46 Jiffies Each timer tick, a variable called jiffies is incremented It is thus (roughly) the number of HZ since system boot A 32-bit counter incremented at 1000 Hz wraps around in about 50

More information

I/O Systems (4): Power Management. CSE 2431: Introduction to Operating Systems

I/O Systems (4): Power Management. CSE 2431: Introduction to Operating Systems I/O Systems (4): Power Management CSE 2431: Introduction to Operating Systems 1 Outline Overview Hardware Issues OS Issues Application Issues 2 Why Power Management? Desktop PCs Battery-powered Computers

More information

Instruction Cycle. Computer-System Architecture. Computer-System Operation. Common Functions of Interrupts. Chapter 2: Computer-System Structures

Instruction Cycle. Computer-System Architecture. Computer-System Operation. Common Functions of Interrupts. Chapter 2: Computer-System Structures Summary Operating Systems evolved through stages Resident monitors Multiprogrammed batch systems Time-shared multiuser systems Desktop systems Specialized operating systems (real-time, handheld, parallel

More information

Embedded Systems Architecture

Embedded Systems Architecture Embedded System Architecture Software and hardware minimizing energy consumption Conscious engineer protects the natur M. Eng. Mariusz Rudnicki 1/47 Software and hardware minimizing energy consumption

More information

Chapter 4 Using BIOS 1

Chapter 4 Using BIOS 1 Chapter 1 Using BIOS 4 4.1 About the Setup Utility The computer uses the latest American Megatrends Inc. BIOS with support for Windows Plug and Play. The CMOS chip on the motherboard contains the ROM setup

More information

Computer-System Architecture

Computer-System Architecture Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection General System Architecture 2.1 Computer-System Architecture 2.2 1

More information

Computer-System Architecture. Common Functions of Interrupts. Computer-System Operation. Interrupt Handling. Chapter 2: Computer-System Structures

Computer-System Architecture. Common Functions of Interrupts. Computer-System Operation. Interrupt Handling. Chapter 2: Computer-System Structures Chapter 2: Computer-System Structures Computer-System Architecture Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection General System Architecture 2.1 2.2 Computer-System

More information

Computer-System Structures

Computer-System Structures Computer-System Structures Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection Network Structure 2.1 Sana a University, Dr aimen A Modern Computer System 2.2

More information

Hello, and welcome to this presentation of the STM32 Real- Time Clock. It covers the main features of this peripheral, which is used to provide a

Hello, and welcome to this presentation of the STM32 Real- Time Clock. It covers the main features of this peripheral, which is used to provide a Hello, and welcome to this presentation of the STM32 Real- Time Clock. It covers the main features of this peripheral, which is used to provide a very accurate time base. 1 The RTC peripheral features

More information

Protection and System Calls. Otto J. Anshus

Protection and System Calls. Otto J. Anshus Protection and System Calls Otto J. Anshus Protection Issues CPU protection Prevent a user from using the CPU for too long Throughput of jobs, and response time to events (incl. user interactive response

More information

By Arjan Van De Ven, Senior Staff Software Engineer at Intel.

By Arjan Van De Ven, Senior Staff Software Engineer at Intel. Absolute Power By Arjan Van De Ven, Senior Staff Software Engineer at Intel. Abstract: Power consumption is a hot topic from laptop, to datacenter. Recently, the Linux kernel has made huge steps forward

More information

Real-Time Concepts for Embedded Systems Author: Qing Li with Caroline Yao

Real-Time Concepts for Embedded Systems Author: Qing Li with Caroline Yao Real-Time Concepts for Embedded Systems Author: Qing Li with Caroline Yao ISBN: 1-57820-124-1 CMPBooks Chapter 11 Timer and Timer Services Outline 11.1 Introduction 11.2 Real-Time Clocks and System Clocks

More information

Lecture 2: September 9

Lecture 2: September 9 CMPSCI 377 Operating Systems Fall 2010 Lecture 2: September 9 Lecturer: Prashant Shenoy TA: Antony Partensky & Tim Wood 2.1 OS & Computer Architecture The operating system is the interface between a user

More information

Generic Model of I/O Module Interface to CPU and Memory Interface to one or more peripherals

Generic Model of I/O Module Interface to CPU and Memory Interface to one or more peripherals William Stallings Computer Organization and Architecture 7 th Edition Chapter 7 Input/Output Input/Output Problems Wide variety of peripherals Delivering different amounts of data At different speeds In

More information

15: OS Scheduling and Buffering

15: OS Scheduling and Buffering 15: OS Scheduling and ing Mark Handley Typical Audio Pipeline (sender) Sending Host Audio Device Application A->D Device Kernel App Compress Encode for net RTP ed pending DMA to host (~10ms according to

More information

Module 2: Computer-System Structures. Computer-System Architecture

Module 2: Computer-System Structures. Computer-System Architecture Module 2: Computer-System Structures Computer-System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection General System Architecture Operating System Concepts 2.1 Silberschatz

More information

Operating Systems (2INC0) 2018/19. Introduction (01) Dr. Tanir Ozcelebi. Courtesy of Prof. Dr. Johan Lukkien. System Architecture and Networking Group

Operating Systems (2INC0) 2018/19. Introduction (01) Dr. Tanir Ozcelebi. Courtesy of Prof. Dr. Johan Lukkien. System Architecture and Networking Group Operating Systems (2INC0) 20/19 Introduction (01) Dr. Courtesy of Prof. Dr. Johan Lukkien System Architecture and Networking Group Course Overview Introduction to operating systems Processes, threads and

More information

Embedded System Architecture

Embedded System Architecture Embedded System Architecture Software and hardware minimizing energy consumption Conscious engineer protects the natur Embedded Systems Architecture 1/44 Software and hardware minimizing energy consumption

More information

IT Chapter 6: Laptops & Portable Devices Online Study Questions - Key

IT Chapter 6: Laptops & Portable Devices Online Study Questions - Key IT Chapter 6: Laptops & Portable Devices Online Study Questions - Key Test Questions are BLUE CUR Question Answer 6.0 Introduction 1. What established the form factor for all modern s? (graphic) MAC Powerbook

More information

Ricardo Rocha. Department of Computer Science Faculty of Sciences University of Porto

Ricardo Rocha. Department of Computer Science Faculty of Sciences University of Porto Ricardo Rocha Department of Computer Science Faculty of Sciences University of Porto Slides based on the book Operating System Concepts, 9th Edition, Abraham Silberschatz, Peter B. Galvin and Greg Gagne,

More information

I/O and Device Drivers

I/O and Device Drivers I/O and Device Drivers Minsoo Ryu Real-Time Computing and Communications Lab. Hanyang University msryu@hanyang.ac.kr Topics Covered I/O Components I/O Interface I/O Operations Device Drivers 2 I/O Components

More information

Types and Functions of Win Operating Systems

Types and Functions of Win Operating Systems LEC. 2 College of Information Technology / Software Department.. Computer Skills I / First Class / First Semester 2017-2018 Types and Functions of Win Operating Systems What is an Operating System (O.S.)?

More information

Scheduling Mar. 19, 2018

Scheduling Mar. 19, 2018 15-410...Everything old is new again... Scheduling Mar. 19, 2018 Dave Eckhardt Brian Railing Roger Dannenberg 1 Outline Chapter 5 (or Chapter 7): Scheduling Scheduling-people/textbook terminology note

More information

An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal)

An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal) An Interrupt is either a Hardware generated CALL (externally derived from a hardware signal) OR A Software-generated CALL (internally derived from the execution of an instruction or by some other internal

More information

Computer Organization ECE514. Chapter 5 Input/Output (9hrs)

Computer Organization ECE514. Chapter 5 Input/Output (9hrs) Computer Organization ECE514 Chapter 5 Input/Output (9hrs) Learning Outcomes Course Outcome (CO) - CO2 Describe the architecture and organization of computer systems Program Outcome (PO) PO1 Apply knowledge

More information

User s Guide. Alexandra Yates Kristen C. Accardi

User s Guide. Alexandra Yates Kristen C. Accardi User s Guide Kristen C. Accardi kristen.c.accardi@intel.com Alexandra Yates alexandra.yates@intel.com PowerTOP is a Linux* tool used to diagnose issues related to power consumption and power management.

More information

Display Management: Outline

Display Management: Outline Display Management: Sensing User Intention and Context (HOTOS 2003) Outline Motivation and Research Objective FaceOff Architecture and Prototype Evaluation Best Case Feasibility Study Responsiveness Study

More information

CSCI-GA Operating Systems I/O. Hubertus Franke

CSCI-GA Operating Systems I/O. Hubertus Franke Operating Systems I/O CSCI-GA.2250-001 Hubertus Franke frankeh@cs.nyu.edu External devices that engage in I/O with computer systems can be grouped into three categories: Human readable suitable for communicating

More information

20: Networking (2) TCP Socket Buffers. Mark Handley. TCP Acks. TCP Data. Application. Application. Kernel. Kernel. Socket buffer.

20: Networking (2) TCP Socket Buffers. Mark Handley. TCP Acks. TCP Data. Application. Application. Kernel. Kernel. Socket buffer. 20: Networking (2) Mark Handley TCP Socket Buffers Application Application Kernel write Kernel read Socket buffer Socket buffer DMA DMA NIC TCP Acks NIC TCP Data 1 TCP Socket Buffers Send-side Socket Buffer

More information

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction. AVR XMEGA TM Product Introduction 32-bit AVR UC3 AVR Flash Microcontrollers The highest performance AVR in the world 8/16-bit AVR XMEGA Peripheral Performance 8-bit megaavr The world s most successful

More information

TABLE OF CONTENTS 1. INTRODUCTION 2. SPECIFICATION 3. HARDWARE INSTALLATION 6BXDS 1.1. PREFACE KEY FEATURES...1-1

TABLE OF CONTENTS 1. INTRODUCTION 2. SPECIFICATION 3. HARDWARE INSTALLATION 6BXDS 1.1. PREFACE KEY FEATURES...1-1 6BXDS 1. INTRODUCTION TABLE OF CONTENTS 1.1. PREFACE...1-1 1.2. KEY FEATURES...1-1 1.3. PERFORMANCE LIST...1-2 1.4. BLOCK DIAGRAM...1-3 1.5. INTRODUCE THE Pentium II Processor...1-4 1.6. What is AGP?...1-6

More information

Input/Output Problems. External Devices. Input/Output Module. I/O Steps. I/O Module Function Computer Architecture

Input/Output Problems. External Devices. Input/Output Module. I/O Steps. I/O Module Function Computer Architecture 168 420 Computer Architecture Chapter 6 Input/Output Input/Output Problems Wide variety of peripherals Delivering different amounts of data At different speeds In different formats All slower than CPU

More information

Operating Systems Design Fall 2010 Exam 1 Review. Paul Krzyzanowski

Operating Systems Design Fall 2010 Exam 1 Review. Paul Krzyzanowski Operating Systems Design Fall 2010 Exam 1 Review Paul Krzyzanowski pxk@cs.rutgers.edu 1 Question 1 To a programmer, a system call looks just like a function call. Explain the difference in the underlying

More information

The Kernel Abstraction

The Kernel Abstraction The Kernel Abstraction Debugging as Engineering Much of your time in this course will be spent debugging In industry, 50% of software dev is debugging Even more for kernel development How do you reduce

More information

Runtime Power Management on SuperH Mobile

Runtime Power Management on SuperH Mobile Runtime Power Management on SuperH Mobile Upstream Implementation and Status Magnus Damm damm@igel.co.jp Renesas Technology April 2009 Magnus Damm (damm@igel.co.jp) Runtime Power Management on SuperH Mobile

More information

A Smart Port Card Tutorial --- Hardware

A Smart Port Card Tutorial --- Hardware A Smart Port Card Tutorial --- Hardware John DeHart Washington University jdd@arl.wustl.edu http://www.arl.wustl.edu/~jdd 1 References: New Links from Kits References Page Intel Embedded Module: Data Sheet

More information

Input/Output Systems

Input/Output Systems Input/Output Systems CSCI 315 Operating Systems Design Department of Computer Science Notice: The slides for this lecture have been largely based on those from an earlier edition of the course text Operating

More information

Introduction. Operating Systems. Outline. Hardware. I/O Device Types. Device Controllers. One OS function is to control devices

Introduction. Operating Systems. Outline. Hardware. I/O Device Types. Device Controllers. One OS function is to control devices Introduction Operating Systems Input/Output Devices (Ch12.1-12.3, 12.7; 13.1-13.3, 13.7) One OS function is to control devices significant fraction of code (80-90% of Linux) Want all devices to be simple

More information

Interrupt/Timer/DMA 1

Interrupt/Timer/DMA 1 Interrupt/Timer/DMA 1 Exception An exception is any condition that needs to halt normal execution of the instructions Examples - Reset - HWI - SWI 2 Interrupt Hardware interrupt Software interrupt Trap

More information

Using the bq3285/7e in a Green or Portable Environment

Using the bq3285/7e in a Green or Portable Environment in a Green or Portable Environment Introduction The bq3285/7e Real-Time Clock is a PC/AT-compatible real-time clock that incorporates three enhanced features to facilitate power management in Green desktop

More information

Magic Card NET. User s Manual

Magic Card NET. User s Manual Magic Card NET User s Manual Table of Contents Notice Before Installation:... 2 System Requirements... 3 1. First Installation... 4 2. Hardware Setup... 4 3. Express Installation... 6 4. How to setup FDISK...

More information

Design and Implementation of a High Resolution Soft Real-Time Timer

Design and Implementation of a High Resolution Soft Real-Time Timer Design and Implementation of a High Resolution Soft Real-Time Timer by Johannes Petrus Grobler Submitted in fulfilment of the requirements for the degree Magister Scientia in the Faculty of Engineering,

More information

Introduction. Operating Systems. Outline. Hardware. I/O Device Types. Device Controllers. One OS function is to control devices

Introduction. Operating Systems. Outline. Hardware. I/O Device Types. Device Controllers. One OS function is to control devices Introduction Operating Systems Input/Output Devices (Ch12.1-12.3, 12.7; 13.1-13.3, 13.7) One OS function is to control devices significant fraction of code (80-90% of Linux) Want all devices to be simple

More information

TABLE OF CONTENTS 1. INTRODUCTION 2. SPECIFICATION 3. HARDWARE INSTALLATION 6EM 1.1. PREFACE KEY FEATURES PERFORMANCE LIST...

TABLE OF CONTENTS 1. INTRODUCTION 2. SPECIFICATION 3. HARDWARE INSTALLATION 6EM 1.1. PREFACE KEY FEATURES PERFORMANCE LIST... 6EM TABLE OF CONTENTS 1. INTRODUCTION 1.1. PREFACE...1-1 1.2. KEY FEATURES...1-1 1.3. PERFORMANCE LIST...1-2 1.4. BLOCK DIAGRAM...1-3 1.5. INTRODUCE THE Pentium II Processor & AGP...1-4 1.6 What is AGP?...1-6

More information

User s Guide. Alexandra Yates Kristen C. Accardi

User s Guide. Alexandra Yates Kristen C. Accardi User s Guide Kristen C. Accardi kristen.c.accardi@intel.com Alexandra Yates alexandra.yates@intel.com PowerTOP is a Linux* tool used to diagnose issues related to power consumption and power management.

More information

Concurrent programming: Introduction I

Concurrent programming: Introduction I Computer Architecture course Real-Time Operating Systems Concurrent programming: Introduction I Anna Lina Ruscelli - Scuola Superiore Sant Anna Contact info Email a.ruscelli@sssup.it Computer Architecture

More information

Timers and Counters. LISHA/UFSC Prof. Dr. Antônio Augusto Fröhlich Fauze Valério Polpeta Lucas Francisco Wanner.

Timers and Counters. LISHA/UFSC Prof. Dr. Antônio Augusto Fröhlich Fauze Valério Polpeta Lucas Francisco Wanner. Timers and Counters LISHA/UFSC Prof. Dr. Antônio Augusto Fröhlich Fauze Valério Polpeta Lucas Francisco Wanner http://www.lisha.ufsc.br/~guto March 2009 March 2009 http://www.lisha.ufsc.br/ 103 Timers

More information

Introduction to Operating Systems Prof. Chester Rebeiro Department of Computer Science and Engineering Indian Institute of Technology, Madras

Introduction to Operating Systems Prof. Chester Rebeiro Department of Computer Science and Engineering Indian Institute of Technology, Madras Introduction to Operating Systems Prof. Chester Rebeiro Department of Computer Science and Engineering Indian Institute of Technology, Madras Week - 04 Lecture 17 CPU Context Switching Hello. In this video

More information

OVERVIEW. Last Week: But if frequency of high priority task increases temporarily, system may encounter overload: Today: Slide 1. Slide 3.

OVERVIEW. Last Week: But if frequency of high priority task increases temporarily, system may encounter overload: Today: Slide 1. Slide 3. OVERVIEW Last Week: Scheduling Algorithms Real-time systems Today: But if frequency of high priority task increases temporarily, system may encounter overload: Yet another real-time scheduling algorithm

More information

CS 31: Intro to Systems Operating Systems Overview. Kevin Webb Swarthmore College March 31, 2015

CS 31: Intro to Systems Operating Systems Overview. Kevin Webb Swarthmore College March 31, 2015 CS 31: Intro to Systems Operating Systems Overview Kevin Webb Swarthmore College March 31, 2015 Reading Quiz OS: Turn undesirable into desirable Turn undesirable inconveniences: reality Complexity of hardware

More information

Computer System Architecture. CMPT 300 Operating Systems I. Summer Segment 3: Computer System Architecture. Melissa O Neill

Computer System Architecture. CMPT 300 Operating Systems I. Summer Segment 3: Computer System Architecture. Melissa O Neill CMPT 300 Operating Systems I Computer System Architecture Summer 1999 disk disk printer tape drives on-line Segment 3: Computer System Architecture CPU disk controller printer controller tape-drive controller

More information

Distributed Systems. Clock Synchronization: Physical Clocks. Paul Krzyzanowski

Distributed Systems. Clock Synchronization: Physical Clocks. Paul Krzyzanowski Distributed Systems Clock Synchronization: Physical Clocks Paul Krzyzanowski pxk@cs.rutgers.edu Except as otherwise noted, the content of this presentation is licensed under the Creative Commons Attribution

More information

TABLE OF CONTENTS 1. INTRODUCTION 2. SPECIFICATION 3. HARDWARE INSTALLATION 6EX 1.1. PREFACE KEY FEATURES PERFORMANCE LIST...

TABLE OF CONTENTS 1. INTRODUCTION 2. SPECIFICATION 3. HARDWARE INSTALLATION 6EX 1.1. PREFACE KEY FEATURES PERFORMANCE LIST... 6EX TABLE OF CONTENTS 1. INTRODUCTION 1.1. PREFACE...1-1 1.2. KEY FEATURES...1-1 1.3. PERFORMANCE LIST...1-2 1.4. BLOCK DIAGRAM...1-3 1.5. INTRODUCE THE Pentium II Processor & AGP...1-4 1.6 What is AGP?...

More information

Introduction. Operating Systems. Outline. Hardware. I/O Device Types. Device Controllers. (done)

Introduction. Operating Systems. Outline. Hardware. I/O Device Types. Device Controllers. (done) Introduction Operating Systems Input/Output Devices (Ch 13.3, 13.5; 14.1-14.3) One OS function is to control devices significant fraction of code (80-90% of Linux) Want all devices to be simple to use

More information

Troubleshooting & Repair

Troubleshooting & Repair Chapter Troubleshooting & Repair 6.1 Introduction This chapter provides the most common problem encountered with the M785 notebook computer and some troubleshooting means. Some of the common problems are:

More information

v02.54 (C) Copyright , American Megatrends, Inc.

v02.54 (C) Copyright , American Megatrends, Inc. 1 Main Advanced H/W Monitor Boot Security Exit System Overview System Time System Date [ 14:00:09] [Tue 02/21/2006] BIOS Version : P4i65G BIOS P1.00 Processor Type : Intel (R) Pentium (R) 4 CPU 2.40 GHz

More information

Unit 2 : Computer and Operating System Structure

Unit 2 : Computer and Operating System Structure Unit 2 : Computer and Operating System Structure Lesson 1 : Interrupts and I/O Structure 1.1. Learning Objectives On completion of this lesson you will know : what interrupt is the causes of occurring

More information

v02.54 (C) Copyright , American Megatrends, Inc.

v02.54 (C) Copyright , American Megatrends, Inc. 1 Main Advanced H/W Monitor Boot Security Exit System Overview System Time System Date BIOS Version Processor Type Processor Speed Cache Size [ 14:00:09] [Fri 05/19/2006] : ConRoe865PE BIOS P1.00 : Intel

More information

Let s look at each and begin with a view into the software

Let s look at each and begin with a view into the software Power Consumption Overview In this lesson we will Identify the different sources of power consumption in embedded systems. Look at ways to measure power consumption. Study several different methods for

More information

XPC User Guide. For the : SH67H3/SH67H7

XPC User Guide. For the : SH67H3/SH67H7 XPC User Guide For the : SH67H3/SH67H7 Shuttle XPC Installation Guide 2010 by Shuttle Inc. All Rights Reserved. Copyright No part of this publication may be reproduced, transcribed, stored in a retrieval

More information

IT Essentials (ITE v5.0 & v5.02) Chapter 7 Exam Answers 100% 2016

IT Essentials (ITE v5.0 & v5.02) Chapter 7 Exam Answers 100% 2016 IT Essentials (ITE v5.0 & v5.02) Chapter 7 Exam Answers 100% 2016 1. Which two statements are true of a laptop CPU when compared to a desktop CPU? (Choose two.) The laptops consume more power. The laptop

More information

NVDIMM Overview. Technology, Linux, and Xen

NVDIMM Overview. Technology, Linux, and Xen NVDIMM Overview Technology, Linux, and Xen Who am I? What are NVDIMMs? A standard for allowing NVRAM to be exposed as normal memory Potential to dramatically change the way software is written But.. They

More information

Hardware OS & OS- Application interface

Hardware OS & OS- Application interface CS 4410 Operating Systems Hardware OS & OS- Application interface Summer 2013 Cornell University 1 Today How my device becomes useful for the user? HW-OS interface Device controller Device driver Interrupts

More information

This chapter tells how to configure the system by setting the BIOS parameters. 3.1 Entering the AMI BIOS Setup

This chapter tells how to configure the system by setting the BIOS parameters. 3.1 Entering the AMI BIOS Setup Chapter 3 AMI BIOS This chapter tells how to configure the system by setting the BIOS parameters. 3.1 Entering the AMI BIOS Setup To enter the AMI BIOS Setup, press appears as shown below.. The AMI BIOS

More information

This section will cover the core initialization process.

This section will cover the core initialization process. This section will cover the core initialization process. 1 There are three steps to initializing a system, CPU, Boot device and OS initialization + CPU initialization initializes the CPU to a known state.

More information

APPLICATION NOTE 655 Supervisor ICs Monitor Battery-Powered Equipment

APPLICATION NOTE 655 Supervisor ICs Monitor Battery-Powered Equipment Maxim > Design Support > Technical Documents > Application Notes > Automotive > APP 655 Maxim > Design Support > Technical Documents > Application Notes > Microprocessor Supervisor Circuits > APP 655 Keywords:

More information

AMSC/CMSC 662 Computer Organization and Programming for Scientific Computing Fall 2011 Operating Systems Dianne P. O Leary c 2011

AMSC/CMSC 662 Computer Organization and Programming for Scientific Computing Fall 2011 Operating Systems Dianne P. O Leary c 2011 AMSC/CMSC 662 Computer Organization and Programming for Scientific Computing Fall 2011 Operating Systems Dianne P. O Leary c 2011 1 Operating Systems Notes taken from How Operating Systems Work by Curt

More information

Lecture 2: Architectural Support for OSes

Lecture 2: Architectural Support for OSes Lecture 2: Architectural Support for OSes CSE 120: Principles of Operating Systems Alex C. Snoeren HW 1 Due Tuesday 10/03 Why Architecture? Operating systems mediate between applications and the physical

More information

COSC 243. Input / Output. Lecture 13 Input/Output. COSC 243 (Computer Architecture)

COSC 243. Input / Output. Lecture 13 Input/Output. COSC 243 (Computer Architecture) COSC 243 Input / Output 1 Introduction This Lecture Source: Chapter 7 (10 th edition) Next Lecture (until end of semester) Zhiyi Huang on Operating Systems 2 Memory RAM Random Access Memory Read / write

More information

Chapter 13: I/O Systems. Operating System Concepts 9 th Edition

Chapter 13: I/O Systems. Operating System Concepts 9 th Edition Chapter 13: I/O Systems Silberschatz, Galvin and Gagne 2013 Chapter 13: I/O Systems Overview I/O Hardware Application I/O Interface Kernel I/O Subsystem Transforming I/O Requests to Hardware Operations

More information

CS 333 Introduction to Operating Systems. Class 2 OS-Related Hardware & Software The Process Concept

CS 333 Introduction to Operating Systems. Class 2 OS-Related Hardware & Software The Process Concept CS 333 Introduction to Operating Systems Class 2 OS-Related Hardware & Software The Process Concept Jonathan Walpole Computer Science Portland State University 1 Administrivia CS333 lecture videos are

More information

CS510 Operating System Foundations. Jonathan Walpole

CS510 Operating System Foundations. Jonathan Walpole CS510 Operating System Foundations Jonathan Walpole OS-Related Hardware & Software 2 Lecture 2 Overview OS-Related Hardware & Software - complications in real systems - brief introduction to memory protection,

More information

PQA600A Picture Quality Analyzer Declassification and Security Instructions

PQA600A Picture Quality Analyzer Declassification and Security Instructions xx ZZZ PQA600A Picture Quality Analyzer Declassification and Security Instructions *P077078800* 077-0788-00 xx ZZZ PQA600A Picture Quality Analyzer Declassification and Security Instructions www.tektronix.com

More information

I/O Systems. Amir H. Payberah. Amirkabir University of Technology (Tehran Polytechnic)

I/O Systems. Amir H. Payberah. Amirkabir University of Technology (Tehran Polytechnic) I/O Systems Amir H. Payberah amir@sics.se Amirkabir University of Technology (Tehran Polytechnic) Amir H. Payberah (Tehran Polytechnic) I/O Systems 1393/9/15 1 / 57 Motivation Amir H. Payberah (Tehran

More information

CS162 Operating Systems and Systems Programming Lecture 17. Disk Management and File Systems

CS162 Operating Systems and Systems Programming Lecture 17. Disk Management and File Systems CS162 Operating Systems and Systems Programming Lecture 17 Disk Management and File Systems March 18, 2010 Ion Stoica http://inst.eecs.berkeley.edu/~cs162 Review: Want Standard Interfaces to Devices Block

More information

GPS IRIG-B/NTP Time Server GPS-2-E-NTP

GPS IRIG-B/NTP Time Server GPS-2-E-NTP GPS IRIG-B/NTP Time Server GPS-2-E-NTP June 01, 2013 Contents 1 Introduction... 3 2 Hardware... 4 3 Mounting GPS antenna... 5 4 Powering up GPS-2-E-NTP... 6 5 NTP - Network Time Protocol... 7 6 GPS-2-E-NTP

More information

Fujitsu LifeBook P Series

Fujitsu LifeBook P Series Fujitsu LifeBook P Series BIOS Guide LifeBook P Series Model: P-1032 P-1035 Document Date: 02/01/02 Document Part Number: FPC58-0653-01 FUJITSU PC CORPORATION LifeBook P Series BIOS P Series BIOS BIOS

More information

Input/Output. Today. Next. Principles of I/O hardware & software I/O software layers Disks. Protection & Security

Input/Output. Today. Next. Principles of I/O hardware & software I/O software layers Disks. Protection & Security Input/Output Today Principles of I/O hardware & software I/O software layers Disks Next Protection & Security Operating Systems and I/O Two key operating system goals Control I/O devices Provide a simple,

More information

RT extensions/applications of general-purpose OSs

RT extensions/applications of general-purpose OSs EECS 571 Principles of Real-Time Embedded Systems Lecture Note #15: RT extensions/applications of general-purpose OSs General-Purpose OSs for Real-Time Why? (as discussed before) App timing requirements

More information

UC Santa Barbara. Operating Systems. Christopher Kruegel Department of Computer Science UC Santa Barbara

UC Santa Barbara. Operating Systems. Christopher Kruegel Department of Computer Science UC Santa Barbara Operating Systems Christopher Kruegel Department of Computer Science http://www.cs.ucsb.edu/~chris/ Input and Output Input/Output Devices The OS is responsible for managing I/O devices Issue requests Manage

More information

Computer Hardware Trouble Shooting or The computer won t work!!! Now what am I going to do?

Computer Hardware Trouble Shooting or The computer won t work!!! Now what am I going to do? Computer Hardware Trouble Shooting or The computer won t work!!! Now what am I going to do? Basic steps for diagnosing computer problems: 1. Look and listen the computer will give you some hints about

More information

Module 11: I/O Systems

Module 11: I/O Systems Module 11: I/O Systems Reading: Chapter 13 Objectives Explore the structure of the operating system s I/O subsystem. Discuss the principles of I/O hardware and its complexity. Provide details on the performance

More information

Block Diagram. Block Diagram

Block Diagram. Block Diagram Block Diagram Block Diagram 28 6WXM7 Motherboard Suspend to RAM Installation (Optional) A.1 Introduce STR function: Suspend-to-RAM (STR) is a Windows 98 ACPI sleep mode function. When recovering from STR

More information

TABLE OF CONTENTS 1. INTRODUCTION 2. SPECIFICATION 3. HARDWARE INSTALLATION 6BA

TABLE OF CONTENTS 1. INTRODUCTION 2. SPECIFICATION 3. HARDWARE INSTALLATION 6BA 6BA TABLE OF CONTENTS 1. INTRODUCTION 1.1. PREFACE...1-1 1.2. KEY FEATURES...1-1 1.3. PERFORMANCE LIST...1-2 1.4. BLOCK DIAGRAM...1-3 1.5. INTRODUCE THE Pentium II / III Processor...1-4 1.6. What is AGP?...1-5

More information

ò mm_struct represents an address space in kernel ò task represents a thread in the kernel ò A task points to 0 or 1 mm_structs

ò mm_struct represents an address space in kernel ò task represents a thread in the kernel ò A task points to 0 or 1 mm_structs Last time We went through the high-level theory of scheduling algorithms Scheduling Today: View into how Linux makes its scheduling decisions Don Porter CSE 306 Lecture goals Understand low-level building

More information

Four Components of a Computer System

Four Components of a Computer System Four Components of a Computer System Operating System Concepts Essentials 2nd Edition 1.1 Silberschatz, Galvin and Gagne 2013 Operating System Definition OS is a resource allocator Manages all resources

More information