Please backup your solution1 to lab2 and lab1 before starting the steps below
At first, please remember to save your lab2 solution:
% cd lab-cse/lab1 % git commit -a -m “solution for lab2”
Then, switch to lab1 branch and save the lab1 solution:
% git checkout lab1 % git commit -a -m “save solution for lab1, start to tune YFS”
Then, pull from the repository:
% git pull remote: Counting objects: ... [new branch] lab1-plus -> origin/lab1-plus Already up-to-date
Then, change to lab1-plus branch:
% git checkout lab1-plus
Merge with lab1, and solve the conflict by yourself(if there is):
% git merge lab1
There is no modification of your lab1 solution, so you should be able to compile successfully:
% make
Make sure there's no error in make.
Use FxMark to profile native file system
% cd lab-cse/lab1 % mkdir native % ./fxmark/bin/fxmark --type=YFS --root=./native --ncore=1 --duration=5 # ncpu secs works works/sec 1 5.000600 574976.000000 114981.402232
Use FxMark to profile your YFS
% cd lab-cse/lab1 % sudo ./start.sh % ./fxmark/bin/fxmark --type=YFS --root=./yfs1 --ncore=1 --duration=5 # ncpu secs works works/sec 1 18445139349741.347656 512.000000 0.000000 % sudo ./stop.sh
% make handin
% mv lab1-plus.tgz lab1-plus_[your student id].tgz