Steps to run the benchmark.py
- Edit the benchmark.py to match the mount_dir, server and cache directories.
- Edit the todo variable to vary the range of size of files. Starts from 2k and currently goes to 1GB
- Run the script with "python benchmark.py"
- Outputs for variable file sizes would be written in csv files.
Steps for multiple Clients test Case 1 where clients creates and writes the file
- Edit the paths in clients.py
- Edit the client variable to desirable clients
- Mount the client with " tee output.txt"
- Run the scraper.py on output.txt to get output.csv
Case 2 where clients read the files present at server Perform the same steps with readclients.py
Steps to create random files with gradually increasing size
- Make a directory where the files need to present
- Edit the variables in the script to desired number of files
- File size increases in power of 2