All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@amd.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: xen-devel@lists.xensource.com, "Yang, Xiaowei" <xiaowei.yang@intel.com>
Subject: Re: Memory allocation in NUMA system
Date: Mon, 28 Jul 2008 14:21:02 +0200	[thread overview]
Message-ID: <488DB9AE.7040305@amd.com> (raw)
In-Reply-To: <C4AF8C20.24A2A%keir.fraser@eu.citrix.com>

Keir Fraser wrote:
> On 25/7/08 11:26, "Yang, Xiaowei" <xiaowei.yang@intel.com> wrote:
> 
>>> Indeed the only reason we still have dma_bitsize is to break the
>>> select-NUMA-node-first memory allocation search strategy. So tweaking the
>>> dma_bitsize approach further to strike the correct NUMA-vs-DMA balance does
>>> seem the right thing to do. Feel free to work up a patch.
>>>
>>>  -- Keir
>>>
>> How about this one?
> 
> Hmmm.. something like that. Let's wait until 3.4 development opens to get
> this checked in.
Mmh, why not check this in in 3.3? I have noticed this problem already a 
year ago and was having some other kind of fix for it (which actually 
prefered nodes over zones):
http://lists.xensource.com/archives/html/xen-devel/2007-12/msg00831.html
I think this is a somewhat serious issue on NUMA machines, since with 
the automatic pinning now active (new in 3.3!) many domains will end up 
with remote memory _all the time_. So I think of this as a bugfix. 
Actually I have dma_bitsize=30 hardwired in my Grub's menu.lst for some 
months now...


Regards,
Andre.

-- 
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
Tel: +49 351 277-84917

  reply	other threads:[~2008-07-28 12:21 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
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 [this message]
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=488DB9AE.7040305@amd.com \
    --to=andre.przywara@amd.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=xiaowei.yang@intel.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.