Mercurial > hg > Members > shivanidubey > Internship_presentation
view slide.pdf.html @ 2:54dd75a92d04
fix slies
author | shivanidubey |
---|---|
date | Sat, 22 Jun 2019 12:32:52 +0900 |
parents | be770be61183 |
children | 623da64aac7a |
line wrap: on
line source
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <title>Studying Operating System Using Docker Platform</title> <meta name="generator" content="Slide Show (S9) v4.1.0 on Ruby 2.3.7 (2018-03-28) [universal.x86_64-darwin16]"> <meta name="author" content="Shivani Dubey" > <!-- style sheet links --> <link rel="stylesheet" href="s6/themes/screen.css" media="screen"> <link rel="stylesheet" href="s6/themes/print.css" media="print"> <link rel="stylesheet" href="s6/themes/blank.css" media="screen,projection"> <!-- JS --> <script src="s6/js/jquery-1.11.3.min.js"></script> <script src="s6/js/jquery.slideshow.js"></script> <script src="s6/js/jquery.slideshow.counter.js"></script> <script src="s6/js/jquery.slideshow.controls.js"></script> <script src="s6/js/jquery.slideshow.footer.js"></script> <script src="s6/js/jquery.slideshow.autoplay.js"></script> <!-- prettify --> <link rel="stylesheet" href="scripts/prettify.css"> <script src="scripts/prettify.js"></script> <style> .slide {page-break-after: always;} </style> </head> <body> <div class="layout"> <div id="header"></div> <div id="footer"> <div align="right"> <img src="s6/images/logo.svg" width="200px"> </div> </div> </div> <div class="presentation"> <div class='slide cover'> <table width="90%" height="90%" border="0" align="center"> <tr> <td> <div align="center"> <h1><font color="#808db5">Studying Operating System Using Docker Platform</font></h1> </div> </td> </tr> <tr> <td> <div align="left"> Shivani Dubey Intern, University of the Ryukyus <hr style="color:#ffcc00;background-color:#ffcc00;text-align:left;border:none;width:100%;height:0.2em;"> </div> </td> </tr> </table> </div> <div class='slide'> <!-- _S9SLIDE_ --> <h1 id="why-operating-system">Why Operating System?</h1> <ul> <li> <p>Backbone of computer system</p> </li> <li> <p>Manages the computer’s memory and processes, as well as all of its software and hardware.</p> </li> </ul> </div> <div class='slide'> <!-- _S9SLIDE_ --> <h1 id="introduction">Introduction</h1> <ul> <li> <p>Docker</p> </li> <li> <p>xv6</p> </li> </ul> <p>What is Docker?</p> <ul> <li>The modern platform for high velocity innovation</li> <li>Docker has products that use operating system level virtualization to develop and deliver software in packages called containers</li> <li>Docker can run on any computer, on any infrastructure and in any cloud</li> </ul> <p>What is xv6?</p> <ul> <li> <p>A Unix-like operating system developed in MIT.</p> </li> <li> <p>xv6 is modern reimplementation of Sixth Edition Unix in ANSI C.</p> </li> </ul> </div> <div class='slide'> <!-- _S9SLIDE_ --> <h1 id="what-helped-us">What helped us</h1> <ul> <li> <p>emacs editor (amidst the editor war between vi and emacs!)</p> </li> <li> <p>homebrew (it simplifies installation of software in macOS)</p> </li> <li> <p>Mercurial repository of the lab where we saved everything using ssh</p> </li> </ul> </div> <div class='slide'> <!-- _S9SLIDE_ --> <h2 id="why-docker">Why Docker?</h2> <p>Features of Docker:</p> <ul> <li> <p>Easy and Faster Configuration</p> </li> <li> <p>Increases productivity</p> </li> <li> <p>Application Isolation</p> </li> <li> <p>Services</p> </li> <li> <p>Security Management</p> </li> </ul> </div> <div class='slide'> <!-- _S9SLIDE_ --> <h2 id="why-xv6">Why xv6?</h2> <ul> <li> <p>It gives a good insight into Command Line Interface of Unix OS</p> </li> <li> <p>xv6 is modern reimplementation of Sixth Edition Unix in ANSI C</p> </li> </ul> </div> <div class='slide'> <!-- _S9SLIDE_ --> <h1 id="scheduling-processes-by-their-priorities">Scheduling processes by their priorities</h1> <ul> <li> <p>Added getpriority() and setpriority() and get_highest_priority() functions in proc.c file of xv6</p> </li> <li> <p>Added a test function testpriority() in usertests.c file of xv6 to implement our algorithm</p> </li> </ul> </div> <div class='slide'> <!-- _S9SLIDE_ --> <h2 id="the-function">The function</h2> <pre><code class="language-c">int get_highest_priority_proc(void) { int highest_priority; int pid = 0; int hpid = -1; int rpid = 0; highest_priority=100; struct proc *p; for(p = ptable.proc; p < &ptable.proc[NPROC]; p++, pid++){ if(p->state != RUNNABLE) { continue; } rpid = pid; if (highest_priority > p->priority) { highest_priority=p->priority; hpid = pid; } } return hpid > 0?hpid:rpid; } </code></pre> </div> <div class='slide'> <!-- _S9SLIDE_ --> <h2 id="docker-limitation">Docker Limitation</h2> <p>Mutliple images present in repository due to form command.</p> <p>If repository breaks, Docker poses problem</p> <p>What can be done?</p> <p>We can keep track of images of Docker</p> </div> <div class='slide'> <!-- _S9SLIDE_ --> <h1 id="conclusion">Conclusion</h1> <ul> <li> <p>Docker environment poses some problems, some of which are difficult to comprehend</p> </li> <li> <p>Storage is difficult too</p> </li> <li> <p>Yet, it gives a good insight of the underlying important concepts of operating system beacuse it is well documented, fast and uses less resources</p> </li> </ul> </div> </div><!-- presentation --> </body> </html>