netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christian Schmid <webmaster@rapidforum.com>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: netdev@oss.sgi.com
Subject: Re: TCP-Protection is really a pain...
Date: Thu, 03 Feb 2005 06:21:46 +0100	[thread overview]
Message-ID: <4201B4EA.2030101@rapidforum.com> (raw)
In-Reply-To: <20050202205437.571a702b@localhost.localdomain>

Actually, thats my problem. Single streams are too slow! Before I had buffers up to 500 KB. This was 
very nice to CPU because I only needed to "push" more data once in 5 seconds. I am doing this every 
second now... *sigh* well maybe you might just want to add a /proc file in order to configure this 
behaviour.

btw: Another problem I am experiencing is that downloads suddenly break in speed from 360 kb/sec to 
8-12 kb/sec. 5 seconds later they stall completely. But the interesting part is, that the send-queue 
is completely full (checked with a grep in netstat). This looks like as if the receiver is just too 
slow. But this is not the case. That makes it rather funny. The receiver is waiting with an empty 
pipe but linux doesn't send. What could this be?


Stephen Hemminger wrote:
> On Thu, 03 Feb 2005 05:07:30 +0100
> Christian Schmid <webmaster@rapidforum.com> wrote:
> 
> 
>>Hi.
>>
>>Your new dynamically adjusted socket-buffer in 2.6.10 is really a pain for big servers. PLEASE tell 
>>me a way how to disable it.
> 
> 
> sysctl -w net.ipv4.tcp_wmem="4096 8192 16384"
> 
> Your single stream will be slower, but the memory footprint will be smaller.
> 
> 

  reply	other threads:[~2005-02-03  5:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-03  4:07 TCP-Protection is really a pain Christian Schmid
2005-02-03  4:54 ` Stephen Hemminger
2005-02-03  5:21   ` Christian Schmid [this message]
2005-02-03  6:50     ` Jeff Garzik
2005-02-03 17:04       ` Christian Schmid
2005-02-03 19:33     ` Stephen Hemminger
2005-02-03 19:58       ` Christian Schmid
2005-02-03 20:15         ` Stephen Hemminger
2005-02-03 20:19           ` Christian Schmid
2005-02-03 20:47             ` Rick Jones
2005-02-03 22:13             ` Jeff Garzik
2005-02-03 22:29               ` Christian Schmid

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=4201B4EA.2030101@rapidforum.com \
    --to=webmaster@rapidforum.com \
    --cc=netdev@oss.sgi.com \
    --cc=shemminger@osdl.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 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).