aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport
diff options
context:
space:
mode:
authormichele papalini <micpapal@cisco.com>2019-12-04 11:44:17 +0100
committermichele papalini <micpapal@cisco.com>2019-12-04 11:44:17 +0100
commit5ae9928360a0897ce6cfdb3979c73f1e391f8cde (patch)
tree00be9f54d6a75f838c43c1185b71ede487dc652e /libtransport
parenta90afcecc8029648c0e4ef2b79234eca8c31eac9 (diff)
[HICN-433] fix and tune parameters in rtc transport
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Ib67d395e0c7c4ac4c11dabe44cbde417faa70e20
Diffstat (limited to 'libtransport')
-rw-r--r--libtransport/src/hicn/transport/protocols/rtc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtransport/src/hicn/transport/protocols/rtc.cc b/libtransport/src/hicn/transport/protocols/rtc.cc
index 6fbf1b018..fb09373b1 100644
--- a/libtransport/src/hicn/transport/protocols/rtc.cc
+++ b/libtransport/src/hicn/transport/protocols/rtc.cc
@@ -300,7 +300,7 @@ void RTCTransportProtocol::updateStats(uint32_t round_duration) {
updateCCState();
updateWindow();
- if(queuingDelay_ > 100.0){
+ if(queuingDelay_ > 25.0){
//this indicates that the client will go soon out of synch,
//switch to synch mode
if (currentState_ == HICN_RTC_NORMAL_STATE) {
@@ -563,7 +563,7 @@ void RTCTransportProtocol::sentinelTimer(){
if((currentState_ == HICN_RTC_NORMAL_STATE) &&
(inflightInterestsCount_ >= currentCWin_) &&
((now - lastEvent_) > max_waiting_time) &&
- (lossRate_ > 10.0)){
+ (lossRate_ >= 0.05)){
uint64_t RTT = pathTable_[producerPathLabels_[1]]->getMinRtt();