netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Still bug-hunting
@ 2005-03-05 17:57 Christian Schmid
  2005-03-05 18:29 ` David S. Miller
  0 siblings, 1 reply; 10+ messages in thread
From: Christian Schmid @ 2005-03-05 17:57 UTC (permalink / raw)
  To: netdev

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

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

end of thread, other threads:[~2005-03-05 21:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-05 17:57 Still bug-hunting Christian Schmid
2005-03-05 18:29 ` 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

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