@@ -40,7 +40,7 @@ unsigned long start = getTickCount();
4040double global_start_time = 1.0 ;
4141double sink_start_time = global_start_time + 1.0 ;
4242double client_start_time = sink_start_time + 1.0 ;
43- double client_stop_time = client_start_time + 30 ; // sending time
43+ double client_stop_time = client_start_time + 3 ; // sending time
4444double sink_stop_time = client_stop_time + 5 ;
4545double global_stop_time = sink_stop_time + 5 ;
4646
@@ -185,7 +185,7 @@ main(int argc, char* argv[])
185185
186186 int running_number = 0 ;
187187 uint16_t pktSize = 1000 ; // in Bytes. 1458 to prevent fragments, default 512
188- std::string appDataRate[] = {" 10Mbps " , " 40Mbps " }; // Default application data rate
188+ std::string appDataRate[] = {" 1Mbps " , " 4Mbps " }; // Default application data rate
189189 std::string ns3_link_rate = " 100Mbps" ;
190190 bool enableTracePcap = true ;
191191
@@ -350,7 +350,7 @@ main(int argc, char* argv[])
350350 // p4SwitchHelper.SetDeviceAttribute("ChannelType", UintegerValue(0));
351351 p4SwitchHelper.SetDeviceAttribute (" P4SwitchArch" , UintegerValue (0 ));
352352 p4SwitchHelper.SetDeviceAttribute (" ChannelType" , UintegerValue (1 ));
353- p4SwitchHelper.SetDeviceAttribute (" SwitchRate" , UintegerValue (10000 ));
353+ p4SwitchHelper.SetDeviceAttribute (" SwitchRate" , UintegerValue (1000 ));
354354
355355 for (unsigned int i = 0 ; i < switchNum; i++)
356356 {
0 commit comments