Thread (6 messages) 6 messages, 3 authors, 2008-07-19

Re: [RFC] RTT metrics scaling

From: David Miller <davem@davemloft.net>
Date: 2008-06-28 02:50:13

From: Stephen Hemminger <redacted>
Date: Fri, 20 Jun 2008 16:22:34 -0700
Some of the metrics (RTT, RTTVAR and RTAX_RTO_MIN) are stored in kernel
units (jiffies) and this leaks out through the netlink API to user space
where the units for jiffies are unknown.

This patches changes the kernel to convert to/from milliseconds. This changes
the ABI, but milliseconds seemed like the most natural unit for these parameters.

This patch is for comment only, just to show how it would be implemented.
I will update it after testing more.
No real objection.

But aren't we approaching microsecond RTT's soon? :-) (yes, I know in
TCP we min clamp at 200ms RTT, but that clamp we probably want to
remove soon)

If you don't think that's worth worrying about, I'll apply this patch.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help