diff options
author | Hanoh Haim <hhaim@cisco.com> | 2017-01-03 17:25:18 +0200 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2017-01-05 15:45:41 +0200 |
commit | 9eda18ac948dc35996baf81940683bd5baea9858 (patch) | |
tree | dc19cc574b04681efb88201de2d634d041a98d74 /scripts | |
parent | c7ea49121bb1ea79352a2bb6dbf20425bae3b3a6 (diff) |
add not accurate timer wheel for better performance
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
Diffstat (limited to 'scripts')
24 files changed, 16 insertions, 3 deletions
diff --git a/scripts/automation/trex_control_plane/stf/examples/stf_active_flow.py b/scripts/automation/trex_control_plane/stf/examples/stf_active_flow.py index 0a72c9ac..8560a5db 100644 --- a/scripts/automation/trex_control_plane/stf/examples/stf_active_flow.py +++ b/scripts/automation/trex_control_plane/stf/examples/stf_active_flow.py @@ -14,8 +14,8 @@ def minimal_stateful_test(server,csv_file,a_active_flows): trex_client.start_trex( c = 7, m = 30000, -# f = 'cap2/cur_flow_single.yaml', - f = 'cap2/cur_flow.yaml', + f = 'cap2/cur_flow_single.yaml', +# f = 'cap2/cur_flow.yaml', d = 30, l = 1000, p=True, @@ -39,6 +39,7 @@ def minimal_stateful_test(server,csv_file,a_active_flows): print("WARNING QUEU WAS FULL"); tuple=(active_flows[-5],cpu_utl[-5],pps[-5],queue_full[-1]) + print(tuple) file_writer = csv.writer(test_file) file_writer.writerow(tuple); @@ -58,7 +59,7 @@ if __name__ == '__main__': max_flows = 8000000; min_flows = 100; active_flow = min_flows; - num_point = 10 + num_point = 40 factor = math.exp(math.log(max_flows/min_flows,math.e)/num_point); for i in range(num_point+1): print("<<=====================>>",i,math.floor(active_flow)) diff --git a/scripts/cfg/kiwi02_more_flows.yaml b/scripts/cfg/kiwi02_more_flows.yaml index a156d4f4..42735fdb 100644 --- a/scripts/cfg/kiwi02_more_flows.yaml +++ b/scripts/cfg/kiwi02_more_flows.yaml @@ -10,6 +10,18 @@ threads : [1,2,3,4] - socket : 1 threads : [8,9,10,11] + port_info: + - dest_mac : [0x00,0x00,0x00,0x01,0x00,0x00] + src_mac : [0x00,0x00,0x00,0x01,0x00,0x00] + + - dest_mac : [0x00,0x00,0x00,0x01,0x00,0x00] + src_mac : [0x00,0x00,0x00,0x01,0x00,0x00] + + - dest_mac : [0x00,0x00,0x00,0x01,0x00,0x00] + src_mac : [0x00,0x00,0x00,0x01,0x00,0x00] + + - dest_mac : [0x00,0x00,0x00,0x01,0x00,0x00] + src_mac : [0x00,0x00,0x00,0x01,0x00,0x00] memory : dp_flows : 4048576 diff --git a/scripts/exp/imix-0-ex.erf b/scripts/exp/imix-0-ex.erf Binary files differindex 6f5f4f07..b044cb70 100755 --- a/scripts/exp/imix-0-ex.erf +++ b/scripts/exp/imix-0-ex.erf diff --git a/scripts/exp/imix-0.erf b/scripts/exp/imix-0.erf Binary files differindex 6f5f4f07..b044cb70 100644 --- a/scripts/exp/imix-0.erf +++ b/scripts/exp/imix-0.erf diff --git a/scripts/exp/imix_v6-0-ex.erf b/scripts/exp/imix_v6-0-ex.erf Binary files differindex d52d8541..589300c2 100755 --- a/scripts/exp/imix_v6-0-ex.erf +++ b/scripts/exp/imix_v6-0-ex.erf diff --git a/scripts/exp/imix_v6-0.erf b/scripts/exp/imix_v6-0.erf Binary files differindex d52d8541..589300c2 100644 --- a/scripts/exp/imix_v6-0.erf +++ b/scripts/exp/imix_v6-0.erf diff --git a/scripts/exp/limit_single_pkt-0-ex.erf b/scripts/exp/limit_single_pkt-0-ex.erf Binary files differindex 344a25d0..0ec672fa 100755 --- a/scripts/exp/limit_single_pkt-0-ex.erf +++ b/scripts/exp/limit_single_pkt-0-ex.erf diff --git a/scripts/exp/limit_single_pkt-0.erf b/scripts/exp/limit_single_pkt-0.erf Binary files differindex 344a25d0..0ec672fa 100644 --- a/scripts/exp/limit_single_pkt-0.erf +++ b/scripts/exp/limit_single_pkt-0.erf diff --git a/scripts/exp/pcap_mode1-0.erf b/scripts/exp/pcap_mode1-0.erf Binary files differindex 72e14bef..1f043784 100644 --- a/scripts/exp/pcap_mode1-0.erf +++ b/scripts/exp/pcap_mode1-0.erf diff --git a/scripts/exp/pcap_mode2-0-ex.erf b/scripts/exp/pcap_mode2-0-ex.erf Binary files differindex dde7d7e2..3f6ff4c9 100755 --- a/scripts/exp/pcap_mode2-0-ex.erf +++ b/scripts/exp/pcap_mode2-0-ex.erf diff --git a/scripts/exp/rtsp_short1-0.erf b/scripts/exp/rtsp_short1-0.erf Binary files differindex d75f8f98..990edbeb 100644 --- a/scripts/exp/rtsp_short1-0.erf +++ b/scripts/exp/rtsp_short1-0.erf diff --git a/scripts/exp/rtsp_short1_ipv6_rxcheck.erf b/scripts/exp/rtsp_short1_ipv6_rxcheck.erf Binary files differindex 046e0a1e..a06fe3a7 100644 --- a/scripts/exp/rtsp_short1_ipv6_rxcheck.erf +++ b/scripts/exp/rtsp_short1_ipv6_rxcheck.erf diff --git a/scripts/exp/rtsp_short1_rxcheck.erf b/scripts/exp/rtsp_short1_rxcheck.erf Binary files differindex dc195ac0..b5f17783 100644 --- a/scripts/exp/rtsp_short1_rxcheck.erf +++ b/scripts/exp/rtsp_short1_rxcheck.erf diff --git a/scripts/exp/rtsp_short1_v6-0.erf b/scripts/exp/rtsp_short1_v6-0.erf Binary files differindex ba220161..2cb322ac 100644 --- a/scripts/exp/rtsp_short1_v6-0.erf +++ b/scripts/exp/rtsp_short1_v6-0.erf diff --git a/scripts/exp/rtsp_short2-0.erf b/scripts/exp/rtsp_short2-0.erf Binary files differindex d75f8f98..990edbeb 100644 --- a/scripts/exp/rtsp_short2-0.erf +++ b/scripts/exp/rtsp_short2-0.erf diff --git a/scripts/exp/rtsp_short2_v6-0.erf b/scripts/exp/rtsp_short2_v6-0.erf Binary files differindex ba220161..2cb322ac 100644 --- a/scripts/exp/rtsp_short2_v6-0.erf +++ b/scripts/exp/rtsp_short2_v6-0.erf diff --git a/scripts/exp/rtsp_short3-0.erf b/scripts/exp/rtsp_short3-0.erf Binary files differindex 57668046..1b178df9 100644 --- a/scripts/exp/rtsp_short3-0.erf +++ b/scripts/exp/rtsp_short3-0.erf diff --git a/scripts/exp/rtsp_short3_v6-0.erf b/scripts/exp/rtsp_short3_v6-0.erf Binary files differindex 49fa4c20..048c3b65 100644 --- a/scripts/exp/rtsp_short3_v6-0.erf +++ b/scripts/exp/rtsp_short3_v6-0.erf diff --git a/scripts/exp/sip_short1-0.erf b/scripts/exp/sip_short1-0.erf Binary files differindex ee1ddd13..4f8f33ce 100644 --- a/scripts/exp/sip_short1-0.erf +++ b/scripts/exp/sip_short1-0.erf diff --git a/scripts/exp/sip_short1_v6-0.erf b/scripts/exp/sip_short1_v6-0.erf Binary files differindex 573b5b8d..7ad1ad14 100644 --- a/scripts/exp/sip_short1_v6-0.erf +++ b/scripts/exp/sip_short1_v6-0.erf diff --git a/scripts/exp/sip_short2-0.erf b/scripts/exp/sip_short2-0.erf Binary files differindex ee1ddd13..4f8f33ce 100644 --- a/scripts/exp/sip_short2-0.erf +++ b/scripts/exp/sip_short2-0.erf diff --git a/scripts/exp/sip_short2_v6-0.erf b/scripts/exp/sip_short2_v6-0.erf Binary files differindex 573b5b8d..7ad1ad14 100644 --- a/scripts/exp/sip_short2_v6-0.erf +++ b/scripts/exp/sip_short2_v6-0.erf diff --git a/scripts/exp/sip_short3-0.erf b/scripts/exp/sip_short3-0.erf Binary files differindex 5f21788d..0d6c4796 100644 --- a/scripts/exp/sip_short3-0.erf +++ b/scripts/exp/sip_short3-0.erf diff --git a/scripts/exp/sip_short3_v6-0.erf b/scripts/exp/sip_short3_v6-0.erf Binary files differindex 35b95903..321754d1 100644 --- a/scripts/exp/sip_short3_v6-0.erf +++ b/scripts/exp/sip_short3_v6-0.erf |