con nam mo adidas phat
_oo0oo_
o8888888o
88" . "88
(| -_- |)
0\ = /0
___/`---'\___
.' \| |// '.
/ \||| : |||// \
/ _||||| -:- |||||- \
| | \\ - /// | |
| \_| ''\---/'' |_/ |
\ .-\__ '-' ___/-. /
___'. .' /--.--\ `. .'___
."" '< `.___\_<|>_/___.' >' "".
| | : `- \`.;`\ _ /`;.`/ - ` : | |
\ \ `_. \_ __\ /__ _/ .-` / /
=====`-.____`.___ \_____/___.-`___.-'=====
`=---='
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This is a simple program which implements the following Disk-scheduling algorithms: FCFS, SSTF, SCAN, C-SCAN, LOOK, and C-LOOK
- FCFS:
- SSTF:
- SCAN:
- LOOK:
- NetBeans 8.2
- Clone this repo using Git Bash or Github Desktop, or Download as zip.
- Import the project to your JRE or JDK (NetBeans or Eclipse are recommended).
- Clean and build, then run the project (If you wanna use command line, then try this after compiling the project:
java -jar "(file pathname)\DiskSchedulingAlgs\dist\DiskSchedulingAlgs.jar"
- Calculating seek time with each algorithm.
- Supporting 3 type of requests input:
- From keyboard
- From requests.txt. For example:
Requests sequence: 176 79 34 60 92 11 41 114 Total cylinders: 200
- Generate a random requests sequence.
- Save the results in the text file corresponding to each algorithm.
- Z3r4t05
- lehoangan2906
- Other members