From: Avi Kivity <avi@qumranet.com>
To: Zdenek Kabelac <zdenek.kabelac@gmail.com>
Cc: kvm-devel@lists.sourceforge.net
Subject: Re: Qemu-kvm is leaking my memory ???
Date: Wed, 19 Mar 2008 19:40:08 +0200 [thread overview]
Message-ID: <47E14FF8.60708@qumranet.com> (raw)
In-Reply-To: <c4e36d110803191031y773a1106m6334e3b3dfed549@mail.gmail.com>
Zdenek Kabelac wrote:
> 2008/3/19, Avi Kivity <avi@qumranet.com>:
>
>> Zdenek Kabelac wrote:
>> > 2008/3/16, Avi Kivity <avi@qumranet.com>:
>> >
>> >> Zdenek Kabelac wrote:
>> >> > Hello
>> >> >
>> >> > Recently I'm using qemu-kvm on fedora-rawhide box with my own kernels
>> >> > (with many debug options) I've noticed that over the time my memory
>> >> > seems to disappear somewhere.
>> >> >
>> >> > Here is my memory trace after boot and some time of work - thus memory
>> >> > should be populated.
>> >> >
>> >>
>> >>
>> >> No idea how these should add up. What does 'free' say?
>> >>
>> >
>> > Ok - here goes my free log (I'm loggin free prior each start of my qemu-kvm
>> > so here is the log for this afternoon:
>> > (I'm running same apps all the time - except during kernel compilation
>> > I'm reading some www pages - and working with gnome-terminal - so some
>> > slightly more memory could have been eaten by them - but not in the
>> > range of hundreds of MB)
>> >
>> >
>>
>>
>> Can you make sure that it isn't other processes? Go to runlevel 3 and
>> start the VM using vnc or X-over-network?
>>
>
> Hmmm not really sure what do you mean by external VNC - I could grab
> this info once I'll finish some work today and kill all the apps
> running in the system - so most of the memory should be released -
> will go to single mode for this - is this what do you want ?
>
>
The -vnc switch, so there's no local X server. A remote X server should
be fine as well. Use runlevel 3, which means network but no local X server.
>> What host kernel and kvm version are you using?
>>
>
> Usually running quite up-to-date Linus git tree kernel -
> Both host/guest are running 2.6.25-rc6 kernels
> For compiling using gcc-4.3
>
> kvm itself is fedora rawhide package:
> kvm-63-2.fc9.x86_64
>
> (somehow I've troubles to compile the kvm-userspace git tree as libkvm
> mismatches my kernel version - which probably means I would have to
> use kvm linux kernel to use kvm-userspace ??)
>
If running kvm.git, do ./configure --with-patched-kernel. Please report
kvm compiler errors.
> (actually why the gcc-3.x is preferred when this compiler is IMHO far
> more broken then 4.3 ?)
>
>
qemu requires gcc 3. The kernel may be compiled with any gcc that it
supports.
--
error compiling committee.c: too many arguments to function
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
next prev parent reply other threads:[~2008-03-19 17:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-14 22:14 Qemu-kvm is leaking my memory ??? Zdenek Kabelac
2008-03-16 13:46 ` Avi Kivity
2008-03-19 15:05 ` Zdenek Kabelac
2008-03-19 15:56 ` Avi Kivity
2008-03-19 17:31 ` Zdenek Kabelac
2008-03-19 17:40 ` Avi Kivity [this message]
2008-03-23 9:26 ` Zdenek Kabelac
2008-03-23 10:22 ` Avi Kivity
2008-03-23 12:20 ` Avi Kivity
2008-03-23 23:06 ` Zdenek Kabelac
2008-03-24 10:09 ` Avi Kivity
2008-03-24 16:18 ` Avi Kivity
2008-03-24 21:42 ` Zdenek Kabelac
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=47E14FF8.60708@qumranet.com \
--to=avi@qumranet.com \
--cc=kvm-devel@lists.sourceforge.net \
--cc=zdenek.kabelac@gmail.com \
/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