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-devel

Re: [Xen-devel] Linux 3.0.0 dom0_mem= not working

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Linux 3.0.0 dom0_mem= not working
From: Daniel Musketa <daniel.musketa@xxxxxxxxxxxxxx>
Date: Tue, 2 Aug 2011 11:08:54 +0200
Delivery-date: Tue, 02 Aug 2011 02:09:57 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=qNP8cbLLs8Ayr7V6rXBxoor1StDqzTn5oD/BfD8Bzkk=; b=ulJF7Re38QehYAEOc3mw/j+U6Kz5LkOzhIW5okQYfJ3isMN6iTR+t5m4KjUZ8WKfoc yFXkQzUGwQ9WLOToeBU8i2y59Kex0ZBNrRRknziCXiD5lZNjbODzLzTgV6QQxedx8GBt NLXkipgJ1xIhg59U+qp8SCsz+hTAMjWg7ghec=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110802031405.GC11133@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <CAEJD-+PtqWTQj6Attdkim_U-LsnzGCs1w04HvcOWQZWom=pcJQ@xxxxxxxxxxxxxx> <CAEJD-+NucjgQiMfJeG58cjxmtvT=2JvUFBjNnRMA3PfxQvieDw@xxxxxxxxxxxxxx> <20110801234042.GB11133@xxxxxxxxxxxx> <CAEJD-+NshngtAQXpQmRkOTh4CA7PNO45SmqeD3sB4b9EFjqESA@xxxxxxxxxxxxxx> <20110802031405.GC11133@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
2011/8/2 Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>:
> Did you stick 'mem=4G' on the Linux stanza and dom0_mem=4G on the Xen stanza?
>
> You should see around 4G in the dom0.

Yes, I did (well "4000M", not "4G"):

-------- 8< --------
root@2ven:~# xm info
host                   : 2ven
release                : 3.0.0
version                : #1 SMP Mon Aug 1 20:35:28 CEST 2011
machine                : x86_64
nr_cpus                : 12
nr_nodes               : 1
cores_per_socket       : 6
threads_per_core       : 2
cpu_mhz                : 2400
hw_caps                :
bfebfbff:2c100800:00000000:00001f40:029ee3ff:00000000:00000001:00000000
virt_caps              : hvm
total_memory           : 24515
free_memory            : 796
node_to_cpu            : node0:0-11
node_to_memory         : node0:796
node_to_dma32_mem      : node0:796
max_node_id            : 0
xen_major              : 4
xen_minor              : 0
xen_extra              : .2
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        : dom0_mem=4000M loglvl=all guest_loglvl=all
com1=115200,8n1 console=com1 sync_console console_to_ring lapic=debug
apic_verbosity=debug apic=debug iommu=off
cc_compiler            : gcc version 4.4.5 (Debian 4.4.5-8)
cc_compile_by          : root
cc_compile_domain      : (none)
cc_compile_date        : Mon Aug  1 11:16:18 CEST 2011
xend_config_format     : 4
root@2ven:~#
root@2ven:~# cat /proc/cmdline
mem=4000M root=LABEL=2ven_root ro rootdelay=5
cryptopts=source=UUID=85d60a1f-208a-4b05-b6d5-0bf096413078,target=raid10_crypt,lvm=zven-2ven_root
console=hvc0 earlyprintk=xen nomodeset initcall_debug debug
loglevel=10
root@2ven:~#
root@2ven:~# xm list 0
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  2560    12     r-----   6575.1
root@2ven:~#
root@2ven:~# free -m
             total       used       free     shared    buffers     cached
Mem:          2126       2099         26          0        122       1769
-/+ buffers/cache:        206       1919
Swap:          511          0        511
-------- >8 --------

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

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