<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://homeostasis.scs.carleton.ca/wiki/index.php?action=history&amp;feed=atom&amp;title=DistOS_2023W_2023-03-20</id>
	<title>DistOS 2023W 2023-03-20 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://homeostasis.scs.carleton.ca/wiki/index.php?action=history&amp;feed=atom&amp;title=DistOS_2023W_2023-03-20"/>
	<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=DistOS_2023W_2023-03-20&amp;action=history"/>
	<updated>2026-04-08T03:22:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=DistOS_2023W_2023-03-20&amp;diff=24400&amp;oldid=prev</id>
		<title>Soma: Created page with &quot;==Notes==  &lt;pre&gt; March 20 --------  Project Proposals  - if you want to re-submit, you can, and I will replace the grade with your new one    - Need to finish it by March 27th   - some proposals were just way too broad    - need to narrow it down  - some were too focused on one paper    - needs to cover multiple papers  - some tried to argue for a technical point    - you aren&#039;t doing original research    - focus on what the papers say, have a thesis about patterns...&quot;</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=DistOS_2023W_2023-03-20&amp;diff=24400&amp;oldid=prev"/>
		<updated>2023-03-21T03:46:58Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Notes==  &amp;lt;pre&amp;gt; March 20 --------  Project Proposals  - if you want to re-submit, you can, and I will replace the grade with your new one    - Need to finish it by March 27th   - some proposals were just way too broad    - need to narrow it down  - some were too focused on one paper    - needs to cover multiple papers  - some tried to argue for a technical point    - you aren&amp;#039;t doing original research    - focus on what the papers say, have a thesis about patterns...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Notes==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
March 20&lt;br /&gt;
--------&lt;br /&gt;
&lt;br /&gt;
Project Proposals&lt;br /&gt;
 - if you want to re-submit, you can, and I will replace the grade with your new one&lt;br /&gt;
   - Need to finish it by March 27th&lt;br /&gt;
&lt;br /&gt;
 - some proposals were just way too broad&lt;br /&gt;
   - need to narrow it down&lt;br /&gt;
 - some were too focused on one paper&lt;br /&gt;
   - needs to cover multiple papers&lt;br /&gt;
 - some tried to argue for a technical point&lt;br /&gt;
   - you aren&amp;#039;t doing original research&lt;br /&gt;
   - focus on what the papers say, have a thesis about patterns&lt;br /&gt;
     in their arguments&lt;br /&gt;
&lt;br /&gt;
Remember the thesis comes after you&amp;#039;ve read and understood the papers&lt;br /&gt;
 - represents some of the insight you got from the papers&lt;br /&gt;
&lt;br /&gt;
Borg &amp;amp; Omega&lt;br /&gt;
&lt;br /&gt;
A container&lt;br /&gt;
 - packaged Unix-like userland&lt;br /&gt;
   - generally to be run on a Linux kernel&lt;br /&gt;
   - only dependency is on the Linux kernel, all&lt;br /&gt;
     userspace dependencies are included&lt;br /&gt;
 - popular in the cloud space because allows for composition of workloads on a host&lt;br /&gt;
   - can run without seeing each other with OS virtualization&lt;br /&gt;
     (private filesystem, user ID and process IDs, resource quotas, etc)&lt;br /&gt;
 - note that containers don&amp;#039;t *really* contain from a security perspective&lt;br /&gt;
   - must use advanced OS security mechanisms (SELinux, system call filtering)&lt;br /&gt;
     to keep them separate, even then generally not enough&lt;br /&gt;
   - if running untrusted workloads, generally use hardware virtual machines to separate&lt;br /&gt;
   - area of my research how to do better! (look up bpfcontain, bpfbox)&lt;br /&gt;
   - remember, virtualization is not confinement!&lt;br /&gt;
     (virtualization is like putting on VR goggles, doesn&amp;#039;t change how&lt;br /&gt;
      you can affect the world just what you see)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Remember with Google (Borg, Omega), it is running containers that are trusted (i.e., they made them all), so they don&amp;#039;t have to worry about containers going bad except if they are compromised, and they have other mechanisms to deal with that&lt;br /&gt;
&lt;br /&gt;
AFTER GROUP DISCUSSION&lt;br /&gt;
&lt;br /&gt;
What is Borg?&lt;br /&gt;
 - container orchestration&lt;br /&gt;
 - foundation for Google&amp;#039;s distributed OS&lt;br /&gt;
 - unit of resource management is the container, not the process&lt;br /&gt;
   - notice the fate of UNIX, it isn&amp;#039;t the operating system,&lt;br /&gt;
     it became the new process (rather than make a distributed UNIX)&lt;br /&gt;
&lt;br /&gt;
So they had Borg, why did they make Kubernetes?&lt;br /&gt;
&lt;br /&gt;
How did they make Borg?&lt;br /&gt;
 - Borg is old and dates from the early days of Google&lt;br /&gt;
    - didn&amp;#039;t rely on hardware virtualization since their systems didn&amp;#039;t support it!&lt;br /&gt;
 - so it is full of design choices that made sense at the time, but maybe don&amp;#039;t now&lt;br /&gt;
   - for example, only one IP address per host&lt;br /&gt;
 - Borg was made specifically for Google, co-evolved with it&lt;br /&gt;
   - doesn&amp;#039;t really make sense outside of their environment&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Kubernetes is the Google engineers getting a second chance to build Borg &amp;quot;right&amp;quot;&lt;br /&gt;
 - what they want to use&lt;br /&gt;
 - but really, it is a bit *too* general, can handle&lt;br /&gt;
   Google-scale workloads but very few need that much scalability&lt;br /&gt;
   and the cost is complexity&lt;br /&gt;
&lt;br /&gt;
What is Omega?&lt;br /&gt;
 - research project to do better scheduling than Borg&lt;br /&gt;
 - I&amp;#039;m sure many of the ideas have been put into Borg by now&lt;br /&gt;
&lt;br /&gt;
Scheduling is a classic OS problem&lt;br /&gt;
 - lots of theoretical result&lt;br /&gt;
 - but in practice schedulers are quite messy&lt;br /&gt;
   - need domain-specific knowledge to decide what is important and&lt;br /&gt;
     to understand its needs&lt;br /&gt;
   - will tend to have heterogeneous workloads&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Soma</name></author>
	</entry>
</feed>