Flent-users discussion archives
 help / color / mirror / Atom feed
* [Flent-users] [tohojo/flent] tcp_rtt plots not working? (#163)
@ 2019-06-06 13:52 Pete Heist
  2019-06-06 14:12 ` Toke Høiland-Jørgensen
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Pete Heist @ 2019-06-06 13:52 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed


[-- Attachment #1.1: Type: text/plain, Size: 762 bytes --]

I have ss installed and am using --socket-stats, but for some reason tcp_rtt plots don't seem to be working (using rrul_be but I need it ultimately for tcp_1up_noping). I'm using flent from HEAD and python 3.7.3 on Ubuntu 19.04. Do the attached .flent.gz files and output from --verbose show what's going on?

[rrul_be-2019-06-06T154334.551187.flent.gz](https://github.com/tohojo/flent/files/3261829/rrul_be-2019-06-06T154334.551187.flent.gz)
[stderr.txt.gz](https://github.com/tohojo/flent/files/3261830/stderr.txt.gz)
[stdout.txt.gz](https://github.com/tohojo/flent/files/3261833/stdout.txt.gz)


-- 
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/163

[-- Attachment #1.2: Type: text/html, Size: 2082 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org

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

* Re: [Flent-users] [tohojo/flent] tcp_rtt plots not working? (#163)
  2019-06-06 13:52 [Flent-users] [tohojo/flent] tcp_rtt plots not working? (#163) Pete Heist
@ 2019-06-06 14:12 ` Toke Høiland-Jørgensen
  2019-06-06 14:43 ` Pete Heist
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Toke Høiland-Jørgensen @ 2019-06-06 14:12 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed


[-- Attachment #1.1: Type: text/plain, Size: 814 bytes --]

Pete Heist <notifications@github.com> writes:

> I have ss installed and am using --socket-stats, but for some reason
> tcp_rtt plots don't seem to be working (using rrul_be but I need it
> ultimately for tcp_1up_noping). I'm using flent from HEAD and python
> 3.7.3 on Ubuntu 19.04. Do the attached .flent.gz files and output from
> --verbose show what's going on?

Hmm, it looks like you 'ss' binary is not output'ing the PID associated
with the socket? Flent uses this to match the socket to the netperf
binary...

Maybe it's a permission thing? What's the output of `ss -tipn` as a
regular user and as root, respectively?


-- 
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/163#issuecomment-499511460

[-- Attachment #1.2: Type: text/html, Size: 2280 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org

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

* Re: [Flent-users] [tohojo/flent] tcp_rtt plots not working? (#163)
  2019-06-06 13:52 [Flent-users] [tohojo/flent] tcp_rtt plots not working? (#163) Pete Heist
  2019-06-06 14:12 ` Toke Høiland-Jørgensen
@ 2019-06-06 14:43 ` Pete Heist
  2019-06-06 14:45 ` Pete Heist
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Pete Heist @ 2019-06-06 14:43 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed


[-- Attachment #1.1: Type: text/plain, Size: 2494 bytes --]

Ok, there is a difference there (below, sudo version contains pid at end of ESTAB line).

Running flent with sudo works even though I didn't used to need to do that on older Ubuntus. It's a fine workaround for now, only in addition, ss with my custom kernel doesn't show TCP RTT or a lot of other stats at all (third output below), so that could either be some needed kernel config or something else, so I'm off to figure out what that is. Thanks... :)

```
$ ss -tipn
State       Recv-Q         Send-Q                  Local Address:Port                 Peer Address:Port         
ESTAB       0              0                          10.72.0.37:22                     10.72.0.64:61418        
	 cubic wscale:5,7 rto:204 rtt:0.34/0.071 ato:80 mss:1448 pmtu:1500 rcvmss:1392 advmss:1448 cwnd:10 bytes_acked:13057 bytes_received:6621 segs_out:130 segs_in:230 data_segs_out:123 data_segs_in:105 send 340.7Mbps lastsnd:108364 lastrcv:108420 lastack:108364 pacing_rate 681.4Mbps delivery_rate 139.6Mbps app_limited busy:12ms rcv_space:14600 rcv_ssthresh:64076 minrtt:0.083
```

```
$ uname -a
Linux rey 5.0.0-16-generic #17-Ubuntu SMP Wed May 15 10:52:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ sudo ss -tipn
State       Recv-Q         Send-Q                  Local Address:Port                 Peer Address:Port         
ESTAB       0              0                          10.72.0.37:22                     10.72.0.64:61418         users:(("sshd",pid=9397,fd=3),("sshd",pid=9360,fd=3))
	 cubic wscale:5,7 rto:204 rtt:0.34/0.071 ato:80 mss:1448 pmtu:1500 rcvmss:1392 advmss:1448 cwnd:10 bytes_acked:13057 bytes_received:6621 segs_out:130 segs_in:230 data_segs_out:123 data_segs_in:105 send 340.7Mbps lastsnd:119880 lastrcv:119936 lastack:119880 pacing_rate 681.4Mbps delivery_rate 139.6Mbps app_limited busy:12ms rcv_space:14600 rcv_ssthresh:64076 minrtt:0.083
```

```
$ uname -a
Linux rey 5.1.0-rc2+ #63 SMP Mon Jun 3 17:45:55 CEST 2019 x86_64 x86_64 x86_64 GNU/Linux
$ sudo ss -tipn
State       Recv-Q        Send-Q                Local Address:Port                Peer Address:Port         
ESTAB       0             0                        10.72.0.36:22                    10.72.0.64:61660         users:(("sshd",pid=4006,fd=3),("sshd",pid=3937,fd=3)) rto:0.2 ato:0.11 qack:8 cwnd:10 reordering:0
```

-- 
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/163#issuecomment-499524417

[-- Attachment #1.2: Type: text/html, Size: 3912 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org

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

* Re: [Flent-users] [tohojo/flent] tcp_rtt plots not working? (#163)
  2019-06-06 13:52 [Flent-users] [tohojo/flent] tcp_rtt plots not working? (#163) Pete Heist
  2019-06-06 14:12 ` Toke Høiland-Jørgensen
  2019-06-06 14:43 ` Pete Heist
@ 2019-06-06 14:45 ` Pete Heist
  2019-06-06 14:53 ` Pete Heist
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Pete Heist @ 2019-06-06 14:45 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed


[-- Attachment #1.1: Type: text/plain, Size: 292 bytes --]

Ah, that is very likely that CONFIG_INET_DIAG needs to be set, so I'll re-compile my kernel with that...

-- 
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/163#issuecomment-499525639

[-- Attachment #1.2: Type: text/html, Size: 1656 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org

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

* Re: [Flent-users] [tohojo/flent] tcp_rtt plots not working? (#163)
  2019-06-06 13:52 [Flent-users] [tohojo/flent] tcp_rtt plots not working? (#163) Pete Heist
                   ` (2 preceding siblings ...)
  2019-06-06 14:45 ` Pete Heist
@ 2019-06-06 14:53 ` Pete Heist
  2019-06-06 14:53 ` Pete Heist
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Pete Heist @ 2019-06-06 14:53 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed


[-- Attachment #1.1: Type: text/plain, Size: 347 bytes --]

Yes, that's the case, so it's working now with the kernel compiled with CONFIG_INET_DIAG and as root. Closing this, unless you want me to test anything else...

-- 
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/163#issuecomment-499529143

[-- Attachment #1.2: Type: text/html, Size: 1711 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org

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

* Re: [Flent-users] [tohojo/flent] tcp_rtt plots not working? (#163)
  2019-06-06 13:52 [Flent-users] [tohojo/flent] tcp_rtt plots not working? (#163) Pete Heist
                   ` (3 preceding siblings ...)
  2019-06-06 14:53 ` Pete Heist
@ 2019-06-06 14:53 ` Pete Heist
  2019-06-06 14:58 ` Toke Høiland-Jørgensen
  2019-06-06 15:48 ` Pete Heist
  6 siblings, 0 replies; 8+ messages in thread
From: Pete Heist @ 2019-06-06 14:53 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed


[-- Attachment #1.1: Type: text/plain, Size: 194 bytes --]

Closed #163.

-- 
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/163#event-2394628210

[-- Attachment #1.2: Type: text/html, Size: 1949 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org

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

* Re: [Flent-users] [tohojo/flent] tcp_rtt plots not working? (#163)
  2019-06-06 13:52 [Flent-users] [tohojo/flent] tcp_rtt plots not working? (#163) Pete Heist
                   ` (4 preceding siblings ...)
  2019-06-06 14:53 ` Pete Heist
@ 2019-06-06 14:58 ` Toke Høiland-Jørgensen
  2019-06-06 15:48 ` Pete Heist
  6 siblings, 0 replies; 8+ messages in thread
From: Toke Høiland-Jørgensen @ 2019-06-06 14:58 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed


[-- Attachment #1.1: Type: text/plain, Size: 554 bytes --]

Pete Heist <notifications@github.com> writes:

> Ah, that is very likely that CONFIG_INET_DIAG needs to be set, so I'll
> re-compile my kernel with that...

Do let me know if that works; I don't get RTTs on my Arch kernel either,
it would seem (though I don't have the permission issue).

Will try to figure out if anything can be done about the permission thing...


-- 
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/163#issuecomment-499530930

[-- Attachment #1.2: Type: text/html, Size: 1971 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org

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

* Re: [Flent-users] [tohojo/flent] tcp_rtt plots not working? (#163)
  2019-06-06 13:52 [Flent-users] [tohojo/flent] tcp_rtt plots not working? (#163) Pete Heist
                   ` (5 preceding siblings ...)
  2019-06-06 14:58 ` Toke Høiland-Jørgensen
@ 2019-06-06 15:48 ` Pete Heist
  6 siblings, 0 replies; 8+ messages in thread
From: Pete Heist @ 2019-06-06 15:48 UTC (permalink / raw)
  To: tohojo/flent; +Cc: Subscribed


[-- Attachment #1.1: Type: text/plain, Size: 362 bytes --]

More specifically, I set CONFIG_INET_DIAG, CONFIG_INET_UDP_DIAG and CONFIG_INET_RAW_DIAG, but it's probably only CONFIG_INET_DIAG that matters. Compiled as module also works.

-- 
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/163#issuecomment-499553202

[-- Attachment #1.2: Type: text/html, Size: 1726 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Flent-users mailing list
Flent-users@flent.org
http://flent.org/mailman/listinfo/flent-users_flent.org

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

end of thread, other threads:[~2019-06-06 15:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-06 13:52 [Flent-users] [tohojo/flent] tcp_rtt plots not working? (#163) Pete Heist
2019-06-06 14:12 ` Toke Høiland-Jørgensen
2019-06-06 14:43 ` Pete Heist
2019-06-06 14:45 ` Pete Heist
2019-06-06 14:53 ` Pete Heist
2019-06-06 14:53 ` Pete Heist
2019-06-06 14:58 ` Toke Høiland-Jørgensen
2019-06-06 15:48 ` Pete Heist

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox