# HG changeset patch # User shivanidubey # Date 1561098531 -32400 # Node ID be770be61183fd41eaa2ca85cef7316506cc0d63 # Parent 845dadcd3a85cdb4ce7740121c6912d0f49bae4c Updated diff -r 845dadcd3a85 -r be770be61183 build.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build.sh Fri Jun 21 15:28:51 2019 +0900 @@ -0,0 +1,2 @@ +slideshow build -t s6cr slide.md +open slide.html \ No newline at end of file diff -r 845dadcd3a85 -r be770be61183 slide.html --- a/slide.html Fri Jun 21 14:14:31 2019 +0900 +++ b/slide.html Fri Jun 21 15:28:51 2019 +0900 @@ -7,7 +7,7 @@ - Internship in University of the Ryukyus + Studying Operating System Using Docker @@ -70,7 +70,7 @@
-

Internship in University of the Ryukyus

+

Studying Operating System Using Docker

@@ -78,7 +78,7 @@
Shivani Dubey - University of the Ryukyus + Intern, University of the Ryukyus
@@ -100,7 +100,26 @@

Why Docker?

-

The modern platform for high velocity innovation.

+

The modern platform for high velocity innovation. +Docker container is not any specific platform. It can run on any computer, on any infrastructure and in any cloud.

+ + + + + +
+ +

Features of Docker

+ +

What is xv6?

@@ -114,7 +133,30 @@

Scheduling processes by their priorities

-

We added

+

We implemented the concept of scheduling processes by their priorities.

+ +
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;
+}
+
@@ -122,8 +164,9 @@
-

Page 4

-

hi hello

+

Docker Limitations

+ +

Docker environment poses some problems, some of which are difficult to comprehend.

diff -r 845dadcd3a85 -r be770be61183 slide.md --- a/slide.md Fri Jun 21 14:14:31 2019 +0900 +++ b/slide.md Fri Jun 21 15:28:51 2019 +0900 @@ -1,6 +1,6 @@ -title: Internship in University of the Ryukyus +title: Studying Operating System Using Docker author: Shivani Dubey -profile: University of the Ryukyus +profile: Intern, University of the Ryukyus # Introduction @@ -8,19 +8,60 @@ - Docker - xv6 - Why Docker? -The modern platform for high velocity innovation. + +The modern platform for high velocity innovation. +Docker container is not any specific platform. It can run on any computer, on any infrastructure and in any cloud. + +## Features of Docker +- Easy and Faster Configuration +- Increases productivity +- Application Isolation +- Swarm +- Routing Mesh +- Services +- Security Management What is xv6? + xv6 is modern reimplementation of Sixth Edition Unix in ANSI C. ## Scheduling processes by their priorities -We added + + +We implemented the concept of scheduling processes by their priorities. + +```c +int get_highest_priority_proc(void) +{ + int highest_priority; + int pid = 0; + int hpid = -1; + int rpid = 0; -## Page 4 -hi hello \ No newline at end of file + 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; +} +``` + + +## Docker Limitations + + + +Docker environment poses some problems, some of which are difficult to comprehend. \ No newline at end of file diff -r 845dadcd3a85 -r be770be61183 slide.md~ --- a/slide.md~ Fri Jun 21 14:14:31 2019 +0900 +++ b/slide.md~ Fri Jun 21 15:28:51 2019 +0900 @@ -1,26 +1,47 @@ -title: Internship in University of the Ryukyus +title: Studying Operating System Using Docker author: Shivani Dubey -profile: University of the Ryukyus +profile: Intern, University of the Ryukyus # Introduction --Docker --xv6 - +- Docker +- xv6 Why Docker? -The modern platform for high velocity innovation. + +The modern platform for high velocity innovation. +Docker container is not any specific platform. It can run on any computer, on any infrastructure and in any cloud. + +## Features of Docker +- Easy and Faster Configuration +- Increases productivity +- Application Isolation +- Swarm +- Routing Mesh +- Services +- Security Management What is xv6? + xv6 is modern reimplementation of Sixth Edition Unix in ANSI C. ## Scheduling processes by their priorities -## Page 4 -hi hello \ No newline at end of file +We implemented the concept of scheduling processes by their priorities. + +```c +hjhjgbfhv +``` + + +## Docker Limitations + + + +Docker environment poses some problems, some of which are difficult to comprehend. \ No newline at end of file diff -r 845dadcd3a85 -r be770be61183 slide.pdf.html --- a/slide.pdf.html Fri Jun 21 14:14:31 2019 +0900 +++ b/slide.pdf.html Fri Jun 21 15:28:51 2019 +0900 @@ -7,7 +7,7 @@ - Internship in University of the Ryukyus + Studying Operating System Using Docker @@ -55,7 +55,7 @@
-

Internship in University of the Ryukyus

+

Studying Operating System Using Docker

@@ -63,7 +63,7 @@
Shivani Dubey - University of the Ryukyus + Intern, University of the Ryukyus
@@ -84,7 +84,26 @@

Why Docker?

-

The modern platform for high velocity innovation.

+

The modern platform for high velocity innovation. +Docker container is not any specific platform. It can run on any computer, on any infrastructure and in any cloud.

+ + + +
+ +
+ +

Features of Docker

+ +

What is xv6?

@@ -98,7 +117,30 @@

Scheduling processes by their priorities

-

We added

+

We implemented the concept of scheduling processes by their priorities.

+ +
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;
+}
+
@@ -106,8 +148,9 @@
-

Page 4

-

hi hello

+

Docker Limitations

+ +

Docker environment poses some problems, some of which are difficult to comprehend.