From: Roberto Nibali <ratz@drugphish.ch>
To: Mark Butler <butlerm@middle.net>
Cc: andy.furniss@dsl.pipex.com,
"David S. Miller" <davem@davemloft.net>,
michal.k.k.piotrowski@gmail.com, netdev@vger.kernel.org
Subject: Re: Window shrinking (was Linux v2.6.16-rc6)
Date: Wed, 12 Apr 2006 23:24:37 +0200 [thread overview]
Message-ID: <443D7015.7080707@drugphish.ch> (raw)
In-Reply-To: <443ABFE1.6030601@middle.net>
>>>> Thanks Mark, I guess packeteer closes window down properly, I
>>>> thought Dave's reply meant that doing that was Treason.
>>>
>>> Packeteer is almost certainly being cavalier about the way it reduces
>>> windows. It could be a serious problem, depending on the way it
>>> treats traffic on the return path. The "treason" thing is a joke.
>>> It is like a bank extending you a credit line one day, and revoking
>>> it the next.
>>
>> I don't use or know of anyone who uses Packeteer - or have you tested?
I had the distinct pleasure of partly get involved with debugging
network stalls related to Linux clients (2.6.x kernel) and a Packeteer.
>> to mean that it was illegal to close down a window at all - you
>> cleared that up - ie it is legal if you close it by <= the amount of
>> data that has just been acked. I assume this won't cause the Treason
>> messaage so don't really understand why it is cavalier - or do you
>> just mean the whole idea of window manipulation to shape may be dodgey
>> but legal?
>
> I thought that Packeteer was causing the error messages. If not then no
> problem. The "treason" messages will not occur if the window is reduced
> normally. The window is there for a reason - namely flow control. A
> zero rwnd means "I can't handle any more data right now". That is
> perfectly legal as long as previously granted transmit credit is not
> withdrawn. Generally speaking the rwnd always drops to zero when the
> receive buffer is full.
Regarding Packeteer traffic shaper and Linux TCP stacks:
A customer of ours has had significant problems with the packeteer
traffic shaper in the past. Unfortunately my consulting contract only
lasted so long as to point out the problem with the shaper in
conjunction with Linux clients, thus I cannot provide you with more
detailed information.
The setup at the customer side (ISP) was like follows: they had
installed a squid-proxy farm for their clients and used the Packeteer to
do some sort of micro-billing, shaping and general QoS. The problem of
window shrinking by the shaper affecting the client's performance
manifested itself most of the time when their customers were accessing a
site via that proxy-farm, which delivered its site-pictures using
content caching services like Akamai (a really horrible example for
testing squid's patience is, among others, http://www.pro-sieben.de).
This caused quite a burst of quick TCP connection setups and teardowns,
eventually resulting in a complete stall for 10-15s.
Disabling the Packeteer traffic shaper completely solved this issue and
customers were not experiencing any stalls anymore when surfing the net.
Updating the firmware of the shaper did help somewhat, so I suspect
their TCP window handling is also error-prone to some extend. So I went
on and blamed the Packeteer traffic shaper device. It was not until I
tested the whole setup with their pilot squid-farm based on Solaris
(SunOS 2.5.1) when I had to rethink my blaming, since routing their
customers over the Solaris squid proxies did not exhibit the problem
when enabling the traffic shaper for the same troublesome websites. So,
this again showed an indication towards an issue with Linux clients and
the Packeteer traffic shaper. The squid-farm is running on a SuSE 9.3
based kernel. Due to performance constraints we had to go with the Linux
solution and disable the traffic shaper.
As soon as I get some more consulting days and if the customer desires,
I'll be debugging this issue in greater detail. I will send a debug
report to netdev in this case. Chances are slim though, since they only
have one Packeteer so far and no test network to perform test conducts,
so erroneous tests would cause major downtime for a lot of this ISP's
customers.
My 2 cents,
Roberto Nibali, ratz
--
echo
'[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc
next prev parent reply other threads:[~2006-04-12 21:25 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-11 23:58 Linux v2.6.16-rc6 Linus Torvalds
2006-03-12 1:51 ` Michal Piotrowski
2006-03-12 2:39 ` David S. Miller
2006-03-12 3:28 ` Chris Adams
2006-03-12 3:35 ` Lee Revell
2006-03-12 10:57 ` Michal Feix
2006-03-12 8:35 ` Willy Tarreau
2006-03-12 12:04 ` Michal Piotrowski
2006-04-09 12:08 ` Andy Furniss
[not found] ` <44393AB7.3050506@middle.net>
[not found] ` <443A2A46.9050808@dsl.pipex.com>
[not found] ` <443A7195.5070406@middle.net>
[not found] ` <443AA46C.9080708@dsl.pipex.com>
[not found] ` <443ABFE1.6030601@middle.net>
2006-04-12 21:24 ` Roberto Nibali [this message]
2006-04-12 23:34 ` Window shrinking (was Linux v2.6.16-rc6) Andy Furniss
2006-03-12 9:03 ` Linux v2.6.16-rc6 Christoph Hellwig
2006-03-13 19:54 ` Bjorn Helgaas
2006-03-13 21:57 ` Christoph Hellwig
2006-03-13 19:07 ` 2.6.16-rc6: all psmouse regressions fixed? Adrian Bunk
2006-03-14 4:59 ` Benoit Boissinot
2006-03-15 3:38 ` Ryan Phillips
2006-03-13 20:05 ` 2.6.16-rc6: known regressions Adrian Bunk
2006-03-13 12:09 ` Greg KH
2006-03-13 12:12 ` Greg KH
2006-03-13 21:06 ` Jiri Slaby
2006-03-13 21:06 ` Jiri Slaby
2006-03-14 9:36 ` Tom Seeley
2006-03-13 21:22 ` [v4l-dvb-maintainer] " Johannes Stezenbach
2006-03-13 22:14 ` Nathan Laredo
2006-03-13 20:09 ` Olaf Hering
2006-03-13 22:42 ` Andrew Morton
2006-03-14 1:06 ` Adrian Bunk
2006-03-14 1:06 ` Adrian Bunk
2006-03-14 13:32 ` [Alsa-devel] " Takashi Iwai
2006-03-14 13:32 ` Takashi Iwai
2006-03-14 22:18 ` Alan Cox
2006-03-14 22:38 ` Paul Fulghum
2006-03-16 1:42 ` Paul Fulghum
2006-03-14 23:01 ` Jeremy Fitzhardinge
2006-03-17 17:30 ` Jiri Slaby
2006-03-16 22:12 ` Linux v2.6.16-rc6 Bill Davidsen
2006-03-17 14:36 ` 2.6.16-rc6: known regressions (v2) Adrian Bunk
2006-03-17 16:28 ` Takashi Iwai
2006-03-17 20:40 ` Takashi Iwai
2006-03-18 19:27 ` Parag Warudkar
2006-03-18 19:27 ` Parag Warudkar
2006-03-18 19:46 ` Parag Warudkar
2006-03-18 19:46 ` Parag Warudkar
2006-03-20 10:25 ` Takashi Iwai
2006-03-20 10:25 ` Takashi Iwai
2006-03-20 10:47 ` Adrian Bunk
2006-03-20 10:57 ` Takashi Iwai
2006-03-20 10:57 ` Takashi Iwai
2006-03-20 10:59 ` Takashi Iwai
2006-03-18 20:57 ` Claudio Martins
2006-03-19 22:49 ` Nathan Scott
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=443D7015.7080707@drugphish.ch \
--to=ratz@drugphish.ch \
--cc=andy.furniss@dsl.pipex.com \
--cc=butlerm@middle.net \
--cc=davem@davemloft.net \
--cc=michal.k.k.piotrowski@gmail.com \
--cc=netdev@vger.kernel.org \
/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.