cse3008 & swe3004: operating systems - androbenchcsl.skku.edu/uploads/swe3004s14/0-plan.pdf ·...

20
CSE3008 & SWE3004: Operating Systems Jin-Soo Kim ([email protected]) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu

Upload: others

Post on 10-May-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CSE3008 & SWE3004: Operating Systems - AndroBenchcsl.skku.edu/uploads/SWE3004S14/0-plan.pdf · O’Reilly & Associates, 2005. CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo

CSE3008 & SWE3004:

Operating Systems

Jin-Soo Kim ([email protected])

Computer Systems Laboratory

Sungkyunkwan University

http://csl.skku.edu

Page 2: CSE3008 & SWE3004: Operating Systems - AndroBenchcsl.skku.edu/uploads/SWE3004S14/0-plan.pdf · O’Reilly & Associates, 2005. CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo

2 CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo Kim ([email protected])

Introduction

CSE3008 schedule

• 09:00 – 11:45 (Mon)

• Lecture room: 21514, Engineering Bldg. I

SWE3004 schedule

• 13:30 – 14:45 (Mon & Wed)

• Lecture room: #85529, Corp. Collaboration Center

Course homepage

• http://csl.skku.edu/SWE3004S14/

• Lecture slides, announcements, exams scores, projects, …

• Don’t waste your time in i-Campus

Page 3: CSE3008 & SWE3004: Operating Systems - AndroBenchcsl.skku.edu/uploads/SWE3004S14/0-plan.pdf · O’Reilly & Associates, 2005. CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo

3 CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo Kim ([email protected])

About Me

Jin-Soo Kim

• Professor @ CE & SSE & SW Dept.

• Computer Systems Laboratory

• Office: 산학협력센터 #85566 (5th floor)

• Email: [email protected]

• URL: http://csl.skku.edu/jinsoo

• Tel: 031-299-4593

• Office hours: Monday & Wednesday

• The best way to contact me is by email.

Page 4: CSE3008 & SWE3004: Operating Systems - AndroBenchcsl.skku.edu/uploads/SWE3004S14/0-plan.pdf · O’Reilly & Associates, 2005. CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo

4 CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo Kim ([email protected])

What is OS?

Computer systems internals

CPU Mem I/O Devices

Operating Systems

Hardware

Software

Architecture

Application

System calls

Page 5: CSE3008 & SWE3004: Operating Systems - AndroBenchcsl.skku.edu/uploads/SWE3004S14/0-plan.pdf · O’Reilly & Associates, 2005. CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo

5 CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo Kim ([email protected])

Why do we learn OS?

To graduate?

To make a better OS or system. • Functionality

• Performance/Cost

• Reliability

• Energy efficiency

To make a new hardware up and running.

To design OS-aware hardware.

To understand computer systems better.

Just for fun!

Page 6: CSE3008 & SWE3004: Operating Systems - AndroBenchcsl.skku.edu/uploads/SWE3004S14/0-plan.pdf · O’Reilly & Associates, 2005. CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo

6 CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo Kim ([email protected])

Prerequisites

Prerequisites

• C programming skills

• Basic knowledge of Unix/Linux systems

• CSE2003 (System Programming) or

SWE2001 (System Programming) or

SSE2030 (Introduction to Computer Systems)

• ICE3003 (Computer Architecture)

Page 7: CSE3008 & SWE3004: Operating Systems - AndroBenchcsl.skku.edu/uploads/SWE3004S14/0-plan.pdf · O’Reilly & Associates, 2005. CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo

7 CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo Kim ([email protected])

Textbook

Operating System Concepts

• Avi Silberschatz, Peter B. Galvin, and Greg Gagne,

8th Edition,

John Wiley & Sons, Inc.

2008.

Page 8: CSE3008 & SWE3004: Operating Systems - AndroBenchcsl.skku.edu/uploads/SWE3004S14/0-plan.pdf · O’Reilly & Associates, 2005. CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo

8 CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo Kim ([email protected])

References (1)

For General Operating System Concepts:

• Modern Operating Systems

(Second Edition)

Andrew S. Tanenbaum,

Prentice-Hall, 2001.

Page 9: CSE3008 & SWE3004: Operating Systems - AndroBenchcsl.skku.edu/uploads/SWE3004S14/0-plan.pdf · O’Reilly & Associates, 2005. CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo

9 CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo Kim ([email protected])

References (2)

For Linux:

• Understanding the Linux Kernel

(Third Edition)

D. Bovet and M. Cesati,

O’Reilly & Associates, 2005.

Page 10: CSE3008 & SWE3004: Operating Systems - AndroBenchcsl.skku.edu/uploads/SWE3004S14/0-plan.pdf · O’Reilly & Associates, 2005. CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo

10 CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo Kim ([email protected])

References (3)

For Windows:

• Windows Internals

(Sixth Edition)

Mark E. Russinovich, David A. Solomon, and Alex Ionescu,

Microsoft Press, 2012.

Page 11: CSE3008 & SWE3004: Operating Systems - AndroBenchcsl.skku.edu/uploads/SWE3004S14/0-plan.pdf · O’Reilly & Associates, 2005. CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo

11 CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo Kim ([email protected])

References (4)

For Solaris:

• Solaris Internals

Richard McDougall and Jim Mauro,

Sun Microsystems, 2001.

Page 12: CSE3008 & SWE3004: Operating Systems - AndroBenchcsl.skku.edu/uploads/SWE3004S14/0-plan.pdf · O’Reilly & Associates, 2005. CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo

12 CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo Kim ([email protected])

References (5)

For Introduction to Computer Systems:

• Computer Systems: A

Programmer’s Perspective

Randal E. Bryant and David R. O’Hallaron, Second Edition,

Prentice-Hall, Inc. 2010.

Page 13: CSE3008 & SWE3004: Operating Systems - AndroBenchcsl.skku.edu/uploads/SWE3004S14/0-plan.pdf · O’Reilly & Associates, 2005. CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo

13 CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo Kim ([email protected])

Course Plan

Lectures

• General operating system concepts

• Case study: Linux

Hands-on projects

• Using Pintos instructional OS

Page 14: CSE3008 & SWE3004: Operating Systems - AndroBenchcsl.skku.edu/uploads/SWE3004S14/0-plan.pdf · O’Reilly & Associates, 2005. CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo

14 CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo Kim ([email protected])

Lectures: Topics

Operating system structure overview

Processes and threads

CPU scheduling

Synchronization

Deadlocks

Memory management

Virtual memory

I/O systems

Storage

File systems

Page 15: CSE3008 & SWE3004: Operating Systems - AndroBenchcsl.skku.edu/uploads/SWE3004S14/0-plan.pdf · O’Reilly & Associates, 2005. CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo

15 CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo Kim ([email protected])

Projects

Lab session

• A separate class with a TA

• Once a week (mandatory)

• Project announcement

• Q&A

• Hints & helps

• Oral tests

• …

Page 16: CSE3008 & SWE3004: Operating Systems - AndroBenchcsl.skku.edu/uploads/SWE3004S14/0-plan.pdf · O’Reilly & Associates, 2005. CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo

16 CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo Kim ([email protected])

Project Schedule

Project 0 (Warming-up) 1 week

Project 1 (Threads) 2 weeks

Project 1 Oral test 1 week

Project 2 (User programs) 4 weeks

Project 2 Oral test 1 week

Project 3 (Virtual memory) 4 weeks

Project 3 Oral test 1 week

This schedule is subject to change

Page 17: CSE3008 & SWE3004: Operating Systems - AndroBenchcsl.skku.edu/uploads/SWE3004S14/0-plan.pdf · O’Reilly & Associates, 2005. CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo

17 CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo Kim ([email protected])

Class Policies (1)

Grading policy (subject to change)

• Class attendance: 10%

• Exams: 35%

• Projects: 55%

Page 18: CSE3008 & SWE3004: Operating Systems - AndroBenchcsl.skku.edu/uploads/SWE3004S14/0-plan.pdf · O’Reilly & Associates, 2005. CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo

18 CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo Kim ([email protected])

Class Policies (2)

Class attendance policy • If you miss one or both of exams, you will fail this

course.

• Do not be late! You should be present in the lecture room when I take class attendance.

• You can miss the class up to four (two for CSE3008) times without any penalty. – Including lab sessions

– For unexcused absences and for excused absences as well

• There will be a (small) bonus for students who attend all the classes and lab sessions.

Page 19: CSE3008 & SWE3004: Operating Systems - AndroBenchcsl.skku.edu/uploads/SWE3004S14/0-plan.pdf · O’Reilly & Associates, 2005. CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo

19 CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo Kim ([email protected])

Class Policies (3)

Cheating policy

• What is cheating? – Copying another student’s solution (or one from the Internet)

and submitting it as your own

– Allowing another student to copy your solution

• What is NOT cheating? – Helping others use systems or tools

– Helping others with high-level design issues

– Helping others debug their code

• Penalty for cheating: – Severe penalty on the grade and report to dept. chair

• Ask helps to your TA if you experience any difficulty

Page 20: CSE3008 & SWE3004: Operating Systems - AndroBenchcsl.skku.edu/uploads/SWE3004S14/0-plan.pdf · O’Reilly & Associates, 2005. CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo

20 CSE3008 & SWE3004: Operating Systems | Spring 2014| Jin-Soo Kim ([email protected])

Questions?