Forum Discussion
Brian_Ott_11267
Nimbostratus
Nov 11, 2005RTT value
The value provided by TCP:rtt, is it effected by processing time server side?
Meaning if the customer does a big search and it takes time to process, does that effect RTT? Or is RTT based on the time to send a packet between us and them?
Also the value returned by TCP:rtt, its 1/32nd of a millisecond, right?
So does that mean: if the value is 2400, its 75 ms?
Or 1600 is 50 ms?
I appreciate any help offered.
-Brian.
- rapmaster_c_127Historic F5 AccountTCP::rtt is not affected by processing time. It is the "pure rtt" determined at the TCP layer to the peer. The value will be different between the client side and the serverside. If we were to include processing time, it would lead to vastly unfair and non-deterministic results, not to mention a bit of a layering violation.
- rapmaster_c_127Historic F5 AccountThere is one more caveat that I wanted to briefly mention. As you can imagine, internet RTTs vary greatly. If someone's connected to you via a wireless connection, and turns on their microwave oven, that could lead to some jitter that throws the rtt values off.
- Brian_Ott_11267
Nimbostratus
Would it be possible to log out the rtt for some connections so we can get some idea of what this value can be for various people? - unRuleY_95363Historic F5 AccountThat would mostly be done through syslog-ng. Find an appropritely available facility and route it to your remote server. Then simply add a statement like:
to your rule. syslog-ng should then route that log message to your remote server.log . "Client: [IP::remote_addr] - RTT: [TCP::rtt]"
- Nga_Kok_Lau
Employee
Posted By rapmaster_c on 11/11/2005 10:54 AM - Nga_Kok_Lau
Employee
So, it is likely that I get 1K data 5 times is better than get a 5K data one time, right? - Cyril_M
Altostratus
Hi everyone, I'm very interested by these explanations because I'm trying to setup an iRule redirecting people to different websites depending on their "connection speed" to the load balancer ... Here is my iRule, but the RTT I'm measuring are not relevant 😞 I guess that's because there is not enough traffic to detemine a relevant valuewhen HTTP_REQUEST { clientside { set rtt [TCP::rtt] } set clientip [IP::remote_addr] if {$rtt < 5600 } { log "$clientip redirect fast $rtt" HTTP::redirect "http://fast-site" } else { log "$clientip redirect slow $rtt" HTTP::redirect "http://slow-site" } }
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects