netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* size of data_segs_[in|out] and segs_[in|out]
@ 2016-08-08 22:02 rapier
  2016-08-08 23:02 ` David Miller
  0 siblings, 1 reply; 5+ messages in thread
From: rapier @ 2016-08-08 22:02 UTC (permalink / raw)
  To: netdev

The instruments for data_segs_in, data_segs_out, segs_in, and segs_out 
(along with the corresponding tcpi_ variables) are currently defined as 
unsigned 32 bit ints. While this is in line with RFC4898 I'm thinking 
that for some flows this value might be too small.

For example, a 1GB sustained flow at 1500 bytes would exceed the max 
value inside of around 14.7 hours. Which seems like a long time but at 
higher rates, even with 9k packets, this could cause problems within 7.5 
hours or so (after ~36TB of data). While this is probably not an issue 
for a large number of people in the scientific community transferring 
data sets of this size is happening and likely to become far more common.

As such, would it be feasible to define these instruments as 64bit 
instead of 32bit? If so, a cursory look at the code seems to indicate 
that this would only require a change in the header files.

Chris

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

end of thread, other threads:[~2016-08-09 19:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-08 22:02 size of data_segs_[in|out] and segs_[in|out] rapier
2016-08-08 23:02 ` David Miller
2016-08-09 17:17   ` rapier
2016-08-09 19:04     ` David Miller
2016-08-09 19:15       ` rapier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).