From 5ae9928360a0897ce6cfdb3979c73f1e391f8cde Mon Sep 17 00:00:00 2001 From: michele papalini Date: Wed, 4 Dec 2019 11:44:17 +0100 Subject: [HICN-433] fix and tune parameters in rtc transport Signed-off-by: michele papalini Change-Id: Ib67d395e0c7c4ac4c11dabe44cbde417faa70e20 --- libtransport/src/hicn/transport/protocols/rtc.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libtransport/src/hicn/transport') 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(); -- cgit 1.2.3-korg