WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] DomU max 32GB memory

To: Bert Sarens <Bert.Sarens@xxxxxxxx>
Subject: Re: [Xen-users] DomU max 32GB memory
From: Todd Deshane <todd.deshane@xxxxxxx>
Date: Sat, 18 Jun 2011 10:43:41 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 18 Jun 2011 07:45:30 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=GD5koVmumaat9daSQTUqh7FnKwU9Aq7eHVUShSMpdo4=; b=FsH00TnGVStY5/GForizTK3yoopD4dtP7FkH2JZf+wzlcfA2HD/FPRJqs4Lp6LeNJ5 7pomWERPfooWCwcA9hri/+QK6KXPYdA8nWoquzDRlunolAukN4RqS/BUouO7Jy6Q3jq5 qBkJb7KqkQqQKIG8PisBPDaj/RSRALcRjTfUg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=nUfbMa0BGzbJPFWRNSRzNuz6srNEjcwt3V4buWhsV3qK/E1ZDUsBbcIBMSHPFAmvd6 vGan47lIeGscOdoT90yU2eUoN6sXiQCyaJygLrf+a870yypZHKwh6utQjXNzx47zb47M RNRgjoMNJ71DwgIGuyn7wPs5XRrwTd5Gzt/Ww=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110618111745.25723j5yetrpdkc9@xxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4DFB19CB.4010403@xxxxxxxx> <BANLkTik1LG63-efXes8cjKD1Wd7DnwJrSQ@xxxxxxxxxxxxxx> <20110618111745.25723j5yetrpdkc9@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Sat, Jun 18, 2011 at 5:17 AM, Bert Sarens <Bert.Sarens@xxxxxxxx> wrote:
> xentop - 13:16:37   Xen 4.0.1
> 2 domains: 1 running, 1 blocked, 0 paused, 0 crashed, 0 dying, 0 shutdown
> Mem: 100650084k total

this is 95.987400055 GB

So Xen sees all of the memory.

See Xen best practices for setting dom0 memory
http://wiki.xensource.com/xenwiki/XenBestPractices



 100384044k used, 266040k free    CPUs: 24 @ 2394MHz
>      NAME  STATE   CPU(sec) CPU(%)     MEM(k) MEM(%)  MAXMEM(k) MAXMEM(%)
> VCPU
> S NETS NETTX(k) NETRX(k) VBDS   VBD_OO   VBD_RD   VBD_WR  VBD_RSECT
>  VBD_WSECT
> SSID
>  database --b---      17974    0.0   67105024   66.7   67108864      66.7
> 1    1   281487   153774    2        0  4890212  1998411   40125562
> 45614704
>   0
>  Domain-0 -----r       1378    1.4   31989760   31.8   no limit       n/a
>  2
> 4    0        0        0    0        0        0        0          0
>  0
>   0
>
>
> Citeren "Todd Deshane" <todd.deshane@xxxxxxx>:
>
>> On Fri, Jun 17, 2011 at 5:09 AM, Bert Sarens <Bert.Sarens@xxxxxxxx> wrote:
>>>
>>> Dear all,
>>>
>>> I installed a xen hypervisor on a server with 96 GB ram.
>>> I chose 64Gb ram for one domU called database. However when the domU
>>> starts
>>> it only has 32GB memory available.
>>> I thought the max was up to 1TB. Am I doing something wrong?
>>> Operating system: debian amd64 squeeze.
>>>
>>> Thank you for your time,
>>> Bert
>>>
>>> Some info about my systems:
>>>
>>> dpkg -l results:
>>>
>>> ii  xen-hypervisor 4.0.1-2        The Xen Hypervisor on AMD64
>>> ii  xen-linux-syst 2.6.32+29      Xen system with Linux 2.6 for 64-bit
>>> PCs
>>> (me
>>> ii  xen-linux-syst 2.6.32-34squee Xen system with Linux 2.6.32 on 64-bit
>>> PCs
>>> (
>>> ii  xen-qemu-dm-4. 4.0.1-2        Xen Qemu Device Model virtual machine
>>> hardwa
>>> ii  xen-tools      4.2-1          Tools to manage Xen virtual servers
>>> ii  xen-utils-4.0  4.0.1-2        XEN administrative tools
>>> ii  xen-utils-comm 4.0.0-1        XEN administrative tools - common files
>>> ii  xenstore-utils 4.0.1-2        Xenstore utilities for Xen
>>>
>>> Xm info results:
>>>
>>> host                   : xennekeV2
>>> release                : 2.6.32-5-xen-amd64
>>> version                : #1 SMP Thu May 19 01:16:47 UTC 2011
>>> machine                : x86_64
>>> nr_cpus                : 24
>>> nr_nodes               : 2
>>> cores_per_socket       : 6
>>> threads_per_core       : 2
>>> cpu_mhz                : 2394
>>> hw_caps                :
>>> bfebfbff:2c100800:00000000:00001f40:029ee3ff:00000000:00000001:00000000
>>> virt_caps              : hvm hvm_directio
>>> total_memory           : 98291
>>> free_memory            : 259
>>> node_to_cpu            : node0:0,2,4,6,8,10,12,14,16,18,20,22
>>>                          node1:1,3,5,7,9,11,13,15,17,19,21,23
>>> node_to_memory         : node0:0
>>>                          node1:259
>>> node_to_dma32_mem      : node0:0
>>>                          node1:256
>>> max_node_id            : 1
>>> xen_major              : 4
>>> xen_minor              : 0
>>> xen_extra              : .1
>>> xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
>>> hvm-3.0-x86_32p hvm-3.0-x86_64
>>> xen_scheduler          : credit
>>> xen_pagesize           : 4096
>>> platform_params        : virt_start=0xffff800000000000
>>> xen_changeset          : unavailable
>>> xen_commandline        : placeholder dom0_mem=32G
>>> cc_compiler            : gcc version 4.4.5 (Debian 4.4.5-10)
>>> cc_compile_by          : waldi
>>> cc_compile_domain      : debian.org
>>> cc_compile_date        : Wed Jan 12 14:04:06 UTC 2011
>>> xend_config_format     : 4
>>>
>>> Xm list resulst:
>>>
>>> Name                                        ID   Mem VCPUs      State
>>> Time(s)
>>> Domain-0                                     0 31976    24     r-----
>>> 615.0
>>> database                                     1 65536     1     r-----
>>> 9165.6
>>>
>>> On the database domU
>>>
>>> free -m
>>>              total       used       free     shared    buffers     cached
>>> Mem:         32764       3519      29245          0         11        100
>>> -/+ buffers/cache:       3407      29357
>>> Swap:         2047          4       2043
>>>
>>>
>>
>> How much memory does xm top (xentop) report?
>>
>> --
>> Todd Deshane
>> http://www.linkedin.com/in/deshantm
>> http://www.xen.org/products/cloudxen.html
>> http://runningxen.com/
>>
>
>
>
>



-- 
Todd Deshane
http://www.linkedin.com/in/deshantm
http://www.xen.org/products/cloudxen.html
http://runningxen.com/

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>