Operating Systems Software Eng

Operating Systems Software Eng

TCSS 422 B – Spring 2020 6/4/2020 School of Engineering and Technology FALL 2020 - TCSS 562 TCSS 422: OPERATING SYSTEMS SOFTWARE ENG. FOR CLOUD COMPUTING This is a “cloud computing” course Previous year’s course: http://faculty.washington.edu/wlloyd/courses/tcss562 Course introduces major cloud computing delivery models: HDDs, RAID, File Systems Infrastructure-as-a-Service (IaaS), Platform (PaaS), Functions Final Exam Review (FaaS), Container (CaaS), Software (SaaS) Course features a software development project where we Wes J. Lloyd build and evaluate software entirely for the cloud Fall 2019 focus: developing serverless software: e.g. data School of Engineering and Technology processing pipelines University of Washington - Tacoma Fall 2020 focus: serverless/cloud-native software, containerization, cloud services TCSS422: Operating Systems [Spring 2020] TCSS422: Operating Systems [Spring 2020] June 4, 2020 June 4, 2020 L19.2 School of Engineering and Technology, University of Washington - Tacoma School of Engineering and Technology, University of Washington - Tacoma NEXT YEAR - TCSS 498/499 (ANY QUARTER) TCSS 562 – CLOUD COMPUTING - 2 UNDERGRADUATE READIN/RESEARCH IN CSS Class does not have prerequisites Independent study in “cloud computing” TCSS 422 provides good foundation – we use Linux Work to collaboratively draft a proposal and submit to Dr. Chinn, CSS Chair for Approval If interested in enrolling, contact by email Focus on variety of topics related to cloud/distributed systems Can take 1 x 500-level class, counts as 400-level elective Variable credits from 1 to 5 . SAVINGS: able to take graduate course and only pay Involves participation in weekly research group meeting undergraduate tuition . Spring 2020: currently Wednesday at 12:30p DOUBLE-DIP !! Usually 1 or 2 one-on-one or small group meeting during week . Class taken in last quarter of undergrad can be used twice Contact by email if interested . Once as a undergraduate elective towards graduation Identify preferred quarter(s) . Once as a graduate elective towards the Masters in Number of credits Computer Science & Systems (MSCSS) degree Can take up to 10 credits TCSS 498/499 - CSS elective credits TCSS422: Operating Systems [Spring 2020] TCSS422: Operating Systems [Spring 2020] June 4, 2020 L19.3 June 4, 2020 L19.4 School of Engineering and Technology, University of Washington - Tacoma School of Engineering and Technology, University of Washington - Tacoma COURSE EVALUATION: TCSS 422 B OBJECTIVES – 6/4 SPRING 2020 Please complete the course evaluation survey at: Questions from 6/2 TCSS 422 B - Computer Operating Systems: Tutorial 2 (pthreads, locks, conditions) – due Thurs June 4 https://uwt.iasystem.org/survey/106940 Assignment 3 – on Linux kernel programming – New this quarter: offered in “tutorial” format – due Sat June 13 Assignment 2– available in Java or C Quiz 4 – Page Tables – optional – provides practice Tutorial 2– parallel prime number generation problems – to be posted Assignment 3– Kernel Module programming- tutorial format Chapter 37: Hard Disk Drives Course entirely online & recorded Chapter 38: RAID (Redundant array of inexpensive disks)- very brief Paperless daily feedback surveys Chapter 39/40: File Systems – very brief Quizzes with multiple attempts nd Problem solutions w/ document cam Practice Final Exam Questions – Today – 2 hour Open book, note, and internet midterm and final exam Slide revisions & refactoring for 100% online delivery TCSS422: Operating Systems [Spring 2020] TCSS422: Operating Systems [Spring 2020] June 4, 2020 L19.5 June 4, 2020 L19.6 School of Engineering and Technology, University of Washington - Tacoma School of Engineering and Technology, University of Washington - Tacoma Slides by Wes J. Lloyd L19.1 TCSS 422 B – Spring 2020 6/4/2020 School of Engineering and Technology MATERIAL / PACE FEEDBACK FROM 6/2 Please classify your perspective on material covered in today’s class (35 respondents): 1-mostly review, 5-equal new/review, 10-mostly new Average – 6.44 ( from 7.3) Please rate the pace of today’s class: 1-slow, 5-just right, 10-fast Average – 5.56 ( from 5.83) TCSS422: Operating Systems [Spring 2020] TCSS422: Operating Systems [Spring 2020] June 4, 2020 L19.7 June 4, 2020 L19.8 School of Engineering and Technology, University of Washington - Tacoma School of Engineering and Technology, University of Washington - Tacoma OBJECTIVES – 6/4 OBJECTIVES – 6/4 Questions from 6/2 Questions from 6/2 Tutorial 2 (pthreads, locks, conditions) – due Thurs June 4 Tutorial 2 (pthreads, locks, conditions) – due Thurs June 4 Assignment 3 – on Linux kernel programming – Assignment 3 – on Linux kernel programming – offered in “tutorial” format – due Sat June 13 offered in “tutorial” format – due Sat June 13 Quiz 4 – Page Tables – optional – provides practice Quiz 4 – Page Tables – optional – provides practice problems – to be posted problems – to be posted Chapter 37: Hard Disk Drives Chapter 37: Hard Disk Drives Chapter 38: RAID (Redundant array of inexpensive disks)- very brief Chapter 38: RAID (Redundant array of inexpensive disks)- very brief Chapter 39/40: File Systems – very brief Chapter 39/40: File Systems – very brief Practice Final Exam Questions – Today – 2 nd hour Practice Final Exam Questions – Today – 2 nd hour TCSS422: Operating Systems [Spring 2020] TCSS422: Operating Systems [Spring 2020] June 4, 2020 L19.9 June 4, 2020 L19.10 School of Engineering and Technology, University of Washington - Tacoma School of Engineering and Technology, University of Washington - Tacoma OBJECTIVES – 6/4 Questions from 6/2 Tutorial 2 (pthreads, locks, conditions) – due Thurs June 4 Assignment 3 – on Linux kernel programming – offered in “tutorial” format – due Sat June 13 Quiz 4 – Page Tables – optional – provides practice problems – to be posted CH. 37: Chapter 37: Hard Disk Drives HARD DISK DRIVES Chapter 38: RAID (Redundant array of inexpensive disks)- very brief Chapter 39/40: File Systems – very brief Practice Final Exam Questions – Today – 2 nd hour TCSS422: Operating Systems [Spring 2020] TCSS422: Operating Systems [Spring 2020] June 4, 2020 L19.11 June 4, 2020 School of Engineering and Technology, University of Washington - Tacoma School of Engineering and Technology, University of Washington - Tacoma L19.12 Slides by Wes J. Lloyd L19.2 TCSS 422 B – Spring 2020 6/4/2020 School of Engineering and Technology OBJECTIVES – 6/4 OBJECTIVES Questions from 6/2 Chapter 37 Tutorial 2 (pthreads, locks, conditions) – due Thurs June 4 Assignment 3 – on Linux kernel programming – . HDD Internals offered in “tutorial” format – due Sat June 13 . Seek time Quiz 4 – Page Tables – optional – provides practice problems – to be posted . Rotational latency Chapter 37: Hard Disk Drives Chapter 38: RAID (Redundant array of inexpensive disks)- very brief . Transfer speed Chapter 39/40: File Systems – very brief . Capacity Practice Final Exam Questions – Today – 2 nd hour . Scheduling algorithms TCSS422: Operating Systems [Spring 2020] TCSS422: Operating Systems [Spring 2020] June 4, 2020 L19.13 June 4, 2020 L19.14 School of Engineering and Technology, University of Washington - Tacoma School of Engineering and Technology, University of Washington - Tacoma EXAMPLE: SIMPLE DISK DRIVE HARD DISK STRUCTURE Single track disk Head: one per surface of drive Arm: moves heads across surface of platters TCSS422: Operating Systems [Spring 2020] TCSS422: Operating Systems [Spring 2020] June 4, 2020 L19.15 June 4, 2020 L19.16 School of Engineering and Technology, University of Washington - Tacoma School of Engineering and Technology, University of Washington - Tacoma SINGLE-TRACK LATENCY: SEEK TIME THE ROTATIONAL DELAY Rotational latency (Trotation): time to rotate to desired sector Average Trotation is ~ about half the time of a full rotation How to calculate Trotation from rpm 1. Calculate time for 1 rotation based on rpm > Convert rpm to rps 2. Divide by two (average rotational latency) 7200rpm = 8.33ms per rotation /2= ~4.166ms Seek time (Tseek): time to move disk arm to proper track 10000rpm = 6ms per rotation /2= ~3ms Most time consuming HDD operation 15000rpm = 4ms per rotation /2= ~2ms TCSS422: Operating Systems [Spring 2020] TCSS422: Operating Systems [Spring 2020] June 4, 2020 L19.17 June 4, 2020 L19.18 School of Engineering and Technology, University of Washington - Tacoma School of Engineering and Technology, University of Washington - Tacoma Slides by Wes J. Lloyd L19.3 TCSS 422 B – Spring 2020 6/4/2020 School of Engineering and Technology FOUR PHASES OF SEEK HDD I/O Acceleration coasting deceleration settling Data transfer .Final phase of I/O: time to read or write to disk Acceleration: the arm gets moving surface Coasting: arm moving at full speed Complete I/O cycle: Deceleration: arm slow down 1. Seek (accelerate, coast, decelerate, settle) 2. Wait on rotational latency (until track aligns) Settling: Head is carefully positioned over track 3. Data transfer . Settling time is often high, from .5 to 2ms TCSS422: Operating Systems [Spring 2020] TCSS422: Operating Systems [Spring 2020] June 4, 2020 L19.19 June 4, 2020 L19.20 School of Engineering and Technology, University of Washington - Tacoma School of Engineering and Technology, University of Washington - Tacoma TRACK SKEW TRACK SKEW - 2 Sectors are offset across tracks to allow time for head to reposition for sequential reads Without track skew, when head is repositioned sector would have already

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    16 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us