Skip to content

Commit bcf528a

Browse files
committedJun 30, 2020
measurements graphs and pdf
1 parent 0fe2a8c commit bcf528a

10 files changed

+50
-0
lines changed
 

‎README.md

+5
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@ make run-download LOCAL_PATH=/local/path/to/download HADOOP_PATH=/hadoop/directo
2323
make clean
2424
```
2525

26+
## Generate data
27+
Run the script generate_files.sh in order to generate the files for upload.
28+
```bash
29+
./generate_files.sh
30+
```

‎generate_files.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
dd if=/dev/zero of=test1.img bs=1KB count=1
2+
dd if=/dev/zero of=test2.img bs=10KB count=1
3+
dd if=/dev/zero of=test3.img bs=100KB count=1
4+
dd if=/dev/zero of=test4.img bs=1MB count=1
5+
dd if=/dev/zero of=test5.img bs=10MB count=1
6+
dd if=/dev/zero of=test6.img bs=100MB count=1
7+
dd if=/dev/zero of=test7.img bs=1GB count=1
8+
dd if=/dev/zero of=test8.img bs=10GB count=1
9+

‎measurements.pdf

114 KB
Binary file not shown.

‎results/download_bandwidth.png

7.72 KB
Loading

‎results/download_info.txt

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
1000 0.163051495 6133.031776249583
2+
10000 0.032193563 310621.10149162426
3+
100000 0.014325316 6980648.803837905
4+
1000000 0.008510969 1.1749543442115697E8
5+
10000000 0.181013625 5.524446018911559E7
6+
100000000 2.21467671 4.515331720809039E7
7+
1000000000 36.322654902 2.75310271977101E7
8+
2147479552 52.683881797 4.0761604474677965E7

‎results/download_time.png

6.58 KB
Loading

‎results/statistics.txt

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Filename FileLength DownloadTime Bandwidth
2+
hdfs://localhost/uploads/test1.img 1000 0.163051495 6133.031776249583
3+
hdfs://localhost/uploads/test2.img 10000 0.032193563 310621.10149162426
4+
hdfs://localhost/uploads/test3.img 100000 0.014325316 6980648.803837905
5+
hdfs://localhost/uploads/test4.img 1000000 0.008510969 1.1749543442115697E8
6+
hdfs://localhost/uploads/test5.img 10000000 0.181013625 5.524446018911559E7
7+
hdfs://localhost/uploads/test6.img 100000000 2.21467671 4.515331720809039E7
8+
hdfs://localhost/uploads/test7.img 1000000000 36.322654902 2.75310271977101E7
9+
hdfs://localhost/uploads/test8.img 2147479552 52.683881797 4.0761604474677965E7
10+
11+
Filename FileLength UploadTime Bandwidth
12+
upload_files/test1.img 1000 0.083991164 11906.014304076081
13+
upload_files/test2.img 10000 0.09941974 100583.64666815664
14+
upload_files/test3.img 100000 0.102995589 970915.3660939791
15+
upload_files/test4.img 1000000 0.132421695 7551632.683753217
16+
upload_files/test5.img 10000000 0.542187824 1.8443793012954123E7
17+
upload_files/test6.img 100000000 3.933590525 2.542206652279853E7
18+
upload_files/test7.img 1000000000 21.416511069 4.669294624031836E7
19+
upload_files/test8.img 2147479552 65.223679203 3.2924845366607673E7
20+

‎results/upload_bandwidth.png

8.05 KB
Loading

‎results/upload_info.txt

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
1000 0.083991164 11906.014304076081
2+
10000 0.09941974 100583.64666815664
3+
100000 0.102995589 970915.3660939791
4+
1000000 0.132421695 7551632.683753217
5+
10000000 0.542187824 1.8443793012954123E7
6+
100000000 3.933590525 2.542206652279853E7
7+
1000000000 21.416511069 4.669294624031836E7
8+
2147479552 65.223679203 3.2924845366607673E7

‎results/upload_time.png

6.39 KB
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.