All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lincoln Dale <ltd@cisco.com>
To: David Schwartz <davids@webmaster.com>
Cc: Horst von Brand <vonbrand@inf.utfsm.cl>,
	"David S. Miller" <davem@redhat.com>,
	Ben Greear <greearb@candelatech.com>,
	<linux-kernel@vger.kernel.org>, <netdev@oss.sgi.com>,
	jamal <hadi@cyberus.ca>
Subject: Re: RFC: per-socket statistics on received/dropped packets
Date: Thu, 13 Jun 2002 18:44:20 +1000	[thread overview]
Message-ID: <ae9ma0$mhq$2@main.gmane.org> (raw)
In-Reply-To: <20020613072155.AAA14363@shell.webmaster.com@whenever>


> >i know of many many folk who use transaction logs from HTTP caches for
> >volume-based billing.
> >right now, those bills are anywhere between 10% to 25% incorrect.
>
>         You are being paid to deliver packets to their destination, not 
> to drop
>them.

ho hum.
yes, that is typically true of a transit provider.
however, the transit provider wants to charge the customer not just for 
what is delivered to layer-7, but also for packetization overhead at 
layer-2/layer-3/layer-4.  after all, the IP+TCP packet headers are 
delivered to the client as well, no?

this is just my point: there is NO method to account for those pesky headers!


also, think of the case where a HTTP Proxy _isn't_ in the path of 
traffic.  from this side of the Pacific, if there are TCP retransmissions, 
they are end-to-end retransmissions, across that really expensive piece of 
wet string otherwise known as an undersea cable.  _that_ is the most 
expensive hop and if a customer is congested on the last mile, they're 
still eating into the expensive bandwidth!

discussions on the layer-8 (religion) or layer-9 (politics) aspects of 
whether it is correct to bill based on that is irrelevant.  what is 
relevant is that there isn't any mechanism to count the overhead of 
packetization or the overhead of using a "reliable stream transport" such 
as TCP.

i do have the code to do this.  its relatively trivial and consumes an 
extra 8 bytes of RAM per socket.
it doesn't obfuscate the existing kernel code nor does it slow the code 
down by any tangible amount.
it is a compile-time option so for those people who don't know or care 
about it, it doesn't impact them at all.
yet, clearly, Dave and Jamal are vehemently opposed to it.
alas, that means it stays as an out-of-kernel patch and will likely 
continue to suffer bit-rot as time goes by.  c'est la vie.


cheers,

lincoln.

  parent reply	other threads:[~2002-06-13  8:44 UTC|newest]

Thread overview: 92+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-06 19:37 RFC: per-socket statistics on received/dropped packets Chris Friesen
2002-06-07  3:21 ` David S. Miller
2002-06-07 15:34   ` Chris Friesen
2002-06-07 15:34   ` Chris Friesen
2002-06-07 22:15   ` Ben Greear
2002-06-07 22:15   ` Ben Greear
2002-06-08 21:05     ` Mark Mielke
2002-06-08 23:04       ` David S. Miller
2002-06-08 23:04       ` David S. Miller
2002-06-09  0:13         ` Ben Greear
2002-06-09  0:13         ` Ben Greear
2002-06-09  0:51           ` David S. Miller
2002-06-09 18:23             ` Ben Greear
2002-06-10  4:34               ` David S. Miller
2002-06-10  4:34               ` David S. Miller
2002-06-10  5:55                 ` Mark Mielke
2002-06-10  5:55                 ` Mark Mielke
2002-06-10  6:08                 ` Ben Greear
2002-06-10  6:08                 ` Ben Greear
2002-06-10 12:03                 ` Lincoln Dale
2002-06-10 12:03                   ` Lincoln Dale
2002-06-10 12:18                   ` David S. Miller
2002-06-10 12:18                     ` David S. Miller
2002-06-10 12:24                     ` jamal
2002-06-10 13:57                       ` Mark Mielke
2002-06-10 14:45                         ` jamal
2002-06-10 14:56                           ` jamal
2002-06-10 19:28                           ` Chris Friesen
2002-06-10 19:28                           ` Chris Friesen
2002-06-10 19:28                           ` Chris Friesen
2002-06-10 19:28                           ` Chris Friesen
2002-06-10 19:28                           ` Chris Friesen
2002-06-10 18:44                     ` David Ford
2002-06-10 18:50                       ` Thunder from the hill
2002-06-10 19:02                         ` David Ford
2002-06-11 22:41                 ` Bill Davidsen
2002-06-12  3:41                   ` David S. Miller
2002-06-12  3:41                     ` David S. Miller
2002-06-12  3:57                     ` Richard Guy Briggs
2002-06-12  5:20                       ` Mark Mielke
2002-06-12  6:08                         ` Pekka Savola
2002-06-12  6:26                           ` Ben Greear
2002-06-12  6:26                           ` Ben Greear
2002-06-12  6:32                             ` Pekka Savola
2002-06-12  6:49                               ` Ben Greear
2002-06-12  6:49                               ` Ben Greear
2002-06-12  6:32                             ` Pekka Savola
2002-06-12 12:11                             ` Horst von Brand
2002-06-12 12:11                             ` Horst von Brand
2002-06-12 12:28                               ` Lincoln Dale
2002-06-12 12:33                                 ` jamal
2002-06-12 12:44                                   ` Lincoln Dale
2002-06-12 12:44                                   ` Lincoln Dale
2002-06-12 12:44                                   ` Lincoln Dale
2002-06-12 12:44                                   ` Lincoln Dale
2002-06-12 13:00                                     ` jamal
2002-06-12 13:00                                     ` jamal
2002-06-12 14:53                                       ` Mark Mielke
2002-06-12 14:53                                       ` Mark Mielke
2002-06-12 14:53                                       ` Mark Mielke
2002-06-12 15:57                                         ` jamal
2002-06-12 15:57                                         ` jamal
2002-06-12 17:00                                         ` Horst von Brand
2002-06-12 17:00                                         ` Horst von Brand
2002-06-14  0:24                                       ` Lincoln Dale
2002-06-14 15:51                                         ` Stephen Hemminger
2002-06-14 15:51                                         ` Stephen Hemminger
2002-06-14 18:09                                           ` Ben Greear
2002-06-14 18:09                                           ` Ben Greear
2002-06-12 14:52                                 ` john slee
2002-06-12 14:55                                   ` Mark Mielke
2002-06-13  2:52                                   ` Lincoln Dale
2002-06-13 19:53                                     ` Horst von Brand
2002-06-13  7:21                                 ` David Schwartz
2002-06-13  7:21                                 ` David Schwartz
2002-06-13  8:44                                   ` Lincoln Dale
2002-06-13 10:10                                     ` David Schwartz
2002-06-13 10:10                                     ` David Schwartz
2002-06-13  8:44                                   ` Lincoln Dale [this message]
2002-06-23  2:03                                 ` Alan Cox
2002-06-23  2:03                                 ` Alan Cox
2002-06-23  2:05                                   ` Lincoln Dale
2002-06-12 12:28                               ` Lincoln Dale
2002-06-12  6:08                         ` Pekka Savola
2002-06-12  9:18                         ` Sean Hunter
2002-06-12  9:18                         ` Sean Hunter
2002-06-12  5:20                       ` Mark Mielke
2002-06-11 22:41                 ` Bill Davidsen
2002-06-09  0:51           ` David S. Miller
2002-06-09 14:47       ` Pekka Pietikäinen
  -- strict thread matches above, loose matches on Subject: below --
2002-06-12 20:30 Yan-Fa Li
2002-06-12 20:30 Yan-Fa Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ae9ma0$mhq$2@main.gmane.org' \
    --to=ltd@cisco.com \
    --cc=davem@redhat.com \
    --cc=davids@webmaster.com \
    --cc=greearb@candelatech.com \
    --cc=hadi@cyberus.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@oss.sgi.com \
    --cc=vonbrand@inf.utfsm.cl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.