All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir@xensource.com>
To: Jan Beulich <jbeulich@novell.com>, Susan Krysan <KRYSANS@unisys.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: xen does not see more than 173800500k of memory
Date: Thu, 23 Aug 2007 15:27:14 +0100	[thread overview]
Message-ID: <C2F357D2.14826%keir@xensource.com> (raw)
In-Reply-To: <46CD54BB.76E4.0078.0@novell.com>

This should be easily fixed by properly applying
domain_clamp_alloc_bitsize() in __alloc_domheap_pages(). Why is it only
applied when the bitsize is explicitly specified by the caller?

I think that's the only thing to fix to allow the 166GB boot-time
restriction to be lifted, but am I missing something, Jan?

 -- Keir

On 23/8/07 08:34, "Jan Beulich" <jbeulich@novell.com> wrote:

> This seems to correspond to the truncation at 166Gb for 32on64 support (see
> xen/arch/x86/e820.c:machine_specific_memory_setup()). There used to be
> a command line options to disallow creation of compat mode guests (thereby
> allowing all memory to be used), but that option went away with fairly recent
> changes.
> 
> Jan
> 
>>>> "Krysan, Susan" <KRYSANS@unisys.com> 23.08.07 00:33 >>>
> Our test server (Unisys ES7000) has recently been upgraded with more
> processors and more memory, so I am testing x86_64 xen with 64 cpus and
> 192gb.  I compiled xen with max_phys_cpus=64 and debug=y.  xen sees the
> 64 cpus, but only sees 173800500k of the 192gb.  I booted dom0 with
> 2048M and numa=on.  I get the same result when I configure the server to
> have 176gb (xen still sees only 173800500k). Booting without numa=on
> makes no difference.
> 
>  
> 
> xentop - 14:48:42   Xen 3.0-unstable
> 
> 1 domains: 1 running, 0 blocked, 0 paused, 0 crashed, 0 dying, 0
> shutdown
> 
> Mem: 173800500k total, 4324748k used, 169475752k free    CPUs: 64 @
> 3400MHz
> 
>       NAME  STATE   CPU(sec) CPU(%)     MEM(k) MEM(%)  MAXMEM(k)
> MAXMEM(%) VCPUS
> 
>  NETS NETTX(k) NETRX(k) VBDS   VBD_OO   VBD_RD   VBD_WR SSID
> 
>   Domain-0 -----r         95    0.0    2097152    1.2   no limit
> n/a    32
> 
>     0        0        0    0        0        0        0    0
> 
>  
> 
> When I configure the server with 160gb or less, xen sees all of the
> memory. 
> 
>  
> 
> Also, when I boot with the SLES kernel, SLES can see the all of the
> memory.
> 
>  
> 
> I assume there is not a memory limit on xen.  I would greatly appreciate
> any help to resolve this problem.
> 
>  
> 
> Thanks,
> 
> Sue Krysan
> 
> Linux Systems Group
> 
> Unisys Corporation
> 
>  
> 
>  
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

  reply	other threads:[~2007-08-23 14:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-22 22:33 xen does not see more than 173800500k of memory Krysan, Susan
2007-08-22 22:38 ` Keir Fraser
2007-08-23  7:34 ` Jan Beulich
2007-08-23 14:27   ` Keir Fraser [this message]
2007-08-23 14:51     ` Jan Beulich
2007-08-23 15:53       ` Keir Fraser
  -- strict thread matches above, loose matches on Subject: below --
2007-09-05 16:45 Subrahmanian, Raj

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=C2F357D2.14826%keir@xensource.com \
    --to=keir@xensource.com \
    --cc=KRYSANS@unisys.com \
    --cc=jbeulich@novell.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.