All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brice Figureau <brice+lklm@daysofwonder.com>
To: Vincent Vanackere <vincent.vanackere@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.17: slow (as hell) tcp inbound transfers
Date: Mon, 19 Jun 2006 16:59:47 +0200	[thread overview]
Message-ID: <1150729187.4985.41.camel@localhost.localdomain> (raw)
In-Reply-To: <65258a580606190717t2cc5b28eg10fb4d64fe5ec1f3@mail.gmail.com>

Hi,

On Mon, 2006-06-19 at 16:17 +0200, Vincent Vanackere wrote:
> On 6/19/06, Brice Figureau <brice+lklm@daysofwonder.com> wrote:
> > Now to the problem: I just finished the installation of a brand new
> > 2.6.17 on a Dell PowerEdge 2850 which was running 2.6.16.19 really fine,
> > and I'm encountering a strange issue.
> >
> > It seems that TCP inbound transfers (using either curl, or scp) are
> > really slow except when issued on our gigabit LAN.
> 
> Could you try the following to see if it cures your problem ?
> 
> echo 0 > /proc/sys/net/ipv4/tcp_window_scaling

Yes, that fixed it:
# curl http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.tar.gz
> /dev/null
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed
  0 49.3M    0  9856    0     0   2991      0  4:48:05  0:00:03  4:48:02
3680

# echo 0 > /proc/sys/net/ipv4/tcp_window_scaling

# curl http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.tar.gz
> /dev/null
  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current
                                 Dload  Upload   Total   Spent    Left
Speed
  1 49.3M    1  904k    0     0  86544      0  0:09:57  0:00:10  0:09:47
71173

Did something has changed between 2.6.16 and 2.6.17 regarding TCP window
scaling ?

I remember a discussion on lklm aroung 2.6.7 or so that finally ended as
a bug in a firewall that wasn't handling TCP window scaling gracefully.
That's certainly my case, I'll will have a look to that.

Thanks for the help,
-- 
Brice Figureau


  reply	other threads:[~2006-06-19 14:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-19 13:59 2.6.17: slow (as hell) tcp inbound transfers Brice Figureau
2006-06-19 14:17 ` Vincent Vanackere
2006-06-19 14:59   ` Brice Figureau [this message]
2006-06-19 15:15     ` Con Kolivas
2006-06-19 15:52       ` Brice Figureau

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=1150729187.4985.41.camel@localhost.localdomain \
    --to=brice+lklm@daysofwonder.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vincent.vanackere@gmail.com \
    /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.