National Center for Supercomputing Applications Larry Brumbaugh William Yurcik National Center for Supercomputing Applications.

Slides:



Advertisements
Similar presentations
Chapter 12: File System Implementation
Advertisements

Section 6.2. Record data by magnetizing the binary code on the surface of a disk. Data area is reusable Allows for both sequential and direct access file.
Storing Data: Disks and Files: Chapter 9
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage.
Chapter 2: Computer-System Structures
1 CS 106, Winter 2009 Class 4, Section 4 Slides by: Dr. Cynthia A. Brown, Instructor section 4: Dr. Herbert G. Mayer,
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage.
Abhinav Kamra Computer Science, Columbia University 2.1 Operating System Concepts Silberschatz, Galvin and Gagne  2002 Chapter 2: Computer-System Structures.
Operating Systems File systems
Computer-System Structures
Von Neumann architecture
Computer Architecture
CS 0008 Day 2 1. Today Hardware and Software How computers store data How a program works Operators, types, input Print function Running the debugger.
Computer System Basics 2 Hard Drive Storage & File Partitions Computer Forensics BACS 371.
CS 161 INTRO TO PROGRAMMING I Dr. Blaise W. Liffick Fall
General System Architecture and I/O.  I/O devices and the CPU can execute concurrently.  Each device controller is in charge of a particular device.
Computer Organization
1.1 1 Introduction Foundations of Computer Science  Cengage Learning.
CPS120: Introduction to Computer Science
An Interactive Web-Based Simulation of a General Computer Architecture
Computer Hardware and Software Chapter 1. Overview Brief History of Computers Hardware of a Computer Binary and Hexadecimal Numbers Compiling vs. Interpreting.
Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
UNIX and Shell Programming (06CS36)
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage.
Chapter 2: Computer-System Structures
1 Week 9: Computing Components: PART II READING: Chapter 5.
Component 4: Introduction to Information and Computer Science Unit 4: Application and System Software Lecture 3 This material was developed by Oregon Health.
1 Chapter 2: Computer-System Structures  Computer System Operation  I/O Structure  Storage Structure  Storage Hierarchy  Hardware Protection  General.
Invitation to Computer Science 5 th Edition Chapter 6 An Introduction to System Software and Virtual Machine s.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Science Teaching & Instructional Technology By: Asma, Melissa & Susan.
CHAPTER 6: The Little Man Computer
OSes: 11. FS Impl. 1 Operating Systems v Objectives –discuss file storage and access on secondary storage (a hard disk) Certificate Program in Software.
Chapter 1 Computer Systems. Why study Computer Architecture? Examples Web Browsing - how does the browser access pages from a server? How can we create.
DISK THEORY. Disk Theory n How information is stored on disk n How we can take advantage of that when bad things happen.
Little Man Computer When your program gets “translated to machine code” all 0’s & 1’s The translator must know the language of the program (java) as well.
UNIX and Shell Programming
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
1 CS.217 Operating System By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 2 Computer-System Structures Slide 1 Chapter 2 Computer-System Structures.
© GCSE Computing Candidates should be able to:  describe the characteristics of an assembler Slide 1.
1.4 Representation of data in computer systems Instructions.
Stored Program A stored-program digital computer is one that keeps its programmed instructions, as well as its data, in read-write,
Review of Computer System Organization. Computer Startup For a computer to start running when it is first powered up, it needs to execute an initial program.
Examples with 3-Digit Numbers
This is where you can reset and run your program. If your program has an “INP” (input) command, you will type it in this box here. Using the LMC These.
©2013 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. Introduction to Computers and Computing.
System Components Operating System Services System Calls.
File organization Secondary Storage Devices Lec#7 Presenter: Dr Emad Nabil.
CPU Lesson 2.
Systems Architecture Keywords Fetch Execute Cycle
CHAPTER 6: The Little Man Computer
Overview of Computers and Programming Chapter 1
CHAPTER 6: The Little Man Computer
Review of computer processing and the basic of Operating system
I/O Resource Management: Software
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage.
File Management.
CHAPTER 6: The Little Man Computer
Module 2: Computer-System Structures
Chapter 2: Operating-System Structures
Introduction to Operating Systems
Overheads for Computers as Components 2nd ed.
GCSE OCR 1 The CPU Computer Science J276 Unit 1
Little Man Computer There’s a little man in the mailroom that follows each instruction to the letter but he can only follow one instruction at a time.
Chapter 2: Computer-System Structures
Chapter 2: Computer-System Structures
CS 330 Programming Languages
Module 2: Computer-System Structures
Chapter 2: Operating-System Structures
Department of Computer Science
Presentation transcript:

National Center for Supercomputing Applications Larry Brumbaugh William Yurcik National Center for Supercomputing Applications (NCSA) University of Illinois at Urbana-Champaign A Little Man Storage (LMS) Model

National Center for Supercomputing Applications Little Man Computer (LMC) Paradigm Developed by Madnick and Donovan During the 1960s, at MIT Taught to all MIT undergraduate CS majors Simplistic overview of how a computer actually works Adheres to von Neumann principles Authors have built multiple LMC simulators See: Newer version to be introduced at SIGCSE 2006 See Irv Englander text for LMC in the classroom

National Center for Supercomputing Applications Little Man Computer and the Walled Mailroom 100 mailboxes 1 inbox 1 outbox 1 calculator counter Little Man 10 assembler instructions

National Center for Supercomputing Applications Basic Hardware Components of LMS Storage Device Hardware Properties ID Numbering Schemes for the Component 3 cylinders0, 1, 2 (numbers are independent of the platter surface) 4 tracks per cylinder0, 1, 2, 3 (0/1 are the 1st platter and 2/3 are 2 nd platter) 8 areas per track0, 1, 2, 3, 4, 5, 6, 7 (same amount of data can be stored in each area) Platters rotate Access arm moves over the platter surface Data is copied to/from areas on the disk

National Center for Supercomputing Applications Areas on Both Sides of Platter 0 Labeling scheme: cylinder|track|area From 000 to 237

National Center for Supercomputing Applications Physical Components that comprise an LMS Storage Device

National Center for Supercomputing Applications Comparing LMC and LMS Characteristics Environment/Physical Act Compared Little Man Computer (LMC) Little Man Storage (LMS) historic relevance of paradigmfrom 1960’s to presentfrom 1970’s to present type of device describedcomputerdisk storage device actual hardware location of the Little Man itself CPU control unitstorage controller locations where data is stored 100 mailboxes (00-99); each holds 3 digit number; no ‘special’ mailboxes 96 disk areas ( ) each holds 512 bytes; two ‘special’ areas how I/O operations are performedread/write slips of paperread/write disk areas a programmable device? fundamental design principles yes! von Neumann model not really? standard disk + MS FAT

National Center for Supercomputing Applications LIST Structure for the Disk File Name Size (Bytes) Start Location (Area) Creation DateModify Date ALPHA.doc /03/200506/04/2005 X.Y.Z /18/199706/04/2005 NextFile1234.txt022512/25/200201/01/2004 ************** 20 byte names II Implemented as a White Board Stored in area 000

National Center for Supercomputing Applications Contents of Area 001 Showing Storage Allocation after Two Files are Written Area NumberNext Area Location in File (first free area) * 00100N(last free area) * (file continuation) (file continuation) (end of file) (file continuation) (end of file) N666 Called Area Utilization List (AUL)

National Center for Supercomputing Applications Basic I/O Commands Supported by LMS Command Op- Code Processing Performed by Command Create File00 Write an entry in the LIST, including name, create date, etc. Initialize one Free-Area-List area to ***End-of-File***. Delete File01 Erase the file entry line from the LIST. Return all of the files AUL entries to the Free-Area-List. Read File02 Begin in the LIST and then go thru the corresponding AUL entries. An alternative approach starts in the AUL table. Write File03 Add data starting with the first area on the free list. Write ***End-of-File*** after the last record is written. Append File04Follow the AUL entries for the file to the one containing 666. Add new records in a new area and replace 666 with new area #.

National Center for Supercomputing Applications Disk Status Following Several I/O Operations Area Next Area Area Next Area Area Next Area Area Next Area (ROOT) LIST AUL TableALPHABETA ALPHAGAMMA 01DELTA FREE 014 FREE 015 FREE 016 FREE 017 FREE FREE 021 FREE 022 FREE 023 FREE 024 FREE 025 FREE 026 FREE 027 FREE 028

National Center for Supercomputing Applications Disk Status After Additional I/O Operations Area Next Area Area Next Area Area Next Area Area Next Area (ROOT) LIST AUL Table FREE BETA FREE GAMMA 01DELTA SIGMARHOSIGMA FREE 02 FREE

National Center for Supercomputing Applications References [1] William Yurcik and Hugh Osborne, “A Crowd of Little Man Computers: Visual Computer Simulator Teaching Tools, “ Winter Simulation Conference (WSC), Cincinnati, OH. USA, December [2] William Yurcik and Larry Brumbaugh, “Using LMC Simulator Assembly Language to Illustrate Major Programming Concepts, ” The Proceedings of Information Systems Education Conference (ISECON), Cincinnati, OH. USA, November [3] William Yurcik and Larry Brumbaugh, “A Web-Based Little Man Computer Simulator, ” 32nd Technical Symposium of Computer Science Education (SIGCSE), pp , Feb [4] William Yurcik, Joaquin Vila and Larry Brumbaugh, "An Interactive Web-Based Simulation of a General Computer Architecture, " Proceedings of the IEEE International Conference on Engineering and Computer Education (ICECE 2000), Sao Paulo, Brazil, August [5] pdf SNIA Shared Storage Model White Paper

National Center for Supercomputing Applications Questions?