All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad@darnok.org>
To: George Shuklin <george.shuklin@gmail.com>
Cc: xen-devel@lists.xensource.com, sandr8@gmail.com
Subject: Re: a ton of kernel issues
Date: Tue, 13 Dec 2011 17:38:56 -0400	[thread overview]
Message-ID: <20111213213856.GA29005@andromeda.dapyr.net> (raw)
In-Reply-To: <4EE7BF4F.7030700@gmail.com>

On Wed, Dec 14, 2011 at 01:10:39AM +0400, George Shuklin wrote:
> On 13.12.2011 18:18, Konrad Rzeszutek Wilk wrote:
> 
> >>>what glitches should one expect with 3.0+, and having the choice,
> >>>would it be better to go with 3.1 or even 3.2?
> >>>
> >>Right now I know about two of them:
> >>When you set up memory for virtual machine using xenballon, value in
> >>dom0 differ from value in domU. The issue is that -xen kernels 'hide'
> >>some memory in 'used' memory, and pv-ops just reducing TotalMem to value
> >>without that memory. Practically that means if you set up memory for
> >>domain to 2GiB client will saw only 1.95GiB and so on.
> >>
> >>The second issue is lack of support of 'pre-inflated balloon', means you
> >>can not set up memory-static-max to 2GiB, target to 1GiB and do 'memory
> >>grow' from 1 G to 2 G latter without VM reboot. -xen kernels allow this
> >>(up to memory-static-max limit).
> >Is all of this with 'xm' or with 'xl' tools? What happens when you 'grow'
> >the memory from 1G to 2G? Are you using the hotplug memory balloon or
> >the older one?
> This is xcp (with shutdowned squeezed, it not a problem), so we using 
> direct calls to xc (domain_set_maxkb), but I can repeat this with xl 
> (which one and only one available in XCP), with same results. If I 
> create VM with static-max 2GiB, dynamic-max 1GiB, boot it, then:
> 
> 1) with PV_ops I can go lower than 1GiB, but never any higher than 1GiB

I just tried this, and had these two options in my guest config:

maxmem=2048
mem=1024

booted up the guest and from dom0 did "xm mem-set latest 2048"
and it expanded to 2G. Did "xm mem-set latest 10248" and it went down.

Is this how you are doing it as well? (I have to confess I don't know
much about XCP so don't know if those 'static-max, dynamic-max'
are the same thing).

Is this PV bootup? Or HVM?

> 2) with -xen kernels I can go upper to 2GiB.
> 
> If I compile kernel with xenballoon hotplug option enabled, after some 
> (very small) memory growth (within preallocated memory?) after future 
> attempts I getting this message:
> 
> [1935380.223401] System RAM resource 18000000 - 27ffffff cannot be added
> [1935380.223414] xen_balloon: reserve_additional_memory: add_memory() 
> failed: -17

Hm, that looks like a bug. But the old style balloon code does work.
Not sure why with a default .config you are hitting these issues.
> 
> (tested with vanilla 3.0, 3.1 and some RCs of 3.2)
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

      reply	other threads:[~2011-12-13 21:38 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-12 21:44 a ton of kernel issues Tim Evers
2011-12-12 21:56 ` Konrad Rzeszutek Wilk
2011-12-14  9:00   ` Tim Evers
2011-12-15  1:25     ` Konrad Rzeszutek Wilk
2011-12-13  9:09 ` George Shuklin
2011-12-13 10:19   ` Alessandro Salvatori
2011-12-13 10:36     ` George Shuklin
2011-12-13 13:17       ` David Vrabel
2011-12-13 13:37         ` Ian Campbell
2011-12-13 20:59           ` George Shuklin
2011-12-13 22:30             ` Ian Campbell
2011-12-13 22:53               ` George Shuklin
2011-12-14  7:25                 ` Ian Campbell
2011-12-14 12:16                   ` Ian Campbell
2011-12-14 12:21                     ` David Vrabel
2011-12-14 13:11                     ` Jan Beulich
2011-12-14 13:48                       ` Ian Campbell
2011-12-14 17:44                     ` Konrad Rzeszutek Wilk
2011-12-15 12:45                     ` George Shuklin
2011-12-15 16:26                       ` Konrad Rzeszutek Wilk
2011-12-13 21:05         ` George Shuklin
2011-12-13 21:45           ` Konrad Rzeszutek Wilk
2011-12-14 12:28             ` David Vrabel
2011-12-14 16:57               ` Konrad Rzeszutek Wilk
2011-12-14  7:47           ` Fajar A. Nugraha
2011-12-14 18:40             ` George Shuklin
2011-12-13 14:18       ` Konrad Rzeszutek Wilk
2011-12-13 21:10         ` George Shuklin
2011-12-13 21:38           ` Konrad Rzeszutek Wilk [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=20111213213856.GA29005@andromeda.dapyr.net \
    --to=konrad@darnok.org \
    --cc=george.shuklin@gmail.com \
    --cc=sandr8@gmail.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 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.