From: "Yang, Xiaowei" <xiaowei.yang@intel.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: Memory allocation in NUMA system
Date: Fri, 25 Jul 2008 15:51:38 +0800 [thread overview]
Message-ID: <4889860A.1040201@intel.com> (raw)
In-Reply-To: <C4AF3EDB.1B8D9%keir.fraser@eu.citrix.com>
Keir Fraser wrote:
> On 25/7/08 08:22, "Yang, Xiaowei" <xiaowei.yang@intel.com> wrote:
>
> >> Doesn't your solution amount to what we already do, for the 2-node
> example?
> >> i.e., node0 would not be chosen until node1 is exhausted?
> >>
> > Oh, what I mean is:
> > With the above possible fix, the domain memory is allocated from the
> > node it pinned to. As node0's memory is precious for DMA, it's suggested
> > to pin VMs to other nodes firstly.
> >
> > And for non-pinned VM, we can stick to the original method.
>
> How about by default we guarantee no more than 25% of a node's memory is
> classed as 'DMA memory', and we reduce the DMA address width variable in Xen
> to ensure that?
>
> So, in your example, we would reduce dma_bitsize to 30.
>
> -- Keir
>
>
Yes, a good suggestion!
Thanks,
Xiaowei
next prev parent reply other threads:[~2008-07-25 7:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-25 3:34 Memory allocation in NUMA system Yang, Xiaowei
2008-07-25 6:53 ` Keir Fraser
2008-07-25 7:22 ` Yang, Xiaowei
2008-07-25 7:27 ` Keir Fraser
2008-07-25 7:51 ` Yang, Xiaowei [this message]
2008-07-25 7:55 ` Keir Fraser
2008-07-25 10:26 ` Yang, Xiaowei
2008-07-25 12:56 ` Keir Fraser
2008-07-28 12:21 ` Andre Przywara
2008-07-28 12:38 ` Keir Fraser
2008-07-28 14:26 ` Andre Przywara
2008-07-28 14:53 ` Keir Fraser
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=4889860A.1040201@intel.com \
--to=xiaowei.yang@intel.com \
--cc=keir.fraser@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 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.