Port-xen archive

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

Re: boot.cfg



On Tue, Sep 23, 2008, Christoph Egger wrote:

> On Tuesday 23 September 2008 10:49:02 Christoph Schug wrote:

> > Seeing the same problem here, 1863 MB of the 2048 MB of physical memory
> > get assigned to Domain-0 (according to 'xm list') despite of any setting
> > of dom0_mem.
> 
> What does dmesg or vmstat say how much the dom0 has ?

Here's some info:

| # fgrep memory\ = /var/run/dmesg.boot 
|   total memory = 1863 MB
|   avail memory = 1787 MB
| 
| # sysctl hw.{phys,user}mem{,64} 
|   hw.physmem = 1954197504
|   hw.physmem64 = 1954197504
|   hw.usermem = 1947738112
|   hw.usermem64 = 1947738112
| 
| # xm info
|   host                   : pkg.example.com
|   release                : 4.99.72
|   version                : NetBSD 4.99.72 (XEN3_DOM0) #1: Thu Sep 18 15:03:36 
CEST 2008  
adm%pkg.example.com@localhost:/usr/obj/sys/arch/amd64/compile/XEN3_DOM0
|   machine                : amd64
|   nr_cpus                : 2
|   nr_nodes               : 1
|   sockets_per_node       : 1
|   cores_per_socket       : 2
|   threads_per_core       : 1
|   cpu_mhz                : 2304
|   hw_caps                : 
178bfbff:ebd3fbff:00000000:00000010:00002001:00000000:0000011f
|   total_memory           : 2030
|   free_memory            : 8
|   xen_major              : 3
|   xen_minor              : 1
|   xen_extra              : .4
|   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
|   cc_compiler            : gcc version 4.1.3 20080704 prerelease (NetBSD nb1 
20080202)
|   cc_compile_by          : root
|   cc_compile_domain      : 
|   cc_compile_date        : Wed Sep 17 14:49:47 CEST 2008
|   xend_config_format     : 4
| 
| # xm list Domain-0
|   Name                                        ID   Mem VCPUs      State   
Time(s)
|   Domain-0                                     0  1863     1     r-----   
1157.8

Christoph



Home | Main Index | Thread Index | Old Index