Difference between revisions of "Operating Systems (Fall 2015)"

From Soma-notes
Jump to navigation Jump to search
Line 396: Line 396:
     <tr>
     <tr>
       <td>
       <td>
       <p>Sept. 10
       <p>Sept. 23
       </p>
       </p>
       </td>
       </td>
       <td>
       <td>
       <p>[[Operating Systems 2014F: Assignment 1|Assignment 1]]
       <p>[[Operating Systems 2015F: Assignment 1|Assignment 1]]
       </p>
       </p>
       </td>
       </td>
Line 406: Line 406:
     <tr>
     <tr>
       <td>
       <td>
       <p>Sept. 17
       <p>Sept. 30
       </p>
       </p>
       </td>
       </td>
       <td>
       <td>
       <p>[[Operating Systems 2014F: Assignment 2|Assignment 2]]
       <p>[[Operating Systems 2015F: Assignment 2|Assignment 2]]
       </p>
       </p>
       </td>
       </td>
Line 416: Line 416:
     <tr>
     <tr>
       <td>
       <td>
       <p>Sept. 24
       <p>Oct. 7
       </p>
       </p>
       </td>
       </td>
       <td>
       <td>
       <p>[[Operating Systems 2014F: Assignment 3|Assignment 3]]
       <p>[[Operating Systems 2015F: Assignment 3|Assignment 3]]
       </p>
       </p>
       </td>
       </td>
Line 426: Line 426:
     <tr>
     <tr>
       <td>
       <td>
       <p>'''Oct. 4''' (extended)
       <p>Oct. 14
       </p>
       </p>
       </td>
       </td>
       <td>
       <td>
       <p>[[Operating Systems 2014F: Assignment 4|Assignment 4]]
       <p>[[Operating Systems 2015F: Assignment 4|Assignment 4]]
       </p>
       </p>
       </td>
       </td>
Line 436: Line 436:
     <tr>
     <tr>
       <td>
       <td>
       <p>Oct. 16 (Thurs.)
       <p>Oct. 21
       </p>
       </p>
       </td>
       </td>
       <td>
       <td>
       <p>[[Operating Systems 2014F: Assignment 5|Assignment 5]]
       <p>[[Operating Systems 2015F: Assignment 5|Assignment 5]]
       </p>
       </p>
       </td>
       </td>
Line 446: Line 446:
     <tr>
     <tr>
       <td>
       <td>
       <p>Nov. 12
       <p>Nov. 4
       </p>
       </p>
       </td>
       </td>
       <td>
       <td>
       <p>[[Operating Systems 2014F: Assignment 6|Assignment 6]]
       <p>[[Operating Systems 2015F: Assignment 6|Assignment 6]]
       </p>
       </p>
       </td>
       </td>
Line 456: Line 456:
     <tr>
     <tr>
       <td>
       <td>
       <p>Nov. 20
       <p>Nov. 11
       </p>
       </p>
       </td>
       </td>
       <td>
       <td>
       <p>[[Operating Systems 2014F: Assignment 7|Assignment 7]]
       <p>[[Operating Systems 2015F: Assignment 7|Assignment 7]]
       </p>
       </p>
       </td>
       </td>
Line 466: Line 466:
     <tr>
     <tr>
       <td>
       <td>
       <p>Nov. 27
       <p>Nov. 18
       </p>
       </p>
       </td>
       </td>
       <td>
       <td>
       <p>[[Operating Systems 2014F: Assignment 8|Assignment 8]]
       <p>[[Operating Systems 2015F: Assignment 8|Assignment 8]]
       </p>
       </p>
       </td>
       </td>
Line 476: Line 476:
     <tr>
     <tr>
       <td>
       <td>
       <p>Dec. 4
       <p>Nov. 25
       </p>
       </p>
       </td>
       </td>
       <td>
       <td>
       <p>[[Operating Systems 2014F: Assignment 9|Assignment 9]]
       <p>[[Operating Systems 2015F: Assignment 9|Assignment 9]]
       </p>
       </p>
       </td>
       </td>

Revision as of 10:17, 18 September 2015

Course Outline

Here is the course outline for COMP 3000: Operating Systems.

Lectures and Exams

Note that the topics below are primarily chapters from the class textbook, Operating Systems: Three Easy Pieces. Note that while introductory and summary dialogues are not linked below, they are worth reading for an informal take on the material.

Note assigned readings are subject to change, please check this page each week.

Date

Topic

Sept. 2

Lecture 1: Introduction

Sept. 9

Lecture 2: (Video only) Processes, Process API

Sept. 16

Lecture 3: Limited Direct Execution, CPU Scheduling, MLFQ

Sept. 18

Lecture 4: Lottery Scheduling, Multi-CPU scheduling

Sept. 23

Lecture 5: Address Spaces, Memory API

Sept. 25

Lecture 6: Address Translation, Segmentation

Sept. 30

Lecture 7: Free space management, Paging

Oct. 2

Lecture 8: TBA

Oct. 7

Lecture 9 (first half), Test 1 (in class)

Oct. 9

Lecture 10: Concurrency and Threads, Locks

Oct. 14

Lecture 11: Concurrent Data Structures, Thread API

Oct. 16

Lecture 12: Condition Variables, Semaphores, Concurrency Problems

Oct. 21

Lecture 13: TLBs, Smaller Tables

Oct. 23

Lecture 14: TBA

Nov. 4

Lecture 15: Hard Disk Drives, File and Directories

Nov. 6

Lecture 16: FSCK and Journaling

Nov. 11

Lecture 17: I/O Devices

Nov. 13

Lecture 18: File System Implementation, FFS

Nov. 18

Lecture 19: Test 2 Review

Nov. 20

Test 2 (in class)

Nov. 25

Lecture 20: Distributed Systems, Swapping: Mechanisms, Swapping: Policies

Nov. 27

Lecture 21: NFS, AFS (optional readings)

Dec. 2

Lecture 22: TBA

Dec. 4

Lecture 23: TBA


Tutorials

Each week you will get a progress grade from 0-4, given to you by a TA. If you are being diligent, you should be able to get 4's every week. The easiest way to get your grade is to come to tutorial and meet with your TA; alternately, you can meet a TA in their office hours or, at their discretion, discuss things with them online.

Date

Tutorials

Sept. 18,22

UNIX Introduction

Sept. 25, 29

TBA

Oct. 2, 6

TBA

Oct. 9, 13

TBA

Oct. 16, 20

TBA

Oct. 23, Nov. 3

TBA

Nov. 6, 10

TBA

Nov. 13, 17

TBA

Nov. 20, 24

TBA

Nov. 27, Dec. 1

TBA

Dec. 4, 8

Project help

Assignments

Due Date

Assignments

Sept. 23

Assignment 1

Sept. 30

Assignment 2

Oct. 7

Assignment 3

Oct. 14

Assignment 4

Oct. 21

Assignment 5

Nov. 4

Assignment 6

Nov. 11

Assignment 7

Nov. 18

Assignment 8

Nov. 25

Assignment 9

Course Software

In this course we will primarily working with Lubuntu, a low-resource variant of Ubuntu Linux distribution. You may use other Linux distributions in the tutorials to complete the assigned work; there will be differences, however, in some aspects (such as installing software), particularly if you use a distribution not based on Ubuntu or Debian.

In the labs

In the SCS labs you should be able to run the course VM by starting Virtualbox (listed in the Applications menu) and selecting the COMP 2406/3000 virtual machine image. After the VM has fully booted you will be automatically logged into the student account; this account has admin privileges and its password is "tneduts!".

We highly recommend running your VM in full-screen mode (select from the menu, not by maximizing the window). Do all of your work inside of the VM; it should be fast enough and you won't have any issues with sharing files or with firewalls/network connectivity.

You can save the work you do from the course VM (in the student account) to your SCS account and restore it to any other copy of the class VM (on your machines or in the labs) by running using the following commands:

 save3000 <SCS username>
 restore3000 <SCS username>
 compare3000 <SCS username>

If you use these commands, use them consistently. That means run restore3000 when you first log in, and run save3000 just before logging out. If you don't do this, you will erase the work that you had done previously when you save.

If you forgot to restore and you want to save, try running this:

  rsync -a -v --progress ~/ <SCS username>@access.scs.carleton.ca:COMP3000/

This is the same as the save3000 command minus the options (--delete and --force) that deletes files in the destination that don't exist in the source. As a check, you may want to add the -n option to do a dry run.

Running the VM on your own machines

If you want to run the VM appliance on your own system (running essentially any desktop operating system you want), just download the virtual appliance file and import. The SHA1 hash of this file is:

 e5613881b28be41f49b82730282d40093388ee71  COMP 2406-3000 Fall 2014.ova

On Windows you can compute this hash for your downloaded file using the command FCIV -sha1 COMP 2406-3000 Fall 2014.ova. If the hash is different from above, your download has been corrupted.

If the application is not VirtualBox, you'll need to:

  • Have the VM platform ignore any errors in the structure of the appliance found during the import process;
  • Uninstall the VirtualBox guest additions by typing starting a terminal application and running
  sudo apt-get purge virtualbox-guest-x11 virtualbox-guest-utils
  • Install your platform's own Linux guest additions, if available.