1 / 26

Extending Operating System Research into the Cloud – The SkyLab Project

Extending Operating System Research into the Cloud – The SkyLab Project. Alexander Schmidt HPI, Potsdam University, Germany Cloud Futures 2010. Operating Systems and Middleware. Prof. Dr. rer . nat. habil . Andreas Polze Dipl.-Inf. Alexander Schmidt

nika
Download Presentation

Extending Operating System Research into the Cloud – The SkyLab Project

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Extending Operating System Research intotheCloud – The SkyLab Project Alexander Schmidt HPI, Potsdam University, Germany CloudFutures 2010

  2. Operating Systems and Middleware Prof. Dr. rer. nat. habil. Andreas Polze Dipl.-Inf. Alexander Schmidt Hasso-Plattner-Institute for Software Engineeringat University Potsdam Prof.-Dr.-Helmert-Str. 2-314482 Potsdam, Germany

  3. Operating Systems and Middleware Prof. Dr. rer. nat. habil. Andreas Polze Dipl.-Inf. Alexander Schmidt Hasso-Plattner-Institute for Software Engineeringat University Potsdam Prof.-Dr.-Helmert-Str. 2-314482 Potsdam, Germany

  4. Agenda • TeachingOperating System at HPI • Microsoft Windows Curriculum ResourceKit • Windows Research Kernel • Programming Projects • SkyLab • Conclusions Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

  5. msdnaa.net - featured curriculum content

  6. Curriculum Resource Kit Background • CRK + WRK + ProjectOZ • Initiatives to encourage and support teaching Windows in OS curricula • Based on current Microsoft technology • Freely accessible Windows Research Kernel (WRK) • Stripped down Windows Server 2003 • Architected by Dave Probert • ProjectOZ: environment for OS experiments based on native NT APIs • Authored by Dave Probert • Windows as a vehicle for explaining OS concepts • Started out as an add-on to a traditional Unix-based OS curriculum; has evolved to a self-contained OS course • Requires the incorporation of a fair amount of Unix know how • i.e.; scheduler, file system, inter-process communication, networking • Explains the rationales for certain Windows design decisions Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

  7. CRK Course Layout (1) • 1. Overview of Operating Systems – (Core) OS1 • 2. Operating System Principles – (Core) OS2 • 3. Concurrency – (Core) OS3 • 4. Scheduling and Dispatch – (Core) OS4 • 5. Memory Management – (Core) OS5 • 6. Device Management - The Input/Output System – (Elective) OS6 • 7. Protection and Security – (Elective) OS7 • 8. File System – (Elective) OS8 • 9. Real-time and Embedded Systems – (Elective) OS9 • 10. Fault-tolerance – (Elective) OS10 • 11. System Performance Evaluation and Troubleshooting– (Elective) OS11 • 12. Scripting – (Elective) OS12 • A. Windows Networking – (Supplementary) • B. Comparing the Linux and Windows Kernels (Supplementary) • C. Windows – Unix Interoperability (Supplementary) Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

  8. CRK Course Layout (2) • 1. Overview of Operating Systems – (Core) OS1 • 2. Operating System Principles – (Core) OS2 • 2.1. Structuring of the Windows Operating System (Core) • 2.2. Windows Core System Mechanisms (Core) • 2.3. Windows on Windows - OS Personalities (Core) • 2.4. The Windows API – Naming Conventions, Types (Core) • 2.5. OS Principles labs, quizzes, and assignments • Further information: • Polze and Probert. Teaching Operating Systems – The Windows Case. SIGCSE ’06 Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

  9. Windows Research Kernel (WRK) • Stripped down Windows Server 2003 sources • Only kernel itself, no drivers, GUI, user-mode components • Missing components: HAL, power management, plug-and-play • Released in 2006 • Freely available to academic institutions • Encouraged by license: • Modification • Publication (of excerpts) Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

  10. WRK Assignments • Debugging/Instrumenting the WRK • Boot phase • Process creation • Single-step debugging the WRK in a virtual machine • Creating a new system call • Hide/Show a specified process from the system • Memorize hidden processes • Implement a system service DLL • Implementing a synchronization primitive • Implement reader/writer locks inside the WRK • Run provided test program Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

  11. Memory Management Project Assignment • Design a working set data structure • Manage resident pages • Discuss lookup overhead efficiency • Discuss space complexity • Implement page replacement strategy • FIFO • Student-defined alternative • Run provided test workload • Document page faults • Experience Belady‘s anomaly Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

  12. WRK/CRK Experiences & Observations • Virtualization technology • Simplifiedtesting • Simplifieddistributing of exercises and demos • Available on multiple platforms • Steeplearningcurve • Configurationoverhead • Code complexity • Increasedusage of personal laptops • Support of multiple platforms • Variation in operatingsystems and compute power Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

  13. Agenda • TeachingOperating System at HPI • SkyLab • Idea and Concepts • Architecture • Requirements • Conclusions Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

  14. WhySkylab? Courtesy: NASA Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

  15. Skylab SP-401 Skylab, Classroom in Space Edited by Lee B. Summerlin Scientific and Technical Information Office National Aeronautics and Space Administration Washington, D.C. 1977 Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

  16. SkyLab in the Cloud • Virtualizelaboratoryenvironment • No physicalmachines in university • Set of virtualmachines in thecloud • Migrateexercises and demosintothecloud • VM template(s) per exercise • Instantiation on demand on lab VMs • Facilitateexperimentsthroughremotedisplaysession • Experiments in Web browser • Support of variousplatforms and compute power Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

  17. Concepts • Roles • Faculty • Tutor • Student • Laboratory • Number of Workspaces • AssociatedwithFaculty • ParticipatedbyStudents • Experiment • Virtualmachinetemplate (demos, experiments) • Temporarilyassigned to a course Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

  18. SkyLabArchitecture Virtualized Laboratory Virtualized Laboratory Virtualized Laboratory WRK Repository ... Persistent Storage Exp Workspace Workspace Workspace Cloud Infrastructure VM VM VM VM VM VM VM VM VM SkyLab Manager Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

  19. SkyLab―Laboratory Allocation Workflow Virtualized Laboratory ... Workspace Workspace Workspace SkyLab Manager Allocate Lab Faculty Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

  20. SkyLab―Experiment InstantiationWorkflow Virtualized Laboratory Virtualized Laboratory Virtualized Laboratory Exp. Exp. Exp. WRK Repository VM VM VM ... Persistent Storage VM VM Exp VM Workspace Workspace Workspace Cloud Infrastructure VM VM VM VM VM VM VM VM VM SkyLab Manager Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

  21. SkyLab―Running an Experiment Virtualized Laboratory Virtualized Laboratory Virtualized Laboratory Exp. Exp. Exp. WRK Repository Persist Updates VM VM VM ... Persistent Storage VM VM Exp VM Workspace Workspace Workspace Cloud Infrastructure VM VM VM RDP Dispatch SkyLab Manager RDP Session PullingResults Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

  22. Which Cloud Platform? • Requirements • Arbitrary VM images • Remote desktop session • Virtual serial port • Differencing virtual hard drives Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

  23. Agenda • TeachingOperating System at HPI • SkyLab • Conclusions Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

  24. Conclusions • WRK greatforteachingoperatingsystems • Personal laptops as alternative to facultyprovided CS laboratories • SkyLab: virtuallaboratory in thecloudfor OS projects • Set of experiments • Executionthrough Web interface • Run experimentswhereveryouwant • SkyLab: challengingrequirementsfor Cloud vendors Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

  25. ThankYouforYourAttention! • WRK greatforteachingoperatingsystems • Personal laptops as alternative to facultyprovided CS laboratories • SkyLab: virtuallaboratory in thecloudfor OS projects • Set of experiments • Executionthrough Web interface • Run experimentswhereveryouwant • SkyLab:demandingrequirements Contact: alexander.schmidt@hpi.uni-potsdam.de http://www.dcl.hpi.uni-potsdam.de/research/WRK Cloud Futures 2010 | Alexander Schmidt | April 8, 2010

More Related