From 2ef820ee52ec7176d0923dbb1f675e0576ddf56b Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Thu, 14 Jan 2021 16:23:05 +0100 Subject: [PATCH] UDP_PPS: Ensure keepalive is long enough Previously, it was long enough for the current performance, but not long enough for the theoretical worst case. See https://gerrit.fd.io/r/c/csit/+/29803/9/docs/report/introduction/methodology_nat44.rst#293 Change-Id: I3f57a834c77d93b38bca81fdbb714a6374b81bae Signed-off-by: Vratko Polak --- GPL/traffic_profiles/trex/trex-astf-ethip4udp-1024h-pps.py | 4 ++-- GPL/traffic_profiles/trex/trex-astf-ethip4udp-16384h-pps.py | 4 ++-- GPL/traffic_profiles/trex/trex-astf-ethip4udp-262144h-pps.py | 4 ++-- GPL/traffic_profiles/trex/trex-astf-ethip4udp-4096h-pps.py | 4 ++-- GPL/traffic_profiles/trex/trex-astf-ethip4udp-65536h-pps.py | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/GPL/traffic_profiles/trex/trex-astf-ethip4udp-1024h-pps.py b/GPL/traffic_profiles/trex/trex-astf-ethip4udp-1024h-pps.py index 2dc7c81131..667385ffbf 100644 --- a/GPL/traffic_profiles/trex/trex-astf-ethip4udp-1024h-pps.py +++ b/GPL/traffic_profiles/trex/trex-astf-ethip4udp-1024h-pps.py @@ -62,8 +62,8 @@ class TrafficProfile(TrafficProfileBaseClass): self.udp_data = u"" self.n_data = 32 # TODO: set via input parameter - self.m_delay = 1200000 # delay 1200s (1,200,000 ms) - self.u_delay = 1000 * self.m_delay # delay 1200s (1,200,000,000 us) + self.m_delay = 2000000 # delay 2000s (2,000,000 ms) + self.u_delay = 1000 * self.m_delay # delay 2000s (2,000,000,000 us) self.limit = 64512 def define_profile(self): diff --git a/GPL/traffic_profiles/trex/trex-astf-ethip4udp-16384h-pps.py b/GPL/traffic_profiles/trex/trex-astf-ethip4udp-16384h-pps.py index 0061ae31d4..1739fcca31 100644 --- a/GPL/traffic_profiles/trex/trex-astf-ethip4udp-16384h-pps.py +++ b/GPL/traffic_profiles/trex/trex-astf-ethip4udp-16384h-pps.py @@ -62,8 +62,8 @@ class TrafficProfile(TrafficProfileBaseClass): self.udp_data = u"" self.n_data = 32 # TODO: set via input parameter - self.m_delay = 1200000 # delay 1200s (1,200,000 ms) - self.u_delay = 1000 * self.m_delay # delay 1200s (1,200,000,000 us) + self.m_delay = 2000000 # delay 2000s (2,000,000 ms) + self.u_delay = 1000 * self.m_delay # delay 2000s (2,000,000,000 us) self.limit = 1032192 def define_profile(self): diff --git a/GPL/traffic_profiles/trex/trex-astf-ethip4udp-262144h-pps.py b/GPL/traffic_profiles/trex/trex-astf-ethip4udp-262144h-pps.py index ebfdced27f..9445b11565 100644 --- a/GPL/traffic_profiles/trex/trex-astf-ethip4udp-262144h-pps.py +++ b/GPL/traffic_profiles/trex/trex-astf-ethip4udp-262144h-pps.py @@ -62,8 +62,8 @@ class TrafficProfile(TrafficProfileBaseClass): self.udp_data = u"" self.n_data = 32 # TODO: set via input parameter - self.m_delay = 1200000 # delay 1200s (1,200,000 ms) - self.u_delay = 1000 * self.m_delay # delay 1200s (1,200,000,000 us) + self.m_delay = 2000000 # delay 2000s (2,000,000 ms) + self.u_delay = 1000 * self.m_delay # delay 2000s (2,000,000,000 us) self.limit = 16515072 def define_profile(self): diff --git a/GPL/traffic_profiles/trex/trex-astf-ethip4udp-4096h-pps.py b/GPL/traffic_profiles/trex/trex-astf-ethip4udp-4096h-pps.py index 018bb7fa2a..00dbeee308 100644 --- a/GPL/traffic_profiles/trex/trex-astf-ethip4udp-4096h-pps.py +++ b/GPL/traffic_profiles/trex/trex-astf-ethip4udp-4096h-pps.py @@ -62,8 +62,8 @@ class TrafficProfile(TrafficProfileBaseClass): self.udp_data = u"" self.n_data = 32 # TODO: set via input parameter - self.m_delay = 1200000 # delay 1200s (1,200,000 ms) - self.u_delay = 1000 * self.m_delay # delay 1200s (1,200,000,000 us) + self.m_delay = 2000000 # delay 2000s (2,000,000 ms) + self.u_delay = 1000 * self.m_delay # delay 2000s (2,000,000,000 us) self.limit = 258048 def define_profile(self): diff --git a/GPL/traffic_profiles/trex/trex-astf-ethip4udp-65536h-pps.py b/GPL/traffic_profiles/trex/trex-astf-ethip4udp-65536h-pps.py index f65c60b6a5..3b6c3c7e55 100644 --- a/GPL/traffic_profiles/trex/trex-astf-ethip4udp-65536h-pps.py +++ b/GPL/traffic_profiles/trex/trex-astf-ethip4udp-65536h-pps.py @@ -62,8 +62,8 @@ class TrafficProfile(TrafficProfileBaseClass): self.udp_data = u"" self.n_data = 32 # TODO: set via input parameter - self.m_delay = 1200000 # delay 1200s (1,200,000 ms) - self.u_delay = 1000 * self.m_delay # delay 1200s (1,200,000,000 us) + self.m_delay = 2000000 # delay 2000s (2,000,000 ms) + self.u_delay = 1000 * self.m_delay # delay 2000s (2,000,000,000 us) self.limit = 4128768 def define_profile(self): -- 2.16.6