Files are moved between SSD and HDD without the user's knowledge with a goal to optimize file IO performance. The file movement is decided based on the access pattern and is dynamic in nature.
- Maps file ID to physical file path
- SSD is always kept full
- Keep hot files on SSD
- Makes use of least recently used and most frequently used
- File swaps between SSD and HDD are made only when the priority differ by a threshold
File access pattern data set : http://ita.ee.lbl.gov/html/contrib/WorldCup.html. All files in the access pattern data set are generated and the access pattern is simulated to study the performance gain in terms of time taken to read all files in the access pattern.
- libpqueue
git clone cd https://github.com/vy/libpqueue.git
cd libpqueue/src
gcc -c pqueue.c -o pqueue.o
ar rcs libpqueue.a pqueue.o
- Ubuntu 14.04 machine
- USB pendrive
To increase the number of messages that can be held in message queue
sudo sh -c 'echo 8000 > /proc/sys/fs/mqueue/msg_max'
sh build.sh
- Create a folder in pendrive, name of your choice
- Open run.sh and change path of USB folder
sh run.sh
This will run the 4 test cases as illustarted in the paper / presentation Time taken for each of the 4 tests can be verified from console prints
Increased the read throughput by approximately 100% when compared to a static allocation strategy
- Add locking mechanism while modifying metadata