Juniper / warp17

The Stateful Traffic Generator for Layer 1 to Layer 7
BSD 3-Clause "New" or "Revised" License
424 stars 81 forks source link

WARP17: Wrong Connection Established counts #79

Open SSam009 opened 6 years ago

SSam009 commented 6 years ago

WARP17 tests ui showing the very high number of Established connections on Server (Port1) when compared to Client ( Port 0) .

SSam009 commented 6 years ago

warp17connections

SSam009 commented 6 years ago

The above screenshot is just after the test started, Port 1 started with 3 million connections. It is very high compared to port0 connections (150K ).

dceara commented 6 years ago

@SSam009 can you please share the config file you used and also the cmd line to start Warp17?

Is there a DUT in between? Does it act as TCP proxy for the sessions?

What version of Warp17 are you running?

Thanks, Dumitru

SSam009 commented 6 years ago

@dceara I am using latest code (dev-common) . There is a DUT between the interfaces of the same host, I don't think it acts as TCP Proxy.
WARP LOADGEN HOST NIC1 <----> Switch <----> WARP LOADGEN HOST NIC2

dceara commented 6 years ago

@SSam009 can you also please share your full config? Was this working with v1.8?

SSam009 commented 6 years ago

@dceara we are using RHEL 7.5, I am not able to compile v1.8 on rhel7.5 here is test config

PORT 0 - client port

PORT 1 - server port

add tests l3_intf port 0 ip 100.64.18.3 mask 255.255.255.0 add tests l3_gw port 0 gw 100.64.18.2

add tests client tcp port 0 test-case-id 0 src 130.1.255.10 130.1.255.255 sport 1000 20000 dest 131.0.0.1 131.0.0.5 dport 80 80

set tests timeouts port 0 test-case-id 0 init 0 set tests timeouts port 0 test-case-id 0 uptime 30 set tests timeouts port 0 test-case-id 0 downtime 5

set tests rate port 0 test-case-id 0 open infinite set tests rate port 0 test-case-id 0 send infinite set tests rate port 0 test-case-id 0 close infinite

set tests criteria port 0 test-case-id 0 run-time 3600 set tests client http port 0 test-case-id 0 GET google.com /index.html req-size 20

Server configuration

add tests l3_intf port 1 ip 100.64.18.5 mask 255.255.255.0 add tests l3_gw port 1 gw 100.64.18.4

add tests server tcp port 1 test-case-id 0 src 131.0.0.1 131.0.0.5 sport 80 80 set tests server http port 1 test-case-id 0 200-OK resp-size 20

start tests port 1 start tests port 0 show tests ui

davvore33 commented 6 years ago

I've tried on my setup with your configuration and I didn't see this problem, can you please post the command line you use to launch warp17 as well?