Implement preemptive SJF scheduling on NachOS
Special thanks to Jonathan Huang!!!
Had it not been for you, I would have failed finishing this project. Thank you again for your generousity and timely assistant!
Ubuntu 14.04 LTS 32-bit (Download)
- Install
C-Shell
andg++
sudo apt-get install csh sudo apt-get install g++
- Download
mips-decstation.linux-xgcc.tar.gz
and unzip at root directory.cd / sudo wget --no-check-certificate https://hsn167.cs.nthu.edu.tw/git/root/nachos/-/raw/master/mips-decstation.linux-xgcc.tar.gz sudo tar -zxvf mips-decstation.linux-xgcc.tar.gz
- Clone my repository.
git clone https://github.com/LeoTheBestCoder/Nachos-SJF-Scheduling
- Compile the OS.
cd Nachos-SJF-Scheduling/code make clean make
- Test
userprog/nachos -e test/sjf_test1 -e test/sjf_test2 -d j