Presentation is loading. Please wait.

Presentation is loading. Please wait.

IBM OS/2 CS450 Section 2 5:00PM Perpetrators: © Dario Berini, Derek Cole, Drew Hayes, Leigh Johann, Matt Kesler.

Similar presentations


Presentation on theme: "IBM OS/2 CS450 Section 2 5:00PM Perpetrators: © Dario Berini, Derek Cole, Drew Hayes, Leigh Johann, Matt Kesler."— Presentation transcript:

1 IBM OS/2 CS450 Section 2 5:00PM Perpetrators: © Dario Berini, Derek Cole, Drew Hayes, Leigh Johann, Matt Kesler

2 Overview History and Advancements Processor modes and privileged instructions CPU Scheduling and thread states Symmetric Multi-Processing Threading Data structures for file and memory management

3 History Co-developed by IBM and Microsoft Program Manager -1988 Version History –1.3 1991 –2.0 1992 –3.0 1994 Warp End of the Road

4 Advancements Multitasking Environment – 1987 Leveraged new processor technology –Intel 80286 High Performance File System (HPFS) -1989 16 Processor capable SMP in 1993 Universal Client -1996

5 Shortcomings Microsoft designed code through version 1.3 Lack of device drivers Poor marketing strategy from the beginning –IBM did not want to enter the software business Support for OS/2 stops December 2006

6 Processor Modes Intel 80286 –Capable of 2 modes Provided additional capabilities with highly limited functionality Not reliable under OS/2 1.0 Later versions of OS/2 and the x86 microprocessor improved the computing experience.

7 Privileged Instructions Intel Specification for 80x86 –4 levels or “Rings” Ring 0 - Most Privileged - Supervisor mode Ring 1 - Not used by OS/2 Ring 2 - “Privileged user mode” Ring 3 - Least Privileged - User mode –Additional Registers Descriptor Tables (GDT, LDT)

8 Scheduling OS/2 uses different scheduling mechanisms for Ring 0 and Ring 3 Each thread has: –State Running, Ready, or Blocked –Priority Classes Idle, Regular, Foreground Server, or Time-critical Classes + Delta 0 - 31, used to relatively distinguish threads –TC + 31

9 Scheduling cont. Ring 3 –Uses priority based scheduling with pre-emption –Time slices are usually 32 milliseconds Ring 0 –Still have priorities, but no time slices –Only hardware interrupts can pre-empt Ring 0 threads –Additional attribute: context (mode) Determines what APIs are available to the thread Init mode, Interrupt mode, and Kernel mode

10 Symmetric Multiprocessing Architecture for multiple CPUs Ability to complete individual processes simultaneously Versions 2.11 and Warp Version 4 Spinlocks implement mutual exclusion DosCreateSpinLock, DosAcquireSpinLock, DosReleaseSpinLock, DosFreeSpinLock

11 Threading Multithreaded Ration of threads to processes is M:1 Preemptive multitasking

12 File Management Data Structures HPFS B-Tree FNODEs ALNODEs FNODE Extended Attributes Control and Access History Information 15 characters of name Length of File Up to 8 Extents Pointer to Extent Length of Run Pointer to Beginning of File File

13 Memory Management Data Structures Offers 32-bit linear memory address space Stored as pages Memory Blocks (Memory Data Structure) Memory Block Consists of One or More Memory Pages Sub-allocation of Memory Space Memory Commitment Memory Access


Download ppt "IBM OS/2 CS450 Section 2 5:00PM Perpetrators: © Dario Berini, Derek Cole, Drew Hayes, Leigh Johann, Matt Kesler."

Similar presentations


Ads by Google