sbarrack / CS570

Operating systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CS570

Operating systems

a01

Tokenizer

Compile make
Run ./tokenizer

a02

Shell

Compile make
Run ./mush

a03_threads

POSIX threads

Compile make
Run ./thread_demo

a03_pagetable

Page table

This assignment was done with Joseph Couri.
The traces were collected from a Pentium II running Windows 2000 and are courtesy of the Brigham Young University Trace Distribution Center. The files byutr.h and byu_tracereader.c implement a small program to read and print trace files.

Compile make
Run ./pagetable [trace] [levels] [-n pages] [-p dump] [-t]
e.g. ./pagetable trace.sample.tr 4 4 8 -n 1000 -p page_dump.txt -t

Argument Description
trace The trace file with the page addresses to be used
levels The bit width for each level in the page address; there will be as many levels as there are numbers provided
-n pages The number of pages to process
-p dump The file to dump the page table
-t Print the page to frame translations to stdout

a05

Semaphores

This assignment was done with Joseph Couri.

Compile make
Run ./mizzo [-L Lucy] [-E Ethel] [-f frogs] [-e snails]
e.g. ./mizzo –f 600 –e 400 –L 300 –E 500

Argument Description
-L Lucy Delay in ms for the "Lucy" consumer
-E Ethel Delay in ms for the "Ethel" consumer
-f frogs Delay in ms for the frog producer
-e snails Delay in ms for the snail producer

About

Operating systems


Languages

Language:C 58.1%Language:C++ 40.3%Language:Makefile 1.6%