[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.