From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Ian Campbell <Ian.Campbell@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>,
Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: Re: [PATCH 0 of 3] Patches for PCI passthrough with modified E820 (v3) - resent.
Date: Fri, 13 May 2011 09:57:08 -0400 [thread overview]
Message-ID: <20110513135708.GC6042@dumpdata.com> (raw)
In-Reply-To: <1305276440.31488.60.camel@zakaz.uk.xensource.com>
> > memhog 4G worked great.. but then I noticed it started slowing down and
> > it was using the swap disk?
>
> I guess the I/O holes shadowed the RAM and hence it is basically wasted.
<nods>
> > Anyhow, seems that if you are using RHEL5, SLES11, you need to be carefull to
> > use 'memory' and 'maxmem'.
>
> Hrm, changing behaviour for existing guests isn't so nice, at least not
> without a way to turn the behaviour off, perhaps we do need an explicit
> cfg file variable to control this after all?
We could do that, and then once your idea below has been completly working
we can rip out the parameter?
>
> > With the PVOPS, need to balloon up and you are OK.
> >
> > Thought I do want to see about writting the code that would automatically balloon
> > back to the amount of memory that was deflated.
>
> I wonder if just writing the correct balloon target to xenstore while
> building the guest would be sufficient for the guest to balloon up once
> it's up?
Yeah, that way we can also fix the RHEL5, SLES11 ones too. Just subtract the
delta from the 'memory', put it in a variable ('target_now'?) that will be written
to the 'target' XenStore key (not sure if that was the correct name). However it also
implies that we need to do some extra steps with the P2M allocation _before_ we play
with the 'memory' value as the P2M allocation kicks of the populate_physmap and
we don't want it to shadow the I/O holes.
next prev parent reply other threads:[~2011-05-13 13:57 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-04 14:17 [PATCH 0 of 3] Patches for PCI passthrough with modified E820 (v3) - resent Konrad Rzeszutek Wilk
2011-05-04 14:17 ` [PATCH 1 of 3] tools: Add xc_domain_set_memory_map and xc_get_machine_memory_map calls (x86, amd64 only) Konrad Rzeszutek Wilk
2011-05-04 14:17 ` [PATCH 2 of 3] libxl: Add support for passing in the machine's E820 for PCI passthrough Konrad Rzeszutek Wilk
2011-05-10 8:29 ` Ian Campbell
2011-05-10 14:56 ` Konrad Rzeszutek Wilk
2011-05-17 15:10 ` Ian Jackson
2011-05-17 16:00 ` Konrad Rzeszutek Wilk
2011-05-17 16:05 ` Ian Campbell
2011-05-04 14:17 ` [PATCH 3 of 3] libxl: Convert E820_UNUSABLE and E820_RAM to E820_UNUSABLE as appropriate Konrad Rzeszutek Wilk
2011-05-09 9:00 ` [PATCH 0 of 3] Patches for PCI passthrough with modified E820 (v3) - resent Ian Campbell
2011-05-09 21:01 ` Konrad Rzeszutek Wilk
2011-05-10 8:30 ` Ian Campbell
2011-05-10 14:53 ` Konrad Rzeszutek Wilk
2011-05-10 15:09 ` Ian Campbell
2011-05-10 15:27 ` Konrad Rzeszutek Wilk
2011-05-10 15:32 ` Ian Campbell
2011-05-10 15:51 ` Konrad Rzeszutek Wilk
2011-05-11 7:49 ` Ian Campbell
2011-05-12 17:41 ` Konrad Rzeszutek Wilk
2011-05-13 8:47 ` Ian Campbell
2011-05-13 13:57 ` Konrad Rzeszutek Wilk [this message]
2011-05-17 16:02 ` Konrad Rzeszutek Wilk
2011-05-17 16:07 ` Ian Campbell
2011-05-17 16:34 ` Konrad Rzeszutek Wilk
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=20110513135708.GC6042@dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=Ian.Campbell@eu.citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=Stefano.Stabellini@eu.citrix.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).