From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: Nicolas <linux@1g6.biz>, user-mode-linux-devel@lists.sourceforge.net
Cc: Jeff Dike <jdike@addtoit.com>
Subject: SKAS patch (was: Re: [uml-devel] uml memory leak)
Date: Fri, 18 Jun 2004 20:10:24 +0200 [thread overview]
Message-ID: <200406182010.24658.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <200405221708.45574.linux@1g6.biz>
Alle 17:08, sabato 22 maggio 2004, Nicolas ha scritto:
> Hello,
>
> Here is my hostos config :
>
> fresh 2.6.6 kernel with :
>
> uml-patch-2.6.6-02
> patch-2.6.6-v2
> host+Uml-skas3-2.6.6-v1.patch
>
> I noticed a memory leak each time starting/stopping
> an uml os. (approx 7mo).
I resume his datas:
Before:
size-4096 17898 17898 4096 1 1 : tunables 24 12 0 :
slabdata 17898 17898 0
size-32 20157 20679 32 113 1 : tunables 120 60 0 :
slabdata 183 183 0
After starting and stopping 10 UMLs:
size-4096 37539 37539 4096 1 1 : tunables 24 12 0 :
slabdata 37539 37539 0
size-32 39791 40228 32 113 1 : tunables 120 60 0 :
slabdata 356 356 0
> I don't know what it means, but size-32 and size-4096 are increasing ...
I can confirm it on 2.4.26 with the SKAS patch I prepared (which is VERY
similar to the 2.6 one), and preemption + O(1) scheduler (actually, the whole
-lck tree).
Sadly I did not save my /proc/meminfo before rebooting, but I just found about
256M leaked by the host, after running multiple UML in skas mode. I expect
this not to happen in TT mode (this is probably a bug in the SKAS patch).
There were about 64*1000 objects inside size-4096 (i.e. each one wasting 4k),
and notably about the same number of objects inside size-32 (i.e. we leak
this things together). Btw, I went down to runlevel 1 and those objects were
still there. So it's a kernel leak. It is not a mm_struct leak, so I don't
understand where it comes from.
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
prev parent reply other threads:[~2004-06-18 18:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-22 15:08 [uml-devel] uml memory leak Nicolas
2004-06-18 18:10 ` BlaisorBlade [this message]
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=200406182010.24658.blaisorblade_spam@yahoo.it \
--to=blaisorblade_spam@yahoo.it \
--cc=jdike@addtoit.com \
--cc=linux@1g6.biz \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox