Operating System Homework 3

For the last homework, I am asked about not only the motivation of using scheduler activations, but also some details about Log-Structured File System (LFS), including what the assumptions LFS have and how data reading, writing, and segment cleaning are done in LFS.

Operating System Homework 2

In the first part of the homework, I elaborate the implementation details of Global Memory System (GMS). Later on, I am asked to compare the tradeoff between transparency and optimization across a few operating systems, including Sprite, Xen, and Grapevine. At the end, I compare the lazy evaluation policy between Mach, Exokernel, Xen, and VAX/VMS.

Operating System Homework 1

There are three parts in this homework. In the first part, I need to compare the details between different systems, including Hydra, Multics, Unix, and Pilot. Last, I am asked to provide an operating system example that takes advantage of specialized hardware. Lastly, the question is about the reason for existence of multi-user timesharing system,

Operating System Homework 0

It is a prerequisite homework for one wants to enroll in this class. Problems relate to privileged instructions, synchronization — thread-safe coding , virtual memory — Translation Lookaside Buffer (TLB), and file system — number of disk reads needed for different file access operations.

Latent Variable Homework 2

This homework is about Metropolis-Hastings, Gibbs Sampling, derivation of update rules, modeling a given problem in terms of Probabilistic Graphical Model (PGM), and practically implementing a program to calculate the update step-by-step. Codes are included in the report.