Flent-users discussion archives
 help / color / mirror / Atom feed
* [Flent-users] [tohojo/flent] TCP (IPv4) connection fails in rrul46compete when specifying --local-bind (#242)
@ 2021-10-01 13:09 j-breyer
  2021-10-01 14:50 ` [Flent-users] " Toke Høiland-Jørgensen
  2021-10-01 16:52 ` Toke Høiland-Jørgensen
  0 siblings, 2 replies; 3+ messages in thread
From: j-breyer @ 2021-10-01 13:09 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed

[-- Attachment #1: Type: text/plain, Size: 2592 bytes --]

When starting the `rrul46compete` test, I noticed some weird behavior:

With defined hosts `mn.h1` and `mn.h2`, each having an IPv4 as well as an IPv6 address, the command
`sudo flent rrul46compete -p all_scaled -l 60 -H mn.h2 -o rrul46_nolocal.pdf -v`
runs error free with complete graph output.

However, specifying a `--local-bind`, the TCP connections for IPv4 fail at some point and their respective lines in the graph are missing:
Changed command:
`sudo flent rrul46compete -p all_scaled --local-bind mn.h1 -l 60 -H mn.h2 -o rrul46_new.pdf -v`

Error output (same for upload BK, download BE and download BK respectively):
```
WARNING: Program exited non-zero.
Runner class: NetperfDemoRunner
Command: /usr/bin/netperf -P 0 -v 0 -D -0.20 -4 -Y 0x0,0x0 -H mn.h2 -p 12865 -t TCP_STREAM -l 60 -F /dev/urandom -f m -L mn.h1  --   -L mn.h1 -H mn.h2 -k THROUGHPUT,LOCAL_CONG_CONTROL,REMOTE_CONG_CONTROL,TRANSPORT_MSS,LOCAL_TRANSPORT_RETRANS,REMOTE_TRANSPORT_RETRANS,LOCAL_SOCKET_TOS,REMOTE_SOCKET_TOS,DIRECTION,ELAPSED_TIME,PROTOCOL,LOCAL_SEND_SIZE,LOCAL_RECV_SIZE,REMOTE_SEND_SIZE,REMOTE_RECV_SIZE,LOCAL_BYTES_SENT,LOCAL_BYTES_RECVD,REMOTE_BYTES_SENT,REMOTE_BYTES_RECVD  
Return code: 1
Stdout: get_sockaddr_family_addr_port family mismatch 10 vs 2

Stderr: netperf: send_omni: connect_data_socket failed: Invalid argument

WARNING: Command produced no valid data.
Runner class: NetperfDemoRunner
Command: /usr/bin/netperf -P 0 -v 0 -D -0.20 -4 -Y 0x0,0x0 -H mn.h2 -p 12865 -t TCP_STREAM -l 60 -F /dev/urandom -f m -L mn.h1  --   -L mn.h1 -H mn.h2 -k THROUGHPUT,LOCAL_CONG_CONTROL,REMOTE_CONG_CONTROL,TRANSPORT_MSS,LOCAL_TRANSPORT_RETRANS,REMOTE_TRANSPORT_RETRANS,LOCAL_SOCKET_TOS,REMOTE_SOCKET_TOS,DIRECTION,ELAPSED_TIME,PROTOCOL,LOCAL_SEND_SIZE,LOCAL_RECV_SIZE,REMOTE_SEND_SIZE,REMOTE_RECV_SIZE,LOCAL_BYTES_SENT,LOCAL_BYTES_RECVD,REMOTE_BYTES_SENT,REMOTE_BYTES_RECVD  
Return code: 1
Stdout: get_sockaddr_family_addr_port family mismatch 10 vs 2

Stderr: netperf: send_omni: connect_data_socket failed: Invalid argument

NetperfDemoRunner TCP upload BE finished
```

As the command runs fine without `--local-bind`, I suppose this is not of high importance, nonetheless, I wanted to report this.
Also, the irtt for latency measurement runs fine in this test, it's only the netperf for IPv4 that fails.

Full verbose output:
[verbose_rrul46compete.txt](https://github.com/tohojo/flent/files/7267355/verbose_rrul46compete.txt)


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/242

[-- Attachment #2: Type: text/html, Size: 3950 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Flent-users] Re: [tohojo/flent] TCP (IPv4) connection fails in rrul46compete when specifying --local-bind (#242)
  2021-10-01 13:09 [Flent-users] [tohojo/flent] TCP (IPv4) connection fails in rrul46compete when specifying --local-bind (#242) j-breyer
@ 2021-10-01 14:50 ` Toke Høiland-Jørgensen
  2021-10-01 16:52 ` Toke Høiland-Jørgensen
  1 sibling, 0 replies; 3+ messages in thread
From: Toke Høiland-Jørgensen @ 2021-10-01 14:50 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed

[-- Attachment #1: Type: text/plain, Size: 1723 bytes --]

j-breyer ***@***.***> writes:

> When starting the `rrul46compete` test, I noticed some weird behavior:
>
> With defined hosts `mn.h1` and `mn.h2`, each having an IPv4 as well as an IPv6 address, the command
> `sudo flent rrul46compete -p all_scaled -l 60 -H mn.h2 -o rrul46_nolocal.pdf -v`
> runs error free with complete graph output.
>
> However, specifying a `--local-bind`, the TCP connections for IPv4 fail at some point and their respective lines in the graph are missing:
> Changed command:
> `sudo flent rrul46compete -p all_scaled --local-bind mn.h1 -l 60 -H mn.h2 -o rrul46_new.pdf -v`
>
> Error output (same for upload BK, download BE and download BK respectively):
> ```
> WARNING: Program exited non-zero.
> Runner class: NetperfDemoRunner
> Command: /usr/bin/netperf -P 0 -v 0 -D -0.20 -4 -Y 0x0,0x0 -H mn.h2 -p 12865 -t TCP_STREAM -l 60 -F /dev/urandom -f m -L mn.h1  --   -L mn.h1 -H mn.h2 -k THROUGHPUT,LOCAL_CONG_CONTROL,REMOTE_CONG_CONTROL,TRANSPORT_MSS,LOCAL_TRANSPORT_RETRANS,REMOTE_TRANSPORT_RETRANS,LOCAL_SOCKET_TOS,REMOTE_SOCKET_TOS,DIRECTION,ELAPSED_TIME,PROTOCOL,LOCAL_SEND_SIZE,LOCAL_RECV_SIZE,REMOTE_SEND_SIZE,REMOTE_RECV_SIZE,LOCAL_BYTES_SENT,LOCAL_BYTES_RECVD,REMOTE_BYTES_SENT,REMOTE_BYTES_RECVD  
> Return code: 1
> Stdout: get_sockaddr_family_addr_port family mismatch 10 vs 2

Hmm, this looks like a bug in netperf - I guess it fails to pass the
address family when resolving the local-bind hostname. I suppose we
could resolve it in Flent and pass down the IP address instead to work
around this...


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/242#issuecomment-932297870

[-- Attachment #2: Type: text/html, Size: 3123 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Flent-users] Re: [tohojo/flent] TCP (IPv4) connection fails in rrul46compete when specifying --local-bind (#242)
  2021-10-01 13:09 [Flent-users] [tohojo/flent] TCP (IPv4) connection fails in rrul46compete when specifying --local-bind (#242) j-breyer
  2021-10-01 14:50 ` [Flent-users] " Toke Høiland-Jørgensen
@ 2021-10-01 16:52 ` Toke Høiland-Jørgensen
  1 sibling, 0 replies; 3+ messages in thread
From: Toke Høiland-Jørgensen @ 2021-10-01 16:52 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed

[-- Attachment #1: Type: text/plain, Size: 239 bytes --]

Closed #242 via 5527b187bd4b8c9b3f6d919891f0b97a89edf000.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/tohojo/flent/issues/242#event-5395660127

[-- Attachment #2: Type: text/html, Size: 2064 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-01 16:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01 13:09 [Flent-users] [tohojo/flent] TCP (IPv4) connection fails in rrul46compete when specifying --local-bind (#242) j-breyer
2021-10-01 14:50 ` [Flent-users] " Toke Høiland-Jørgensen
2021-10-01 16:52 ` Toke Høiland-Jørgensen

Flent-users discussion archives

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://lists.flent.org/flent-users

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 flent-users flent-users/ https://lists.flent.org/flent-users \
		flent-users@flent.org
	public-inbox-index flent-users

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git