All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@osdl.org>
To: Lincoln Dale <ltd@cisco.com>
Cc: jamal <hadi@cyberus.ca>, 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
Subject: Re: RFC: per-socket statistics on received/dropped packets
Date: 14 Jun 2002 08:51:15 -0700	[thread overview]
Message-ID: <aee11o$vs$2@main.gmane.org> (raw)
In-Reply-To: <5.1.0.14.2.20020614100914.01adca48@mira-sjcm-3.cisco.com>

It sounds like what you want is socket accounting which works like
process accounting.  I.e when a socket lifetime ends, put out a record
with number of packets/bytes sent/received.

On Thu, 2002-06-13 at 17:24, Lincoln Dale wrote:
> At 09:00 AM 12/06/2002 -0400, jamal wrote:
> > > > > 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 call that "extremely limited"?
> > > >
> > > >Surely, you must have better ways to do accounting than this -- otherwise
> > > >you deserve to loose money.
> > >
> > > many people don't have better ways to do accounting than this.
> >
> >Then they dont care about loosing money.
> >There's nothing _more important_ to a service provider than ability to do
> >proper billing. Otherwise, they are a charity organization.
> 
> on this side of the planet (Australia), just about *all* service-providers 
> offer differentiated-billing baed on a volume-usage basis.
> that includes Worldcom, Telstra, Optus (SingTel), connect.com.au (AAPT).
> some of these differentiate themselves by using caching to provide faster 
> access and/or mitigate the latency overhead of simplex satellite.
> this has been ongoing for many many many years now.  please just accept 
> that HTTP caching is almost a necessity with the pricing models in use!
> 
> >There's nothing _more important_ to a service provider than ability to do
> >proper billing. Otherwise, they are a charity organization.
> 
> we're almost talking about the same thing here -- and this is my point!  i 
> agree that is is important - hence why i've added a getsockopt() option to 
> provide octet counters from the ip+tcp level!
> 
> > > in the case of Squid and Linux, they're typically using it because its
> > > open-source and "free".
> >
> >I am hoping you didnt mean to say squid was only good because it has
> >these perks.
> 
> not at all.  they're using it because it meets their requirements.
> once again, this is not a discussion about religion or politics!
> 
> > > they want to use HTTP Caching to save bandwidth (and therefore save money),
> > > but they also live in a regime of volume-based billing.  (not everywhere on
> > > the planet is fixed-$/month for DSL).
> > >
> > > the unfortunate solution is to use HTTP Transaction logs, which count
> > > payload at layer-7, not payload+headers+retransmissions at layer-3.
> >
> >Look at your own employers eqpt if you want to do this right.
> >And then search around freshmeat so you dont reinvent the wheel.
> 
> once again, i respectfully disagree.  while there are numerous technologies 
> for accounting out there (e.g. netflow), they all break down when you have 
> things like HTTP Persistent connections which may share a single 
> [server-side] connection with multiple [client-side] connections.
> 
> >And until you prove it is worth it and useful to other people then
> >forever thats where it belongs. I now of nobody serious about billing
> >who is using sockets stats as the transaction point.
> 
> you live in a country where the billing regeme is different.
> 
> > > lawn-mower support sounds like a userspace application to me.
> >
> >But we need a new system call support
> 
> (yes, i did take that comment as humerous before :-)).
> 
> if what i was proposing involved a new system-call then i agree that there 
> would be signficant pushback.  what i have is a new getsockopt() 
> option.  ie. in reality, no worse than getsockopt(..,TCP_INFO).
> 
> 
> cheers,
> 
> lincoln.
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

  parent reply	other threads:[~2002-06-14 15:51 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:51           ` David S. Miller
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  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-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:08                         ` Pekka Savola
2002-06-12  6:26                           ` Ben Greear
2002-06-12  6:32                             ` Pekka Savola
2002-06-12  6:32                             ` Pekka Savola
2002-06-12  6:49                               ` Ben Greear
2002-06-12  6:49                               ` Ben Greear
2002-06-12 12:11                             ` Horst von Brand
2002-06-12 12:28                               ` Lincoln Dale
2002-06-12 12:28                               ` Lincoln Dale
2002-06-12 12:33                                 ` jamal
2002-06-12 12:44                                   ` Lincoln Dale
2002-06-12 13:00                                     ` jamal
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-12 14:53                                       ` Mark Mielke
2002-06-14  0:24                                       ` Lincoln Dale
2002-06-14 15:51                                         ` Stephen Hemminger
2002-06-14 18:09                                           ` Ben Greear
2002-06-14 18:09                                           ` Ben Greear
2002-06-14 15:51                                         ` Stephen Hemminger [this message]
2002-06-12 13:00                                     ` 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 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  8:44                                   ` Lincoln Dale
2002-06-13 10:10                                     ` David Schwartz
2002-06-13 10:10                                     ` David Schwartz
2002-06-23  2:03                                 ` Alan Cox
2002-06-23  2:05                                   ` Lincoln Dale
2002-06-23  2:03                                 ` Alan Cox
2002-06-12 12:11                             ` Horst von Brand
2002-06-12  6:26                           ` Ben Greear
2002-06-12  9:18                         ` Sean Hunter
2002-06-12  9:18                         ` Sean Hunter
2002-06-12  5:20                       ` Mark Mielke
2002-06-10  4:34               ` David S. Miller
2002-06-09  0:13         ` Ben Greear
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='aee11o$vs$2@main.gmane.org' \
    --to=shemminger@osdl.org \
    --cc=davem@redhat.com \
    --cc=greearb@candelatech.com \
    --cc=hadi@cyberus.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ltd@cisco.com \
    --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.