public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Severe trashing in 2.4.4
@ 2001-04-29 22:06 Manfred Spraul
  2001-04-29 22:14 ` Frank de Lange
  0 siblings, 1 reply; 13+ messages in thread
From: Manfred Spraul @ 2001-04-29 22:06 UTC (permalink / raw)
  To: frank; +Cc: Alexander Viro, linux-kernel

> On Sun, Apr 29, 2001 at 01:58:52PM -0400, Alexander Viro wrote:
> > Hmm... I'd say that you also have a leak in kmalloc()'ed stuff -
> > something in 1K--2K range. From your logs it looks like the
> > thing never shrinks and grows prettu fast...

You could enable STATS in mm/slab.c, then the number of alloc and free
calls would be printed in /proc/slabinfo.

> Yeah, those as well. I kinda guessed they were related...

Could you check /proc/sys/net/core/hot_list_length and skb_head_pool
(not available in /proc, use gdb --core /proc/kcore)? I doubt that this
causes your problems, but the skb_head code uses a special per-cpu
linked list for even faster allocations.

Which network card do you use? Perhaps a bug in the zero-copy code of
the driver?

--
    Manfred


^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <200104290311.f3T3BeO09131@bellini.kjist.ac.kr>]
* Severe trashing in 2.4.4
@ 2001-04-28 18:24 Frank de Lange
  0 siblings, 0 replies; 13+ messages in thread
From: Frank de Lange @ 2001-04-28 18:24 UTC (permalink / raw)
  To: linux-kernel

Hi'all,

There seems to be something amiss with 2.4.4 wrt. memory management, which
leads to severe trashing under *light* load on my SMP box (Abit BP-6 with
Maciej's IO-APIC patch). I've had my box become almost unuseable twice within a
4-hour period now. One of those times it was running a compile session, the
other time it did not run anything besides some X-terminals and xmms.

There's nothing in the log which seems to be related to this trashing. There
were no memory-intensive tasks running during the trashing (X was the biggest,
with 40 MB (including 32 MB for the video card).

When trashing, the system was running bdflush and kswapd, both of which used
between 30% and 60% CPU. System load was between 8 and 11, but the actual load
feels more like 50-60...

I have not found anything yet which triggers the problem. Coupled with the fact
that there's nothing in the logs (and nothing sensible to be seen through
sysrq). Judging from the thread on the list on the problems with the fork patch
(which seems to hit people with SMP systems), it might be related to this, but
that's only guessing.

Any ideas? Things to try?

Cheers//Frank
-- 
  WWWWW      _______________________
 ## o o\    /     Frank de Lange     \
 }#   \|   /                          \
  ##---# _/     <Hacker for Hire>      \
   ####   \      +31-320-252965        /
           \    frank@unternet.org    /
            -------------------------
 [ "Omnis enim res, quae dando non deficit, dum habetur
    et non datur, nondum habetur, quomodo habenda est."  ]

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

end of thread, other threads:[~2001-04-30  7:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-29 22:06 Severe trashing in 2.4.4 Manfred Spraul
2001-04-29 22:14 ` Frank de Lange
     [not found] <200104290311.f3T3BeO09131@bellini.kjist.ac.kr>
     [not found] ` <20010429140155.D24432@unternet.org>
     [not found]   ` <3AEC09EE.342FE1C8@kjist.ac.kr>
     [not found]     ` <20010429152414.B11395@athlon.random>
2001-04-29 16:18       ` Frank de Lange
2001-04-29 16:27         ` Alexander Viro
2001-04-29 17:46           ` Frank de Lange
2001-04-29 17:58             ` Alexander Viro
2001-04-29 18:01               ` Frank de Lange
2001-04-29 18:04               ` Frank de Lange
2001-04-30  7:45                 ` Mike Galbraith
2001-04-30  6:15               ` Mike Galbraith
     [not found]         ` <200104291911.XAA04489@ms2.inr.ac.ru>
     [not found]           ` <20010429214853.G11681@unternet.org>
     [not found]             ` <15084.42876.515254.47471@pizda.ninka.net>
2001-04-30  0:24               ` Frank de Lange
2001-04-30  2:00                 ` David S. Miller
  -- strict thread matches above, loose matches on Subject: below --
2001-04-28 18:24 Frank de Lange

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox