netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Congestion Avoidance Monitoring Tools
@ 2006-04-21  5:26 Piet Delaney
  2006-04-21  5:59 ` Tom Young
  2006-04-21 15:19 ` Stephen Hemminger
  0 siblings, 2 replies; 7+ messages in thread
From: Piet Delaney @ 2006-04-21  5:26 UTC (permalink / raw)
  To: netdev; +Cc: Piet Delaney, linux-net

I'm upgrading our 2.6.12 kernel to 2.6.13, which includes significant
congestion avoidance code additions and changes. I was wondering if
there are any tools folks can recommend for testing the kernel to make
sure the congestion avoidance code is operating correctly. For 
example the displaying of the congestion window as a function of time
while undergoing convergence. For causing congestion I could modify 
a kernel to discard packets once in a while on a lab gateway and hit 
it with iperf. HP's netperf looks interesting. 

Any suggestions?


-piet

-- 
---
piet@bluelane.com


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

* Re: Congestion Avoidance Monitoring Tools
  2006-04-21  5:26 Congestion Avoidance Monitoring Tools Piet Delaney
@ 2006-04-21  5:59 ` Tom Young
  2006-04-21  6:57   ` Andi Kleen
  2006-04-21 15:19 ` Stephen Hemminger
  1 sibling, 1 reply; 7+ messages in thread
From: Tom Young @ 2006-04-21  5:59 UTC (permalink / raw)
  To: piet; +Cc: netdev, linux-net

On Thu, 2006-04-20 at 22:26 -0700, Piet Delaney wrote:
> I'm upgrading our 2.6.12 kernel to 2.6.13, which includes significant
> congestion avoidance code additions and changes. I was wondering if
> there are any tools folks can recommend for testing the kernel to make
> sure the congestion avoidance code is operating correctly. For 
> example the displaying of the congestion window as a function of time
> while undergoing convergence. For causing congestion I could modify 
> a kernel to discard packets once in a while on a lab gateway and hit 
> it with iperf. HP's netperf looks interesting. 
> 
> Any suggestions?
> 
> 
> -piet
> 

Hi,

Try having a look at the output of 'ss -i' (you may need to update to
the latest iproute2 tools). You could either try and parse the text
output of that or use the same inet_diag interface that ss uses to poll
for the data it at regular intervals.

-- 
Thomas Young
http://cubinlab.ee.unimelb.edu.au/~tyo/
Research Assistant
CUBIN Research Centre - University of Melbourne


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

* Re: Congestion Avoidance Monitoring Tools
  2006-04-21  5:59 ` Tom Young
@ 2006-04-21  6:57   ` Andi Kleen
  2006-04-21  7:25     ` Piet Delaney
  0 siblings, 1 reply; 7+ messages in thread
From: Andi Kleen @ 2006-04-21  6:57 UTC (permalink / raw)
  To: Tom Young; +Cc: piet, netdev, linux-net

On Friday 21 April 2006 07:59, Tom Young wrote:
> On Thu, 2006-04-20 at 22:26 -0700, Piet Delaney wrote:
> > I'm upgrading our 2.6.12 kernel to 2.6.13, which includes significant
> > congestion avoidance code additions and changes. I was wondering if
> > there are any tools folks can recommend for testing the kernel to make
> > sure the congestion avoidance code is operating correctly. For 
> > example the displaying of the congestion window as a function of time
> > while undergoing convergence. For causing congestion I could modify 
> > a kernel to discard packets once in a while on a lab gateway and hit 
> > it with iperf. HP's netperf looks interesting. 
> > 
> > Any suggestions?
> > 
> > 
> > -piet
> > 
> 
> Hi,
> 
> Try having a look at the output of 'ss -i' (you may need to update to
> the latest iproute2 tools). You could either try and parse the text
> output of that or use the same inet_diag interface that ss uses to poll
> for the data it at regular intervals.

Another way is to use tcptrace on a tcpdump file
(http://jarok.cs.ohiou.edu/software/tcptrace/) 
It finds a lot of statistics about the dumped TCP connections.

Newer ethereal also has some TCP plotting functions that are useful.
They don't display the congestion window directly, but you can see it indirectly.

-Andi

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

* Re: Congestion Avoidance Monitoring Tools
  2006-04-21  6:57   ` Andi Kleen
@ 2006-04-21  7:25     ` Piet Delaney
  0 siblings, 0 replies; 7+ messages in thread
From: Piet Delaney @ 2006-04-21  7:25 UTC (permalink / raw)
  To: Andi Kleen; +Cc: Piet Delaney, Tom Young, netdev, linux-net

On Fri, 2006-04-21 at 08:57 +0200, Andi Kleen wrote:
> On Friday 21 April 2006 07:59, Tom Young wrote:
> > On Thu, 2006-04-20 at 22:26 -0700, Piet Delaney wrote:
> > > I'm upgrading our 2.6.12 kernel to 2.6.13, which includes significant
> > > congestion avoidance code additions and changes. I was wondering if
> > > there are any tools folks can recommend for testing the kernel to make
> > > sure the congestion avoidance code is operating correctly. For 
> > > example the displaying of the congestion window as a function of time
> > > while undergoing convergence. For causing congestion I could modify 
> > > a kernel to discard packets once in a while on a lab gateway and hit 
> > > it with iperf. HP's netperf looks interesting. 
> > > 
> > > Any suggestions?
> > > 
> > > 
> > > -piet
> > > 
> > 
> > Hi,
> > 
> > Try having a look at the output of 'ss -i' (you may need to update to
> > the latest iproute2 tools). You could either try and parse the text
> > output of that or use the same inet_diag interface that ss uses to poll
> > for the data it at regular intervals.
> 
> Another way is to use tcptrace on a tcpdump file
> (http://jarok.cs.ohiou.edu/software/tcptrace/) 
> It finds a lot of statistics about the dumped TCP connections.

Tcptrace looks pretty good, graphing the sequence numbers as a function
of time was one of the features I'm looking for.

> 
> Newer ethereal also has some TCP plotting functions that are useful.
> They don't display the congestion window directly, but you can see it indirectly.

I never tried the ethereal graph facility, looks like another great
idea.


Thanks,
-piet

> 
> -Andi
-- 
---
piet@bluelane.com


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

* Re: Congestion Avoidance Monitoring Tools
  2006-04-21  5:26 Congestion Avoidance Monitoring Tools Piet Delaney
  2006-04-21  5:59 ` Tom Young
@ 2006-04-21 15:19 ` Stephen Hemminger
  2006-04-23 22:52   ` Hagen Paul Pfeifer
  1 sibling, 1 reply; 7+ messages in thread
From: Stephen Hemminger @ 2006-04-21 15:19 UTC (permalink / raw)
  To: piet; +Cc: netdev, linux-net

On Thu, 20 Apr 2006 22:26:14 -0700
Piet Delaney <piet@bluelane.com> wrote:

> I'm upgrading our 2.6.12 kernel to 2.6.13, which includes significant
> congestion avoidance code additions and changes. I was wondering if
> there are any tools folks can recommend for testing the kernel to make
> sure the congestion avoidance code is operating correctly. For 
> example the displaying of the congestion window as a function of time
> while undergoing convergence. For causing congestion I could modify 
> a kernel to discard packets once in a while on a lab gateway and hit 
> it with iperf. HP's netperf looks interesting. 
> 
> Any suggestions?
> 
> 
> -piet
> 

2.6.13 still had lots of problems, things didn't really get working
right till 2.6.15 or later. Especially with TSO.

I have a tool using kprobe's see http://developer.osdl.org/shemminger/prototypes/tcpprobe.tar.gz
I try to keep it up to date with current kernel and build process, last used it
on 2.6.16.

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

* Re: Congestion Avoidance Monitoring Tools
  2006-04-21 15:19 ` Stephen Hemminger
@ 2006-04-23 22:52   ` Hagen Paul Pfeifer
  2006-04-24 17:39     ` Stephen Hemminger
  0 siblings, 1 reply; 7+ messages in thread
From: Hagen Paul Pfeifer @ 2006-04-23 22:52 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: piet, netdev, linux-net

* Stephen Hemminger | 2006-04-21 08:19:17 [-0700]:

>2.6.13 still had lots of problems, things didn't really get working
>right till 2.6.15 or later. Especially with TSO.

--verbose?

>I have a tool using kprobe's see http://developer.osdl.org/shemminger/prototypes/tcpprobe.tar.gz
>I try to keep it up to date with current kernel and build process, last used it
>on 2.6.16.

wget http://developer.osdl.org/shemminger/prototypes/tcpprobe.tar.gz

Ended with following error code: ;-)

00:32:48 ERROR 403: Forbidden.

HGN

-- 
Microsoft is to software what McDonalds is to gourmet cooking.

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

* Re: Congestion Avoidance Monitoring Tools
  2006-04-23 22:52   ` Hagen Paul Pfeifer
@ 2006-04-24 17:39     ` Stephen Hemminger
  0 siblings, 0 replies; 7+ messages in thread
From: Stephen Hemminger @ 2006-04-24 17:39 UTC (permalink / raw)
  To: Hagen Paul Pfeifer; +Cc: piet, netdev, linux-net

On Mon, 24 Apr 2006 00:52:35 +0200
Hagen Paul Pfeifer <hagen@jauu.net> wrote:

> * Stephen Hemminger | 2006-04-21 08:19:17 [-0700]:
> 
> >2.6.13 still had lots of problems, things didn't really get working
> >right till 2.6.15 or later. Especially with TSO.
> 
> --verbose?
> 
> >I have a tool using kprobe's see http://developer.osdl.org/shemminger/prototypes/tcpprobe.tar.gz
> >I try to keep it up to date with current kernel and build process, last used it
> >on 2.6.16.
> 
> wget http://developer.osdl.org/shemminger/prototypes/tcpprobe.tar.gz
> 
> Ended with following error code: ;-)
> 
> 00:32:48 ERROR 403: Forbidden.
> 
> HGN
> 

Fixed

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

end of thread, other threads:[~2006-04-24 17:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-21  5:26 Congestion Avoidance Monitoring Tools Piet Delaney
2006-04-21  5:59 ` Tom Young
2006-04-21  6:57   ` Andi Kleen
2006-04-21  7:25     ` Piet Delaney
2006-04-21 15:19 ` Stephen Hemminger
2006-04-23 22:52   ` Hagen Paul Pfeifer
2006-04-24 17:39     ` Stephen Hemminger

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).