Re: Kernel memory profiling

Joerg Henne (joerg@cogito.de)
Thu, 06 May 1999 10:55:14 +0200


Hi,

> If it's not an userspace issue grab my latest ikd-patch at:
>
> ftp://e-mind.com/pub/andrea/kernel/ikd/2.2.7-ikd1.bz2

thank you very much! That was EXACTLY what I needed!

> apply it, to a clean 2.2.7, enable the memleak detector, reboot and read
> the docs in scripts/memleak or similar. Then run the script to get the
> /proc/memleak info and you should discover which bit of kernel is leaking
> memory. CC to me when if you'll get such information.

I have updated the graphs at http://www.foobar.de/memgraphs/ (this time, the
test was done with 32M of physical memory, to speed things up).
The plot "memleak.gif" has been created from the information collected from
your memleak-Device. It clearly shows that the network driver for the RTL8139
is the offender (dev.c seems to be accounted for the nic driver's memory,
too).

Of course, now I've got to think about ways to fix this problem...

Thanks to all of you for your help.
Joerg Henne

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/