All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Goirand <thomas@goirand.fr>
To: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Weird RAM handling with Xen 3.4.3-RC3
Date: Fri, 02 Apr 2010 04:06:55 +0800	[thread overview]
Message-ID: <4BB4FCDF.8050402@goirand.fr> (raw)
In-Reply-To: <19380.52196.965181.226230@mariner.uk.xensource.com>

Hi,

Using the latest Debian SID Xen kernel (pv_ops 2.6.32-4) that I compiled
in Lenny, I had weird RAM handling issues. Let me explain.

If in grub, I put:

kernel          /boot/xen-3.4-amd64.gz dom0_mem=2048M

then when starting KDM, it gets stuck and doesn't work. If I press e in
grub, remove the dom0_mem part, then my laptop is able to boot and start
X window. Quite annoying, because I quite want to use the directive. It
might be linked to the experimental version of the graphic driver that
I'm using, but I also read that others had issues with X, so I thought
this could be interesting.

Then another very strange behavior. Once I start using xend, I do:

root@GPLHost:buzzig>_ ~# xm info
total_memory           : 3990
free_memory            : 131
root@GPLHost:buzzig>_ ~# xm list
Name     ID   Mem VCPUs  State    Time(s)
Domain-0  0  3800     2  r-----   54.8
root@GPLHost:buzzig>_ ~# xm mem-set Domain-0 2048
root@GPLHost:buzzig>_ ~# xm list
Name     ID   Mem VCPUs  State    Time(s)
Domain-0  0  2048     2  r-----   56.3
root@GPLHost:buzzig>_ ~# xm info
total_memory           : 3990
free_memory            : 1113

After I set my dom0 to use 2048 MB of RAM, I get only 1113 MB of free
RAM. It as if a part of the RAM (829 MB of RAM) has gone! Quite wacko
isn't it? Could it be that the memory management is broken somehow? What
is going on here?

I posted the above to the Debian pkg-xen list, and Ian suggested me to
also send it here.

Thomas

  reply	other threads:[~2010-04-01 20:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-28 10:02 request to sign software Joanna Rutkowska
2010-03-29 17:47 ` Jeremy Fitzhardinge
2010-03-29 21:09   ` Joanna Rutkowska
2010-03-30  7:00     ` Keir Fraser
2010-03-30  9:46       ` Joanna Rutkowska
2010-03-30  9:59         ` Keir Fraser
2010-04-01 16:37       ` Ian Jackson
2010-04-01 20:06         ` Thomas Goirand [this message]
2010-03-30  9:58   ` Joanna Rutkowska

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=4BB4FCDF.8050402@goirand.fr \
    --to=thomas@goirand.fr \
    --cc=xen-devel@lists.xensource.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.