Difference between revisions of "Student Built Xinu"

From Embedded Xinu
Jump to navigation Jump to search
 
(10 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
A student built operating system puts the student in the trenches of operating system development. The student will become intimately involved with the inner workings of an operating system. This will give the student a better understanding of the various systems that work together behind the scenes while an operating system is running. Operating systems topics that can be incorporated in a student built Xinu course include: memory management, scheduling, concurrent processing, device management, file systems and others.
 
A student built operating system puts the student in the trenches of operating system development. The student will become intimately involved with the inner workings of an operating system. This will give the student a better understanding of the various systems that work together behind the scenes while an operating system is running. Operating systems topics that can be incorporated in a student built Xinu course include: memory management, scheduling, concurrent processing, device management, file systems and others.
 
== Course Outcomes ==
 
== Course Outcomes ==
Course development can parallel learning objectives and topics associated with many Communication and Networking courses. [[Student Built Xinu#References|[1]]]
+
Course development can parallel learning objectives and topics associated with many Operating Systems courses. [[Student Built Xinu#References|[1]]]
  
 
=== Topics ===
 
=== Topics ===
Line 34: Line 34:
 
===== Course Outline =====
 
===== Course Outline =====
 
{|
 
{|
| Week || || || Topics || || || || Assignments Track One || Assignments Track Two
+
| Week || || || Topics || || || || Assignments Track One || Assignments Track Two || Assignments Track Three
 
|-
 
|-
| 01 || || || C (basics) and OS Structures, Processes || || || || [[Assignment: C Basics|C Basics]] || [[Assignment: C Basics|C Basics]]
+
| 01 || || || C (basics) and OS Structures, Processes || || || || [[Assignment: C Basics|C Basics]] || [[Assignment: C Basics|C Basics]] || [[Assignment: C Basics|C Basics]]  
 
|-
 
|-
 
| 02 || || || C (functions, control flow) and Processes ||  
 
| 02 || || || C (functions, control flow) and Processes ||  
 
|-
 
|-
| 03 || || || C (pointers, arrays, structs) and Threads || || || || [[Assignment: C Structs and Pointers|C Structs and Pointers]] || [[Assignment: C Structs and Pointers|C Structs and Pointers]]
+
| 03 || || || C (pointers, arrays, structs) and Threads || || || || [[Assignment: C Structs and Pointers|C Structs and Pointers]] || [[Assignment: C Structs and Pointers|C Structs and Pointers]] || [[Assignment: C Structs and Pointers|C Structs and Pointers]]
 
|-
 
|-
| 04 || || || CPU Scheduling || || || || [[Assignment: Synchronous Serial Driver|Synchronous Serial Driver]] || [[Assignment: Synchronous Serial Driver|Synchronous Serial Driver]]
+
| 04 || || || CPU Scheduling || || || || [[Assignment: Synchronous Serial Driver|Synchronous Serial Driver]] || [[Assignment: Synchronous Serial Driver|Synchronous Serial Driver]] || [[Assignment: SCC Serial Communication|SCC Serial Communication]]
 
|-
 
|-
 
| 05 || || || CPU Scheduling ||
 
| 05 || || || CPU Scheduling ||
 
|-
 
|-
| 06 || || || Process Synchronization || || || || [[Assignment: Context Switch and Non-Preemptive Scheduling|Context Switch and Non-Preemptive Scheduling]]
+
| 06 || || || Process Synchronization || || || || [[Assignment: Context Switch and Non-Preemptive Scheduling|Context Switch and Non-Preemptive Scheduling]] || [[Assignment: Context Switch and Non-Preemptive Scheduling|Context Switch and Non-Preemptive Scheduling]] || [[Assignment: Context Switch and Non-Preemptive Scheduling|Context Switch and Non-Preemptive Scheduling]]
 
|-
 
|-
| 07 || || || Deadlocks || || || || [[Assignment: Priority Scheduling and Process Termination|Priority Scheduling and Process Termination]] || [[Assignment: Priority Scheduling and Preemption|Priority Scheduling & Preemption]]
+
| 07 || || || Deadlocks || || || || [[Assignment: Priority Scheduling and Process Termination|Priority Scheduling and Process Termination]] || [[Assignment: Priority Scheduling and Preemption|Priority Scheduling & Preemption]] || [[Assignment: Priority Scheduling and Preemption|Priority Scheduling & Preemption]]  
 
|-
 
|-
 
| 08 || || || Main Memory and Virtual Memory ||   
 
| 08 || || || Main Memory and Virtual Memory ||   
 
|-
 
|-
 
| 09 || || || File System Interface || || || || [[Assignment: Preemption and Synchronization|Preemption & Synchronization]]
 
| 09 || || || File System Interface || || || || [[Assignment: Preemption and Synchronization|Preemption & Synchronization]]
|| [[Assignment: Synchronization and Interprocess Communication|Interprocess Communication]]  
+
|| [[Assignment: Synchronization and Interprocess Communication|Interprocess Communication]] or [[Assignment: LL/SC|LL/SC]] || [[Assignment: Synchronization and Interprocess Communication|Interprocess Communication]]
 
|-
 
|-
 
| 10 || || || File System Implementation ||  
 
| 10 || || || File System Implementation ||  
 
|-
 
|-
| 11 || || || Mass-Storage Structure || || || || [[Assignment: Delta Queues|Delta Queues]]
+
| 11 || || || Mass-Storage Structure || || || || [[Assignment: Delta Queues|Delta Queues]] || [[Assignment: Delta Queues|Delta Queues]]  || [[Assignment: Delta Queues|Delta Queues]]
 
|-
 
|-
| 12 || || || I/O Systems || || || || [[Assignment: Heap Memory|Heap Memory]]
+
| 12 || || || I/O Systems || || || || [[Assignment: Heap Memory|Heap Memory]] || [[Assignment: Heap Memory|Heap Memory]] || [[Assignment: Heap Memory|Heap Memory]]
 
|-
 
|-
| 13 || || || Protection, Security and Distributed System Structures || || || || [[Assignment: Asynchronous Device Driver|Asynchronous Device Driver]] || [[Assignment: Ultra-Tiny File System|Ultra-Tiny File System]]
+
| 13 || || || Protection, Security and Distributed System Structures || || || || [[Assignment: Asynchronous Device Driver|Asynchronous Device Driver]] || [[Assignment: Ultra-Tiny File System|Ultra-Tiny File System]] || [[Assignment: Parallel Execution Speedup|Parallel Execution Speedup]]
 
|-
 
|-
 
| 14 || || || Distributed System Structures ||  
 
| 14 || || || Distributed System Structures ||  
 
|-
 
|-
| 15 || || || Distributed File Systems || || || || [[Assignment: Ultra-Tiny File System|Ultra-Tiny File System]]
+
| 15 || || || Distributed File Systems || || || || [[Assignment: Ultra-Tiny File System|Ultra-Tiny File System]] || [[Assignment: Basic Networking - Ping|Basic Networking - Ping]] || [[Assignment: Inter-core Message Passing|Inter-core Message Passing]]
 
|}
 
|}
  

Latest revision as of 03:32, 9 July 2012

Overview

Having students build their own Xinu is one of the potential tracks presented for a professor that is Teaching With Xinu.

A student built operating system puts the student in the trenches of operating system development. The student will become intimately involved with the inner workings of an operating system. This will give the student a better understanding of the various systems that work together behind the scenes while an operating system is running. Operating systems topics that can be incorporated in a student built Xinu course include: memory management, scheduling, concurrent processing, device management, file systems and others.

Course Outcomes

Course development can parallel learning objectives and topics associated with many Operating Systems courses. [1]

Topics

  • Overview of operating systems
  • Operating system principles
  • Concurrency
  • Scheduling and dispatch
  • Memory management
  • Device management
  • Security and protection
  • File systems
  • Evaluating system performance

Learning Objectives

  • Discuss the history of operating systems.
  • Overview of the general and specific purpose of an operating system.
  • Understanding concurrency and state flow diagrams.
  • Understanding deadlock and starvation.
  • Ability to decipher between scheduling algorithms.
  • Understanding the use of memory and virtual memory.
  • Characteristics of serial and parallel devices.
  • Deciphering the concepts behind various file systems
  • Understanding the necessity of security and locating potential system security holes

Potential Course Structure

An Operating Systems course using the below course outline or something similar will introduce students to some fundamental concepts of operating systems combined with the basics of networking and communications. Topics include: memory management, scheduling, concurrent processing, device management, file systems, networking, security, and system performance. A similar course structure is followed by Dr. Dennis Brylow at Marquette University in his sophomore level Operating Systems course. Most of the assignments where students are building Embedded Xinu are done in teams of two.

Course Outline
Week Topics Assignments Track One Assignments Track Two Assignments Track Three
01 C (basics) and OS Structures, Processes C Basics C Basics C Basics
02 C (functions, control flow) and Processes
03 C (pointers, arrays, structs) and Threads C Structs and Pointers C Structs and Pointers C Structs and Pointers
04 CPU Scheduling Synchronous Serial Driver Synchronous Serial Driver SCC Serial Communication
05 CPU Scheduling
06 Process Synchronization Context Switch and Non-Preemptive Scheduling Context Switch and Non-Preemptive Scheduling Context Switch and Non-Preemptive Scheduling
07 Deadlocks Priority Scheduling and Process Termination Priority Scheduling & Preemption Priority Scheduling & Preemption
08 Main Memory and Virtual Memory
09 File System Interface Preemption & Synchronization Interprocess Communication or LL/SC Interprocess Communication
10 File System Implementation
11 Mass-Storage Structure Delta Queues Delta Queues Delta Queues
12 I/O Systems Heap Memory Heap Memory Heap Memory
13 Protection, Security and Distributed System Structures Asynchronous Device Driver Ultra-Tiny File System Parallel Execution Speedup
14 Distributed System Structures
15 Distributed File Systems Ultra-Tiny File System Basic Networking - Ping Inter-core Message Passing
Books

References

[1] Course topics and learning objectives have been adapted from the ACM's Computing Curricula 2001 Computer Science.



This work funded in part by NSF grant DUE-CCLI-0737476.