Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ON HOLD: Tribler channel downloading experiment #282

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add Channel Download scenarios
Squashed commits :
- Add Multiswarm channel experiment
  • Loading branch information
ardhipoetra committed Jan 25, 2017
commit ab6e2b0149231c734fa81d4f71b7489ca27999b4
79 changes: 67 additions & 12 deletions experiments/tribler/channel_download.scenario
Original file line number Diff line number Diff line change
@@ -1,15 +1,70 @@
@0:0 set_master_member 3081a7301006072a8648ce3d020106052b81040027038192000403cbbfd2dfb67a7db66c88988df56f93fa6e7f982f9a6a0fa8898492c8b8cae23e10b159ace60b7047012082a5aa4c6e221d7e58107bb550436d57e046c11ab4f51f0ab18fa8f58d0346cc12d1cc2b61fc86fe5ed192309152e11e3f02489e30c7c971dd989e1ce5030ea0fb77d5220a92cceb567cbc94bc39ba246a42e215b55e9315b543ddeff0209e916f77c0d747
@0:2 start_dispersy {1-5}
@0:4 start_session {1-5}
@0:10 online {1-5}
@0:10 reset_dispersy_statistics
@0:2 start_dispersy {1-200}
@0:40 start_session
@0:120 online
@0:120 reset_dispersy_statistics
@0:120 annotate start-experiment
@0:121 join {2-3}
# 1 : creator
# 2-51 : dedicated seeder
# 52-170 : peers
# 171 - 200 : flashcrowd all scenario
@0:121 join {2-50}
@0:125 create {1}
@0:127 publish file1 1524288000 {1}
@0:147 publish file2 2524288000 {1}
@0:167 publish file3 3524288000 {1}
@0:200 join {4-5}
@0:250 start_download file1 {2-4}
@0:3400 reset_dispersy_statistics
@0:3300 stop
@0:127 publish file300mb_1 324288000 {1}
@0:147 publish file1gb_1 1524288000 {1}
@0:167 publish file5gb_1 5524288000 {1}
@0:167 publish file300mb_2 324288111 {1}
@0:187 publish file1gb_2 1524288111 {1}
@0:200 join {51-100}
@0:207 publish file5gb_2 5524288111 {1}
@0:300 join {101-150}
@0:400 join {151-200}
@0:400 join {151-201}
@0:600 setup_seeder file300mb_1 324288000 {2-4}
@0:600 setup_seeder file300mb_2 324288111 {5-12}
@0:800 setup_seeder file1gb_1 1524288000 {13-26}
@0:800 setup_seeder file1gb_2 1524288111 {27-34}
@15:0 setup_seeder file5gb_1 5524288000 {35-48}
@15:0 setup_seeder file5gb_2 5524288111 {49-51}
# ready on minute 16'
# wave 1
@0:16:0 start_download file300mb_1 {52-56}
@0:16:10 start_download file300mb_2 {56-62}
@0:16:20 start_download file1gb_1 {63-74}
@0:16:30 start_download file1gb_2 {75-76}
@0:16:40 start_download file5gb_1 {77-81}
@0:16:50 start_download file5gb_2 {82-88}
# wave 2
@2:16:0 start_download file300mb_1 {89-93}
@2:16:10 start_download file300mb_2 {94}
@2:16:20 start_download file1gb_1 {95-96}
@2:16:30 start_download file1gb_2 {97-98}
@2:16:40 start_download file5gb_1 {99}
@3:16:50 start_download file5gb_2 {100-109}
# wave 3
@4:16:0 start_download file300mb_1 {110-114}
@4:16:10 start_download file300mb_2 {115-116}
@4:16:20 start_download file1gb_1 {117-118}
@4:16:30 start_download file1gb_2 {119-122}
@4:16:40 start_download file5gb_1 {123}
@4:16:50 start_download file5gb_2 {124}
# wave 4
@6:16:0 start_download file300mb_1 {125-129}
@6:16:10 start_download file300mb_2 {130-139}
@6:16:20 start_download file1gb_1 {140-142}
# >>>>> None @6:16:30 start_download file1gb_2 {0000}
@6:16:40 start_download file5gb_1 {143-147}
@6:16:50 start_download file5gb_2 {148-149}
# wave 5
@8:16:20 start_download file1gb_1 {150}
@8:16:30 start_download file1gb_2 {151-162}
@8:16:40 start_download file5gb_1 {163-170}
#flashcrowd
@10:16:0 start_download file300mb_1 {171-200}
@10:16:1 start_download file300mb_2 {171-200}
@10:16:2 start_download file1gb_1 {171-200}
@10:16:3 start_download file1gb_2 {171-200}
@10:16:4 start_download file5gb_1 {171-200}
@10:16:5 start_download file5gb_2 {171-200}
@11:58:0 reset_dispersy_statistics
@11:59:0 stop
85 changes: 85 additions & 0 deletions experiments/tribler/channel_download_10s.scenario
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
@0:0 set_master_member 3081a7301006072a8648ce3d020106052b81040027038192000403cbbfd2dfb67a7db66c88988df56f93fa6e7f982f9a6a0fa8898492c8b8cae23e10b159ace60b7047012082a5aa4c6e221d7e58107bb550436d57e046c11ab4f51f0ab18fa8f58d0346cc12d1cc2b61fc86fe5ed192309152e11e3f02489e30c7c971dd989e1ce5030ea0fb77d5220a92cceb567cbc94bc39ba246a42e215b55e9315b543ddeff0209e916f77c0d747
@0:2 start_dispersy {1-84}
@0:20 start_session
@0:60 online
@0:60 reset_dispersy_statistics
@0:60 annotate start-experiment
# 1 : creator (seeder)
# 2-12 : dedicated seeder
# 13-81 : peers
# 81 - 84 : flashcrowd all scenario
@0:60 join {2-20}
@0:60 create {1}
@0:62 publish file1gb_1 1524288001 {1}
@0:64 publish file1gb_2 1524288002 {1}
@0:66 publish file1gb_3 1524288003 {1}
@0:70 publish file5gb_1 5524288007 {1}
@0:73 publish file5gb_2 5524288006 {1}
@0:76 publish file5gb_3 5524288005 {1}
@0:79 publish file5gb_4 5524288004 {1}
@0:81 publish file5gb_5 5524288003 {1}
@0:84 publish file5gb_6 5524288002 {1}
@0:87 publish file5gb_7 5524288001 {1}
@0:88 join {21-40}
@0:92 join {41-60}
@0:105 setup_seeder file1gb_2 1524288002 {2}
@0:106 setup_seeder file1gb_3 1524288003 {3,4}
@0:105 setup_seeder file5gb_3 5524288005 {5}
@0:105 setup_seeder file5gb_4 5524288004 {6}
@0:105 setup_seeder file5gb_5 5524288003 {7,8}
@0:105 setup_seeder file5gb_6 5524288002 {9,10}
@0:105 setup_seeder file5gb_7 5524288001 {11,12}
@0:110 join {61-80}
@0:115 join {81-84}
# wave 1
@2:6 start_download file1gb_1 {13-15}
@2:12 start_download file1gb_2 {16-18}
@2:18 start_download file1gb_3 {19-21}
@2:24 start_download file5gb_1 {22}
@2:30 start_download file5gb_2 {23-25}
@2:36 start_download file5gb_3 {26}
@2:42 start_download file5gb_4 {27-29}
@2:48 start_download file5gb_5 {30}
@2:54 start_download file5gb_6 {33-38}
@3:1 start_download file5gb_7 {39,40}
# wave 2
@1:2:6 start_download file1gb_1 {41}
@1:2:12 start_download file1gb_2 {42}
@1:2:18 start_download file1gb_3 {42}
@1:2:24 start_download file5gb_1 {44}
@1:2:30 start_download file5gb_2 {45}
@1:2:36 start_download file5gb_3 {46}
@1:2:42 start_download file5gb_4 {47}
@1:2:48 start_download file5gb_5 {48}
@1:2:54 start_download file5gb_6 {49}
@1:3:1 start_download file5gb_7 {50}
# wave 3
@2:2:6 start_download file1gb_1 {51,52}
@2:2:12 start_download file1gb_2 {53,54}
@2:2:18 start_download file1gb_3 {55,56}
@2:2:24 start_download file5gb_1 {57}
@2:2:30 start_download file5gb_2 {58-60}
@2:2:36 start_download file5gb_3 {61}
@2:2:42 start_download file5gb_4 {62,63}
@2:3:1 start_download file5gb_7 {64}
#wave 4
@3:2:6 start_download file1gb_1 {65,66}
@3:2:12 start_download file1gb_2 {67,68}
@3:2:18 start_download file1gb_3 {69,70}
@3:2:24 start_download file5gb_1 {71-75}
@3:2:30 start_download file5gb_2 {76}
@3:2:36 start_download file5gb_3 {77,78}
@3:2:42 start_download file5gb_4 {79-81}
#flashcrowd
@4:2:6 start_download file1gb_1 {81-84}
@4:2:12 start_download file1gb_2 {81-84}
@4:2:18 start_download file1gb_3 {81-84}
@4:2:24 start_download file5gb_1 {81-84}
@4:2:30 start_download file5gb_2 {81-84}
@4:2:36 start_download file5gb_3 {81-84}
@4:2:42 start_download file5gb_4 {81-84}
@4:2:48 start_download file5gb_5 {81-84}
@4:2:54 start_download file5gb_6 {81-84}
@4:3:1 start_download file5gb_7 {81-84}
@7:58:0 reset_dispersy_statistics
@7:59:0 stop
21 changes: 21 additions & 0 deletions experiments/tribler/channel_download_1h.scenario
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@0:0 set_master_member 3081a7301006072a8648ce3d020106052b81040027038192000403cbbfd2dfb67a7db66c88988df56f93fa6e7f982f9a6a0fa8898492c8b8cae23e10b159ace60b7047012082a5aa4c6e221d7e58107bb550436d57e046c11ab4f51f0ab18fa8f58d0346cc12d1cc2b61fc86fe5ed192309152e11e3f02489e30c7c971dd989e1ce5030ea0fb77d5220a92cceb567cbc94bc39ba246a42e215b55e9315b543ddeff0209e916f77c0d747
@0:2 start_dispersy {1-5}
@0:10 start_session
@0:12 online
@0:12 reset_dispersy_statistics
@0:12 annotate start-experiment
# 1 : creator
# 2-5 : peers
@0:20 create {1}
@0:25 publish file300mb_1 324288077 {1}
@0:30 publish file1gb_1 1524288077 {1}
@0:60 join {2-5}
@0:60 setup_seeder file1gb_1 1524288077 {2}
# ready on minute 1'
@1:1 start_download file300mb_1 {3}
@5:1 start_download file300mb_1 {4}
@20:1 start_download file1gb_1 {5}
@35:1 start_download file1gb_1 {4}
@40:1 start_download file300mb_1 {5}
@58:0 reset_dispersy_statistics
@59:0 stop
43 changes: 43 additions & 0 deletions experiments/tribler/channel_download_6h.scenario
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
@0:0 set_master_member 3081a7301006072a8648ce3d020106052b81040027038192000403cbbfd2dfb67a7db66c88988df56f93fa6e7f982f9a6a0fa8898492c8b8cae23e10b159ace60b7047012082a5aa4c6e221d7e58107bb550436d57e046c11ab4f51f0ab18fa8f58d0346cc12d1cc2b61fc86fe5ed192309152e11e3f02489e30c7c971dd989e1ce5030ea0fb77d5220a92cceb567cbc94bc39ba246a42e215b55e9315b543ddeff0209e916f77c0d747
@0:2 start_dispersy {1-100}
@0:20 start_session
@0:60 online
@0:60 reset_dispersy_statistics
@0:60 annotate start-experiment
# 1 : creator (seeder)
# 2-20 : dedicated seeder
# 21-70 : peers
# 71 - 100 : flashcrowd all scenario
@0:60 join {2-20}
@0:60 create {1}
@0:62 publish file300mb_1 324288002 {1}
@0:67 publish file5gb_1 5524288002 {1}
@0:72 publish file1gb_1 1524288002 {1}
@0:77 publish file1gb_2 1524288222 {1}
@0:80 join {21-40}
@0:99 join {41-60}
@0:105 setup_seeder file300mb_1 324288002 {2-5}
@0:110 setup_seeder file1gb_1 1524288002 {6-10}
@0:115 setup_seeder file1gb_2 1524288222 {11-12}
@0:120 setup_seeder file5gb_1 5524288002 {13-20}
@0:120 join {61-80}
@0:125 join {81-100}
# wave 1
@2:10 start_download file300mb_1 {21-30}
@2:20 start_download file1gb_1 {31-35}
@2:30 start_download file1gb_2 {36-45}
@2:40 start_download file5gb_1 {46-48}
# wave 2
@3:2:0 start_download file300mb_1 {49-52}
@3:2:20 start_download file1gb_1 {53}
@3:2:30 start_download file1gb_2 {54-58}
@3:2:40 start_download file5gb_1 {59-66}
# wave 3
@4:0:0 start_download file1gb_1 {67-70}
#flashcrowd
@4:2:10 start_download file300mb_1 {71-100}
@4:2:20 start_download file1gb_1 {71-100}
@4:2:30 start_download file1gb_2 {71-100}
@4:2:40 start_download file5gb_1 {71-100}
@5:58:0 reset_dispersy_statistics
@5:59:0 stop