[Codel] New to codel-- how to run codel on a linux box?
toke at toke.dk
Thu Dec 5 18:43:27 EST 2013
Dong Mo <montedong at gmail.com> writes:
> Thanks. My problem is solved.
Excellent. Do share your results :)
> It seems to me paping can sample for the RTT over this particular port, not the
> whole connection setup time. Maybe it only record for the sync time but I am not
> fully sure. From the latency result, it is quite close to RTT of the
Well, looking at the source code it seems to do a new connection each
It seems to call connect(), then measure the time until select() returns
with the socket ready to either read or write. Not sure when Linux
considers a TCP socket to be ready, but I guess it's probably after
receiving the SYN+ACK of connection setup, which would be one RTT after
calling connect(), and would fit with what you're seeing. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 489 bytes
Desc: not available
More information about the Codel