From: Keir Fraser <keir.fraser@eu.citrix.com>
To: Sarina Canelake <sarina.canelake@oracle.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [RFC] new totalmem= boot parameter
Date: Wed, 21 Jul 2010 08:46:11 +0100 [thread overview]
Message-ID: <C86C6453.1B2D0%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <20100720212616.GB15056@ca-server1.us.oracle.com>
On 20/07/2010 22:26, "Sarina Canelake" <sarina.canelake@oracle.com> wrote:
>> It doesn't sound *very* useful. But then neither is mem= really. We can add
>> something like this if you really need it. So what's the motivation?
>>
>
> I found it useful while I was testing various core dumping capabilities.
> Using a boot-time argument to limit memory eliminates the need for pulling
> out DIMMs (which I couldn't do anyways, as the machines I was working
> on are remote). However mem= didn't suffice for this purpose
> beyond 3 Gb since, as I mentioned, it limits the physical address
> rather than the amount of RAM, which is what I thought it was
> supposed to do. Hence the implementation of totalmem=, which made my
> 16Gb+ boxes capable of imitating various, specific smaller configurations.
Okay, I applied a reimplemented form of your patch as xen-unstable:21837.
The option is named availmem rather than totalmem. I think it's a slightly
better name.
-- Keir
> Alternatively, if mem= isn't used very frequently, perhaps it wouldn't
> be a bad idea to simply update the functionality of mem= to limit the
> total memory rather than the physical address.
prev parent reply other threads:[~2010-07-21 7:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-19 17:56 [RFC] new totalmem= boot parameter Sarina Canelake
2010-07-19 18:11 ` Keir Fraser
2010-07-20 21:26 ` Sarina Canelake
2010-07-20 21:55 ` Konrad Rzeszutek Wilk
2010-07-21 7:46 ` Keir Fraser [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=C86C6453.1B2D0%keir.fraser@eu.citrix.com \
--to=keir.fraser@eu.citrix.com \
--cc=sarina.canelake@oracle.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).