Commit Graph
69 Commits
Author SHA1 Message Date
Sichen Song 40eae0328b catchunks: avoid excess window decrease in certain conditions
Refs: #5202
Change-Id: I7eeed18fbdfc3ef7a5a277da34f9de0c7068a61d
2022-05-23 21:46:03 -04:00
Davide Pesavento b3570c614a build: switch to C++17
Change-Id: Id6217b5c993f3e4726e89773128b565e5f136bb6
2022-02-20 15:35:23 -05:00
Davide Pesavento 5998428e9c Avoid deprecated ndn-cxx functions
Change-Id: I5d9ac045740267db783ff724c938b659b49c40ee
2022-02-16 22:41:03 -05:00
Davide Pesavento f8d9a531dd Eradicate all uses of std::bind()
Change-Id: I6e1ccf2d87b76142e6d519c1a288d03022e4d167
2021-07-30 20:35:06 -04:00
Eric Newberry a209f6747f docs: use typed name components instead of markers
refs #5044

Change-Id: I3083fd733dabca549e5e21d47b42e2dd1e4ea802
2021-03-26 11:02:31 -07:00
Davide Pesavento 7c4246ca67 putchunks: increase the default segment size to 8000 bytes
Change-Id: I16c2e21f168c77259d6bdc47b86fceb258521517
2021-03-12 20:00:32 -05:00
Davide Pesavento f8a14d88cb chunks: add --naming-convention option
Refs: #5109
Change-Id: I98170dd362663900900e9f792ffb5340ad96fe3a
2021-03-12 00:42:03 -05:00
Davide Pesavento a0e6b60e8f Cleanup includes in common.hpp
Change-Id: I1bb08a44726de5c880e6bc2f016506e6083e919b
2021-01-21 19:47:04 -05:00
Alexander Afanasyev 28181ee93a Adjust includes for the updated locations of ndn-cxx security headers
Change-Id: Ia4a82d7a4a56bfa88e62adab6a1e31bbe459e773
2020-06-06 17:53:32 -04:00
Klaus Schneider 4a2e89d88f catchunks: Improve CUBIC performance for lossy networks
Change-Id: I4baea5dcbc02d5c4a989330603e059daa55e767f
refs: #5036
2019-10-29 19:33:16 -07:00
Davide Pesavento 296b385c58 catchunks: add --no-version-discovery option
Refs: #5021
Change-Id: I37bb1f86c1a6d63ab28fbe116e75d1047c110217
2019-10-20 16:00:16 -04:00
Davide Pesavento 97a33b200d catchunks: simplify internal options handling
Change-Id: I537a281f6c996c2544c145ab9cc01a54272c8efa
2019-10-18 12:51:10 -04:00
Davide Pesavento 32c0df2e9e catchunks: silence new clang-10 warning "final-dtor-non-final-class"
Change-Id: I50052872199fb6ca621f4abe5ab2636735604373
2019-10-18 12:41:18 -04:00
Davide Pesavento 5e3773dd5a catchunks: switch to RttEstimatorWithStats
Refs: #4887
Change-Id: I8d49eff6ff4a7dc9ff49ffacc0744e50695128d2
2019-08-22 15:35:08 -04:00
Davide Pesavento 0da1f44c79 chunks+peek+ping: use correct underlying type for time::milliseconds
Change-Id: I3f46f846401eccc0c11d3abcd1a5ebff89056f7d
2019-07-26 19:06:36 -04:00
Davide Pesavento 6752d943ef catchunks: remove previously deprecated options
Change-Id: I0a7154dfd8879337f40524261fc854807dbc3d22
2019-07-26 19:00:20 -04:00
Davide Pesavento ba56066683 catchunks: adapt to recent RttEstimator API changes
Refs: #4887
Change-Id: Ie39a1c5f7ad8b225397f41bb0f3c4d7c2a9cdb2a
2019-06-26 22:48:14 -04:00
Davide Pesavento 70576403fe catchunks: use ndn-cxx's RttEstimator
Refs: #4887
Change-Id: If24bea40a22909bf0fd9e49ec7b18330dbe336f2
2019-06-07 16:42:21 -04:00
Davide Pesavento 84d8477ae6 catchunks: get rid of the last few remaining uses of Selectors
Refs: #4556
Change-Id: Ibe0e909c21b57aaa47c325bdef5852cb5e38482b
2019-04-08 19:00:25 -04:00
Klaus Schneider e90a3580d6 putchunks: include man files and add signing info
Change-Id: I3dc8fa2c690ce0bd052734d24f33ba5cd154b3c7
2019-04-05 12:51:37 -07:00
Chavoosh Ghasemi bb2d280580 catchunks: remove modular version discovery
refs: #4832, #4556
Change-Id: I99b4f42d1457c74321c9b6ae84f793a93c4c1436
2019-03-29 08:54:24 -07:00
Klaus Schneider 9e5122bafc catchunks: Implement CUBIC window adaptation
Also increase the RTT estimator multiplier k to 8.

Change-Id: I68c5096ac0da854f071bab5f7519b1c144f20ca1
refs: #4861
2019-03-21 20:03:34 -07:00
Davide Pesavento bf2c51716a chunks+ping: follow ndn::Scheduler API changes
Refs: #4883
Change-Id: I8aa48fe4f0613f529763f2efaf799c5db48a0b2c
2019-03-20 19:08:09 -04:00
Davide Pesavento da85e25e59 Rename translation units containing main() to main.cpp
Also unify style of argv declaration

Change-Id: I1dcb8689b1cd38e042a0b1f05be7f98bd2d487ed
2019-03-18 18:24:20 -04:00
schneiderklaus d8197df500 catchunks: refactor in preparation for CUBIC pipeline.
Rename AIMD pipeline to "Adaptive Pipeline".
Remove "aimd-" from command line options.

Change-Id: Ie5689cf3c0b90bedb322fd42dbf289f8a04e56d2
refs: #4861
2019-03-17 22:50:57 -07:00
schneiderklaus 8ff3abde93 catchunks: increase retx limit and improve statistics
Increased the retx limit from 3 to 15 (default in Linux TCP).
Added statistics about skipped retransmission.
Cleaned up statistic output.

Change-Id: I66ce9ac9fa08f7492f84bec48b7464ddb1228ab1
refs: #4861 #4603
2019-03-15 19:45:37 -07:00
Chavoosh Ghasemi 0c6fcb58ba catchunks: remove iterative version discovery method
refs: #4556
Change-Id: I22f35ea3c96a9eea32d478b13a52f9b3fba8442f
2019-03-06 08:40:48 -08:00
Chavoosh Ghasemi d8f9af2689 catchunks: add metadata-based version discovery
refs: #4556
Change-Id: I1100d1a4f14da8e66d190a7909185d67f7aa92a7
2019-03-01 12:45:17 -08:00
Chavoosh Ghasemi 5cb67014d3 catchunks: pass versioned name to onDiscoverySuccess signal
refs: #4556
Change-Id: I599bafcf70647bd806236f87f24d7a22f73a3505
2019-02-26 16:06:27 -08:00
Davide Pesavento 80baddfb82 Replace all uses of BOOST_THROW_EXCEPTION with NDN_THROW
Refs: #4834
Change-Id: I1851f0b03f1192763b367ee6afba6860717420e7
2019-02-23 15:51:59 -05:00
Junxiao Shi 06d008c184 chunks+poke+ping: use PendingInterestHandle and RegisteredPrefixHandle
refs #4316, #3919

Change-Id: Ia95362067a9024964cf67543c76375144b8a2782
2019-02-04 08:26:59 +00:00
Chavoosh Ghasemi 79991a0660 putchunks: respond to RDR discovery Interests
Change-Id: Id1039246304a3069f158aecf21724568db434958
refs: #4556
2019-02-02 21:41:19 -08:00
Junxiao Shi 7664b12f2a chunks+ping: don't pass Scheduler to ScopedEventId
It's no longer necessary.

refs #4698

Change-Id: I17ff7362bc46686057fa0df203c6b745e013b1d3
2019-01-23 16:45:17 +00:00
Davide Pesavento 3347eaad8e build: various cleanups
This commit also updates waf to version 2.0.14

Change-Id: I9334f10451589e8141583f85e6cefcf199f68490
2019-01-19 22:02:08 -05:00
Ryan Wickman 2c9933c94f chunks: fix impossible RTT values
Change-Id: Ia7386c6186362be5c50ea291a949fd40ec0224b4
Refs: #4604
2018-10-14 18:26:34 -04:00
Ryan Wickman 034f30f27a chunks: fix aimd hanging with files less than chunk size
refs: #4439

Change-Id: Ie3ef5d81e6baf154ade97beda183bc6b16764085
2018-06-11 11:28:47 -07:00
Davide Pesavento 60f8cc12e2 build: switch to C++14
Cleanup core/common.hpp

Change-Id: I6566b0224e24716691d5896462aa7613547ed950
Refs: #3076
2018-06-06 16:25:38 -04:00
Davide Pesavento 969cd5add4 chunks+peek: stop using deprecated {get,set}FinalBlockId
Change-Id: I64ae1c33a6f83af34b3db3d5f48cee3f3e7b7cb1
Refs: #4526
2018-04-23 11:28:45 -04:00
Chavoosh Ghasemi 75309aeedb chunks: show correct packet loss stats in AIMD pipeline output
Besides, AIMD pipeline prints a proper message when no RTT
measurements are available.

Change-Id: I9cbda88a005ba33cba753468f8f60f0d39281ab7
refs: #4437, #4551
2018-04-01 23:25:36 -04:00
Alexander Afanasyev 20c85cb868 build: Cleanup and update of build scripts
Change-Id: I7fb5b8696d3b068249ae16b117bd27646d990dc3
2018-03-11 17:16:15 -04:00
Davide Pesavento f6991e1a61 chunks: print summary by default
Introduce -q/--quiet option to suppress all output.

Change-Id: Ib529849cb1ca8975d11ce6689e2d88708291d1c4
Refs: #4421
2018-01-09 15:32:50 -05:00
Chavoosh Ghasemi 3dae1090cf chunks: include RTT stats in final summary
Change-Id: I9cc7cba4c8fe1f7d7a2d68c96a7db2c04774bc19
Refs: #4406
2018-01-09 15:32:34 -05:00
Davide Pesavento 44b3b23ae6 chunks: respect --retries=-1 in AIMD pipeline
Change-Id: I72a88285500c5083e1a0a1ad32a317e92747d812
Refs: #4409
2017-12-23 16:59:33 -05:00
Klaus Schneider 2c3083dc77 catchunks: Change the default pipeline to AIMD
The fixed pipeline needs manual tuning, and by default cannot fully
utilize the given link capacity.

refs: #4402

Change-Id: I9aec7aa8d3dda0abf6a8ae4742919849f15c1e63
2017-12-18 14:52:46 -07:00
Chavoosh Ghasemi 641f593969 chunks: react to congestion marks
Change-Id: I96efe1bc3ec7a54080c76676892114f2c79003ed
refs: #4289
2017-11-18 22:30:15 +00:00
Davide Pesavento e9c69855c4 chunks: consolidate accounting of received data into onData()
Change-Id: Ib47381d3f69b482d60af8b07d002135944b17604
2017-11-04 20:24:08 -04:00
Davide Pesavento b587cfd779 chunks: move getNextSegmentNo() to PipelineInterests base class
This hides the "excluded segment" logic from subclasses and
reduces code duplication.

Change-Id: I9f7b5b88e6010e4e16a0876e79fc2ecb9ff8dc00
2017-11-04 20:21:38 -04:00
Chavoosh Ghasemi 4d36ed5889 chunks: Print summary for all pipeline types
refs #4299

Change-Id: Ia8f7d2a57a030fef6e1d6b2d75c9d03af679a724
2017-10-31 23:17:31 +00:00
Davide Pesavento 6f76afcf06 chunks: refactor Producer options handling
Change-Id: I10331ad9fa33cce1133bc3270cadf65b3e31c93b
2017-09-19 18:43:51 -04:00
Davide Pesavento 06807dcdb4 chunks: drop pointless init of virtual base from abstract class
Change-Id: I8d47dc5bdcb1d12f808d729d71a2bbdc0b87daf4
2017-09-19 15:54:52 -04:00