0
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6 <!DOCTYPE html>
|
|
7 <html>
|
|
8 <head>
|
|
9 <meta http-equiv="content-type" content="text/html;charset=utf-8">
|
1
|
10 <title>Studying Operating System Using Docker</title>
|
0
|
11
|
|
12 <meta name="generator" content="Slide Show (S9) v4.1.0 on Ruby 2.3.7 (2018-03-28) [universal.x86_64-darwin16]">
|
|
13 <meta name="author" content="Shivani Dubey" >
|
|
14
|
|
15 <!-- style sheet links -->
|
|
16 <link rel="stylesheet" href="s6/themes/screen.css" media="screen">
|
|
17 <link rel="stylesheet" href="s6/themes/print.css" media="print">
|
|
18 <link rel="stylesheet" href="s6/themes/blank.css" media="screen,projection">
|
|
19
|
|
20 <!-- JS -->
|
|
21 <script src="s6/js/jquery-1.11.3.min.js"></script>
|
|
22 <script src="s6/js/jquery.slideshow.js"></script>
|
|
23 <script src="s6/js/jquery.slideshow.counter.js"></script>
|
|
24 <script src="s6/js/jquery.slideshow.controls.js"></script>
|
|
25 <script src="s6/js/jquery.slideshow.footer.js"></script>
|
|
26 <script src="s6/js/jquery.slideshow.autoplay.js"></script>
|
|
27
|
|
28 <!-- prettify -->
|
|
29 <link rel="stylesheet" href="scripts/prettify.css">
|
|
30 <script src="scripts/prettify.js"></script>
|
|
31
|
|
32 <style>
|
|
33 .slide {page-break-after: always;}
|
|
34 </style>
|
|
35
|
|
36
|
|
37
|
|
38
|
|
39 </head>
|
|
40 <body>
|
|
41
|
|
42 <div class="layout">
|
|
43 <div id="header"></div>
|
|
44 <div id="footer">
|
|
45 <div align="right">
|
|
46 <img src="s6/images/logo.svg" width="200px">
|
|
47 </div>
|
|
48 </div>
|
|
49 </div>
|
|
50
|
|
51 <div class="presentation">
|
|
52
|
|
53 <div class='slide cover'>
|
|
54 <table width="90%" height="90%" border="0" align="center">
|
|
55 <tr>
|
|
56 <td>
|
|
57 <div align="center">
|
1
|
58 <h1><font color="#808db5">Studying Operating System Using Docker</font></h1>
|
0
|
59 </div>
|
|
60 </td>
|
|
61 </tr>
|
|
62 <tr>
|
|
63 <td>
|
|
64 <div align="left">
|
|
65 Shivani Dubey
|
1
|
66 Intern, University of the Ryukyus
|
0
|
67 <hr style="color:#ffcc00;background-color:#ffcc00;text-align:left;border:none;width:100%;height:0.2em;">
|
|
68 </div>
|
|
69 </td>
|
|
70 </tr>
|
|
71 </table>
|
|
72 </div>
|
|
73
|
|
74
|
|
75 <div class='slide'>
|
|
76
|
|
77 <!-- _S9SLIDE_ -->
|
|
78 <h1 id="introduction">Introduction</h1>
|
|
79
|
|
80 <ul>
|
|
81 <li>Docker</li>
|
|
82 <li>xv6</li>
|
|
83 </ul>
|
|
84
|
|
85 <p>Why Docker?</p>
|
|
86
|
1
|
87 <p>The modern platform for high velocity innovation.
|
|
88 Docker container is not any specific platform. It can run on any computer, on any infrastructure and in any cloud.</p>
|
|
89
|
|
90
|
|
91
|
|
92 </div>
|
|
93
|
|
94 <div class='slide'>
|
|
95 <!-- _S9SLIDE_ -->
|
|
96 <h2 id="features-of-docker">Features of Docker</h2>
|
|
97
|
|
98 <ul>
|
|
99 <li>Easy and Faster Configuration</li>
|
|
100 <li>Increases productivity</li>
|
|
101 <li>Application Isolation</li>
|
|
102 <li>Swarm</li>
|
|
103 <li>Routing Mesh</li>
|
|
104 <li>Services</li>
|
|
105 <li>Security Management</li>
|
|
106 </ul>
|
0
|
107
|
|
108 <p>What is xv6?</p>
|
|
109
|
|
110 <p>xv6 is modern reimplementation of Sixth Edition Unix in ANSI C.</p>
|
|
111
|
|
112
|
|
113
|
|
114 </div>
|
|
115
|
|
116 <div class='slide'>
|
|
117 <!-- _S9SLIDE_ -->
|
|
118 <h2 id="scheduling-processes-by-their-priorities">Scheduling processes by their priorities</h2>
|
|
119
|
1
|
120 <p>We implemented the concept of scheduling processes by their priorities.</p>
|
|
121
|
|
122 <pre><code class="language-c">int get_highest_priority_proc(void)
|
|
123 {
|
|
124 int highest_priority;
|
|
125 int pid = 0;
|
|
126 int hpid = -1;
|
|
127 int rpid = 0;
|
|
128
|
|
129 highest_priority=100;
|
|
130 struct proc *p;
|
|
131 for(p = ptable.proc; p < &ptable.proc[NPROC]; p++, pid++){
|
|
132 if(p->state != RUNNABLE) {
|
|
133 continue;
|
|
134 }
|
|
135 rpid = pid;
|
|
136 if (highest_priority > p->priority) {
|
|
137 highest_priority=p->priority;
|
|
138 hpid = pid;
|
|
139 }
|
|
140 }
|
|
141 return hpid > 0?hpid:rpid;
|
|
142 }
|
|
143 </code></pre>
|
0
|
144
|
|
145
|
|
146
|
|
147 </div>
|
|
148
|
|
149 <div class='slide'>
|
|
150 <!-- _S9SLIDE_ -->
|
1
|
151 <h2 id="docker-limitations">Docker Limitations</h2>
|
|
152
|
|
153 <p>Docker environment poses some problems, some of which are difficult to comprehend.</p>
|
0
|
154
|
|
155 </div>
|
|
156
|
|
157
|
|
158 </div><!-- presentation -->
|
|
159 </body>
|
|
160 </html>
|