add patched timely parameter config
This commit is contained in:
parent
b173cb9415
commit
5f8dea9833
|
@ -58,6 +58,9 @@ RTT_QCN_T_MAX 9000
|
|||
RTT_QCN_ALPHA 0.5
|
||||
RTT_QCN_BETA 0.25
|
||||
|
||||
PATCHED_TIMELY_RTTREF 500000
|
||||
PATCHED_TIMELY_BETA 0.008
|
||||
|
||||
ACK_HIGH_PRIO 0
|
||||
|
||||
LINK_DOWN 0 0 0
|
||||
|
|
|
@ -59,6 +59,9 @@ RTT_QCN_T_MAX 13000
|
|||
RTT_QCN_ALPHA 0.5
|
||||
RTT_QCN_BETA 0.25
|
||||
|
||||
PATCHED_TIMELY_RTTREF 500000
|
||||
PATCHED_TIMELY_BETA 0.008
|
||||
|
||||
ACK_HIGH_PRIO 0
|
||||
|
||||
LINK_DOWN 0 0 0
|
||||
|
|
|
@ -58,6 +58,9 @@ RTT_QCN_T_MAX 7000
|
|||
RTT_QCN_ALPHA 0.5
|
||||
RTT_QCN_BETA 0.25
|
||||
|
||||
PATCHED_TIMELY_RTTREF 500000
|
||||
PATCHED_TIMELY_BETA 0.008
|
||||
|
||||
ACK_HIGH_PRIO 0
|
||||
|
||||
LINK_DOWN 0 0 0
|
||||
|
|
|
@ -85,11 +85,16 @@ double SwiftMinCwnd = 0.001;
|
|||
double SwiftMaxCwnd = 800000;
|
||||
double SwiftTargetEndpointDelay = 1000000;
|
||||
|
||||
// RTT-QCN
|
||||
uint32_t RttQcnTmin = 3000;
|
||||
uint32_t RttQcnTmax = 5000;
|
||||
double RttQcnAlpha = 0.5;
|
||||
double RttQcnBeta = 0.25;
|
||||
|
||||
// Patched TIMELY
|
||||
uint64_t Ptmly_RttRef = 500000;
|
||||
double Ptmly_Beta = 0.008;
|
||||
|
||||
uint32_t ack_high_prio = 0;
|
||||
uint64_t link_down_time = 0;
|
||||
uint32_t link_down_A = 0, link_down_B = 0;
|
||||
|
@ -1038,6 +1043,16 @@ main(int argc, char* argv[])
|
|||
conf >> RttQcnBeta;
|
||||
std::cout << "RTT_QCN_BETA\t\t\t\t" << RttQcnBeta << '\n';
|
||||
}
|
||||
else if (key == "PATCHED_TIMELY_RTTREF")
|
||||
{
|
||||
conf >> Ptmly_RttRef;
|
||||
std::cout << "PATCHED_TIMELY_RTTREF\t\t\t\t" << Ptmly_RttRef << '\n';
|
||||
}
|
||||
else if (key == "PATCHED_TIMELY_BETA")
|
||||
{
|
||||
conf >> Ptmly_Beta;
|
||||
std::cout << "PATCHED_TIMELY_BETA\t\t\t\t" << Ptmly_Beta << '\n';
|
||||
}
|
||||
fflush(stdout);
|
||||
}
|
||||
conf.close();
|
||||
|
@ -1395,6 +1410,8 @@ main(int argc, char* argv[])
|
|||
rdmaHw->SetAttribute("RttQcnTmax", UintegerValue(RttQcnTmax));
|
||||
rdmaHw->SetAttribute("RttQcnAlpha", DoubleValue(RttQcnAlpha));
|
||||
rdmaHw->SetAttribute("RttQcnBeta", DoubleValue(RttQcnBeta));
|
||||
rdmaHw->SetAttribute("TimelyPatchedRttRef", UintegerValue(Ptmly_RttRef));
|
||||
rdmaHw->SetAttribute("TimelyPatchedBeta", DoubleValue(Ptmly_Beta));
|
||||
rdmaHw->SetPintSmplThresh(pint_prob);
|
||||
// create and install RdmaDriver
|
||||
Ptr<RdmaDriver> rdma = CreateObject<RdmaDriver>();
|
||||
|
|
|
@ -89,6 +89,10 @@ uint32_t RttQcnTmax = 5000;
|
|||
double RttQcnAlpha = 0.5;
|
||||
double RttQcnBeta = 0.25;
|
||||
|
||||
// Patched TIMELY
|
||||
uint64_t Ptmly_RttRef = 500000;
|
||||
double Ptmly_Beta = 0.008;
|
||||
|
||||
uint32_t ack_high_prio = 0;
|
||||
uint64_t link_down_time = 0;
|
||||
uint32_t link_down_A = 0, link_down_B = 0;
|
||||
|
@ -1023,6 +1027,16 @@ main(int argc, char* argv[])
|
|||
conf >> RttQcnBeta;
|
||||
std::cout << "RTT_QCN_BETA\t\t\t\t" << RttQcnBeta << '\n';
|
||||
}
|
||||
else if (key == "PATCHED_TIMELY_RTTREF")
|
||||
{
|
||||
conf >> Ptmly_RttRef;
|
||||
std::cout << "PATCHED_TIMELY_RTTREF\t\t\t\t" << Ptmly_RttRef << '\n';
|
||||
}
|
||||
else if (key == "PATCHED_TIMELY_BETA")
|
||||
{
|
||||
conf >> Ptmly_Beta;
|
||||
std::cout << "PATCHED_TIMELY_BETA\t\t\t\t" << Ptmly_Beta << '\n';
|
||||
}
|
||||
fflush(stdout);
|
||||
}
|
||||
conf.close();
|
||||
|
@ -1375,6 +1389,8 @@ main(int argc, char* argv[])
|
|||
rdmaHw->SetAttribute("RttQcnTmax", UintegerValue(RttQcnTmax));
|
||||
rdmaHw->SetAttribute("RttQcnAlpha", DoubleValue(RttQcnAlpha));
|
||||
rdmaHw->SetAttribute("RttQcnBeta", DoubleValue(RttQcnBeta));
|
||||
rdmaHw->SetAttribute("TimelyPatchedRttRef", UintegerValue(Ptmly_RttRef));
|
||||
rdmaHw->SetAttribute("TimelyPatchedBeta", DoubleValue(Ptmly_Beta));
|
||||
rdmaHw->SetPintSmplThresh(pint_prob);
|
||||
// create and install RdmaDriver
|
||||
Ptr<RdmaDriver> rdma = CreateObject<RdmaDriver>();
|
||||
|
|
|
@ -91,6 +91,10 @@ uint32_t RttQcnTmax = 5000;
|
|||
double RttQcnAlpha = 0.5;
|
||||
double RttQcnBeta = 0.25;
|
||||
|
||||
// Patched TIMELY
|
||||
uint64_t Ptmly_RttRef = 500000;
|
||||
double Ptmly_Beta = 0.008;
|
||||
|
||||
uint32_t ack_high_prio = 0;
|
||||
uint64_t link_down_time = 0;
|
||||
uint32_t link_down_A = 0, link_down_B = 0;
|
||||
|
@ -1283,6 +1287,16 @@ main(int argc, char* argv[])
|
|||
conf >> RttQcnBeta;
|
||||
std::cout << "RTT_QCN_BETA\t\t\t\t" << RttQcnBeta << '\n';
|
||||
}
|
||||
else if (key == "PATCHED_TIMELY_RTTREF")
|
||||
{
|
||||
conf >> Ptmly_RttRef;
|
||||
std::cout << "PATCHED_TIMELY_RTTREF\t\t\t\t" << Ptmly_RttRef << '\n';
|
||||
}
|
||||
else if (key == "PATCHED_TIMELY_BETA")
|
||||
{
|
||||
conf >> Ptmly_Beta;
|
||||
std::cout << "PATCHED_TIMELY_BETA\t\t\t\t" << Ptmly_Beta << '\n';
|
||||
}
|
||||
fflush(stdout);
|
||||
}
|
||||
conf.close();
|
||||
|
@ -1637,6 +1651,8 @@ main(int argc, char* argv[])
|
|||
rdmaHw->SetAttribute("RttQcnTmax", UintegerValue(RttQcnTmax));
|
||||
rdmaHw->SetAttribute("RttQcnAlpha", DoubleValue(RttQcnAlpha));
|
||||
rdmaHw->SetAttribute("RttQcnBeta", DoubleValue(RttQcnBeta));
|
||||
rdmaHw->SetAttribute("TimelyPatchedRttRef", UintegerValue(Ptmly_RttRef));
|
||||
rdmaHw->SetAttribute("TimelyPatchedBeta", DoubleValue(Ptmly_Beta));
|
||||
rdmaHw->SetPintSmplThresh(pint_prob);
|
||||
// create and install RdmaDriver
|
||||
Ptr<RdmaDriver> rdma = CreateObject<RdmaDriver>();
|
||||
|
|
Loading…
Reference in New Issue