tohojo / flent

The FLExible Network Tester.
https://flent.org
Other
428 stars 79 forks source link

tcp_rtt plots not generated #303

Closed aidenp2024 closed 3 months ago

aidenp2024 commented 3 months ago

Hi Im trying to generate tcp_rtt plots but the tcp plots like tcp_rtt,tcp_cwnd,tcp_rtt_cdf are not generated when I run the rrul test using: $sudo flent rrul -H <server_ip> Im testing with a custom L4S kernel(https://github.com/L4STeam/linux). I have two linux machines both loaded with the custom kernel with tcp congestion control set as prague for test purposes. I went through the issue #163 raised by @heistp and tried recompiling my kernel with CONFIG_INET_DIAG but still didn't work. This is the output of ss.

$sudo ss -tipn
State   Recv-Q   Send-Q       Local Address:Port           Peer Address:Port    Process                                                                         
ESTAB   0        0            10.100.67.111:55320         10.100.131.33:40185    users:(("netperf",pid=30111,fd=4))
     prague wscale:7,7 rto:1256 rtt:417.525/208.762 mss:1238 pmtu:1500 rcvmss:536 advmss:1448 cwnd:10 bytes_acked:1 segs_out:2 segs_in:1 send 237207bps lastsnd:120 lastrcv:120 lastack:120 pacing_rate 494320bps delivered:1 rcv_space:14480 rcv_ssthresh:64088 minrtt:417.525

I dont know where the issue is or is there any step I'm missing?

heistp commented 3 months ago

What if you add the --socket-stats parameter to flent? If memory serves, that's required to gather the stats needed for the plots you mentioned. Good luck!

aidenp2024 commented 3 months ago

It worked! Thanks :)