Mercurial > hg > Members > shivanidubey > Internship_presentation
comparison slide.md @ 1:be770be61183
Updated
author | shivanidubey |
---|---|
date | Fri, 21 Jun 2019 15:28:51 +0900 |
parents | 845dadcd3a85 |
children | 54dd75a92d04 |
comparison
equal
deleted
inserted
replaced
0:845dadcd3a85 | 1:be770be61183 |
---|---|
1 title: Internship in University of the Ryukyus | 1 title: Studying Operating System Using Docker |
2 author: Shivani Dubey | 2 author: Shivani Dubey |
3 profile: University of the Ryukyus | 3 profile: Intern, University of the Ryukyus |
4 | 4 |
5 # Introduction | 5 # Introduction |
6 | 6 |
7 | 7 |
8 - Docker | 8 - Docker |
9 - xv6 | 9 - xv6 |
10 | 10 |
11 | |
12 Why Docker? | 11 Why Docker? |
13 | 12 |
14 The modern platform for high velocity innovation. | |
15 | 13 |
14 The modern platform for high velocity innovation. | |
15 Docker container is not any specific platform. It can run on any computer, on any infrastructure and in any cloud. | |
16 | |
17 ## Features of Docker | |
18 | |
19 - Easy and Faster Configuration | |
20 - Increases productivity | |
21 - Application Isolation | |
22 - Swarm | |
23 - Routing Mesh | |
24 - Services | |
25 - Security Management | |
16 | 26 |
17 What is xv6? | 27 What is xv6? |
28 | |
18 | 29 |
19 xv6 is modern reimplementation of Sixth Edition Unix in ANSI C. | 30 xv6 is modern reimplementation of Sixth Edition Unix in ANSI C. |
20 | 31 |
21 ## Scheduling processes by their priorities | 32 ## Scheduling processes by their priorities |
22 | 33 |
23 We added | |
24 | 34 |
25 ## Page 4 | 35 |
26 hi hello | 36 We implemented the concept of scheduling processes by their priorities. |
37 | |
38 ```c | |
39 int get_highest_priority_proc(void) | |
40 { | |
41 int highest_priority; | |
42 int pid = 0; | |
43 int hpid = -1; | |
44 int rpid = 0; | |
45 | |
46 highest_priority=100; | |
47 struct proc *p; | |
48 for(p = ptable.proc; p < &ptable.proc[NPROC]; p++, pid++){ | |
49 if(p->state != RUNNABLE) { | |
50 continue; | |
51 } | |
52 rpid = pid; | |
53 if (highest_priority > p->priority) { | |
54 highest_priority=p->priority; | |
55 hpid = pid; | |
56 } | |
57 } | |
58 return hpid > 0?hpid:rpid; | |
59 } | |
60 ``` | |
61 | |
62 | |
63 ## Docker Limitations | |
64 | |
65 | |
66 | |
67 Docker environment poses some problems, some of which are difficult to comprehend. |