All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Schmid <webmaster@rapidforum.com>
To: netdev@oss.sgi.com
Subject: Still bug-hunting
Date: Sat, 05 Mar 2005 18:57:00 +0100	[thread overview]
Message-ID: <4229F2EC.8090103@rapidforum.com> (raw)

Hello.

I have found out that the slow-down issue with many sockets is a memory problem now. Not that I do 
not have enough but the vm isnt able to reclaim fast-enough. Problem temporarily solved by setting 
lower_zone_protection to 1024. Still I wonder why /proc/net/sockstat shows this:

sockets: used 1637
TCP: inuse 1761 orphan 179 tw 3743 alloc 1761 mem 54224

The send-buffer is set to 128 and the rcv-buffer to 16 so theoretically it should be 1637*144=235728 
so I assume the buffers are allocated dynamically when they are really needed... I suppose the 
slow-down wouldnt appear if the buffers are allocated statically. Is there any way to check this?

Chris

             reply	other threads:[~2005-03-05 17:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-05 17:57 Christian Schmid [this message]
2005-03-05 18:29 ` Still bug-hunting David S. Miller
     [not found]   ` <4229FC15.3070408@rapidforum.com>
     [not found]     ` <20050305104854.45106335.davem@davemloft.net>
2005-03-05 18:54       ` Christian Schmid
2005-03-05 18:57         ` David S. Miller
2005-03-05 19:07           ` Christian Schmid
2005-03-05 19:57             ` Thomas Graf
2005-03-05 20:04               ` Christian Schmid
2005-03-05 20:32                 ` Francois Romieu
2005-03-05 20:40                   ` Christian Schmid
2005-03-05 21:22                     ` Francois Romieu

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=4229F2EC.8090103@rapidforum.com \
    --to=webmaster@rapidforum.com \
    --cc=netdev@oss.sgi.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.