Re: VM in 2.4.7-pre hurts...

Mike Galbraith (mikeg@wen-online.de)
Mon, 9 Jul 2001 14:26:21 +0200 (CEST)


On 9 Jul 2001, Christoph Rohland wrote:

> Hi Mike,
>
> On Mon, 9 Jul 2001, Mike Galbraith wrote:
> >> > But still this may be a hint.
> >
> > _Anyway_, tmpfs is growing and growing from stdout. If I send
> > output to /dev/null, no growth. Nothing in tmpfs is growing, so I
> > presume the memory is disappearing down one of X or KDE's sockets.
>
> So tmpfs is not growing, but you still have a mem leak only with
> tmpfs? Is there some deleted file allocating blocks? Or did
> redirecting stdout fix the problem. I am not sure that I understand
> the situation.

tmpfs is growing. Redirecting output to /dev/null fixes it. (whee)

> > No such leakage without tmpfs, and I can do all kinds of normal
> > file type use of tmpfs with no leakage.
>
> BTW I am running /tmp on tmpfs all the time with KDE and never
> experienced something like that. But of course I ran oom without size
> limits.

I only started using tmpfs for /tmp after I found out how much faster
gcc runs without the -pipe switch. Writing temp files to disk is
much faster than using -pipe.. with tmpfs, it's even faster :)

-Mike

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