From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mr. Teo En Ming (Zhang Enming)" Subject: Re: Re: [Xen-users] Max. PV and HVM Guests Date: Mon, 9 Nov 2009 20:01:00 +0800 Message-ID: References: <1257685302.5339.11.camel@k2000.jpp.fr> <20091109115458.GF16033@reaktio.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2146446255==" Return-path: In-Reply-To: <20091109115458.GF16033@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: jp.pozzi@izzop.net, xen-devel@lists.xensource.com, space.time.universe@gmail.com, xen-users@lists.xensource.com, Robert Dunkley List-Id: xen-devel@lists.xenproject.org --===============2146446255== Content-Type: multipart/alternative; boundary=0016e64dc9327a38e90477eef232 --0016e64dc9327a38e90477eef232 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable No, I didn't limit dom0 memory in grub.conf. Here's my xm info output after I have shutdown all the virtual machines. [root@fedora11-x86-64-host ~]# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 2812 2 r----- 3242.5 [root@fedora11-x86-64-host ~]# xm info host : fedora11-x86-64-host release : 2.6.30-rc3-enming.teo-tip version : #1 SMP Wed Aug 19 23:14:15 SGT 2009 machine : x86_64 nr_cpus : 2 nr_nodes : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2800 hw_caps : bfebfbff:20100800:00000000:00000140:0400e3bd:00000000:00000001:00000000 virt_caps : hvm hvm_directio total_memory : 6039 free_memory : 3124 node_to_cpu : node0:0-1 node_to_memory : node0:3124 xen_major : 3 xen_minor : 5 xen_extra : -unstable 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=3D0xffff800000000000 xen_changeset : Tue Sep 01 11:34:31 2009 +0100 20143:a7de5bd776ca xen_commandline : iommu=3D1 cc_compiler : gcc version 4.4.1 20090725 (Red Hat 4.4.1-2) (GCC) cc_compile_by : root cc_compile_domain : (none) cc_compile_date : Thu Sep 10 07:01:13 SGT 2009 xend_config_format : 4 --=20 Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering) Alma Maters: (1) Singapore Polytechnic (2) National University of Singapore My Primary Blog: http://teo-en-ming-aka-zhang-enming.blogspot.com My Secondary Blog: http://enmingteo.wordpress.com My Youtube videos: http://www.youtube.com/user/enmingteo Email: space.time.universe@gmail.com Mobile Phone (Starhub Prepaid): +65-8369-2618 Street: Bedok Reservoir Road Country: Singapore On Mon, Nov 9, 2009 at 7:54 PM, Pasi K=E4rkk=E4inen wrote: > On Mon, Nov 09, 2009 at 06:52:37PM +0800, Mr. Teo En Ming (Zhang Enming) > wrote: > > Hi, > > > > Please watch this 4-minute video at > > [1]http://www.youtube.com/watch?v=3DLbLaPpwNAx4 > > > > I have only started 3 HVM Linux guests with 1 GB ram each. I can't > start > > the 4th HVM guest. If I attempt to start the 4th instance, it will > crash > > dom0. > > > > Are there anything in the xm dmesg output that could explain the low > limit > > to the number of VMs that I could start before dom0 becomes > unresponsive? > > > > Have you limited dom0 memory (by specifying dom0_mem=3DXMB option in > grub.conf for xen.gz) ? > > What does "xm info" say about free memory before starting any guests? > > -- Pasi > > > --0016e64dc9327a38e90477eef232 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable No, I didn't limit dom0 memory in grub.conf.

Here's my xm in= fo output after I have shutdown all the virtual machines.

[root@fedo= ra11-x86-64-host ~]# xm list
Name=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 ID=A0=A0 Mem VCPUs=A0=A0=A0=A0=A0 State=A0=A0 Time(s)
Domain-0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 0=A0 2812=A0=A0=A0=A0 2=A0=A0=A0= =A0 r-----=A0=A0 3242.5
[root@fedora11-x86-64-host ~]# xm info
host= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 : fedora11-x86-64-ho= st
release=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 : 2.6.30-rc3-enm= ing.teo-tip
version=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 : #1 SMP Wed Aug 19 23= :14:15 SGT 2009
machine=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 : x= 86_64
nr_cpus=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 : 2
nr_nod= es=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 : 1
cores_per_socket=A0=A0= =A0=A0=A0=A0 : 2
threads_per_core=A0=A0=A0=A0=A0=A0 : 1
cpu_mhz=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 : 2800
hw_caps=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 : bfebfbff:20100800:00= 000000:00000140:0400e3bd:00000000:00000001:00000000
virt_caps=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 : hvm hvm_directio
total_memory=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 : 6039
free_memory=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0 : 3124
node_to_cpu=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 : node0:0-1
node_to_memory=A0=A0=A0=A0=A0=A0=A0=A0 : node0:3124
xen_major=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 : 3
xen_minor=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 : 5
xen_extra=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 : -uns= table
xen_caps=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 : xen-3.0-x86_6= 4 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler=A0=A0=A0=A0=A0=A0=A0=A0=A0 : credit
xen_pagesize=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 : 4096
platform_params=A0=A0=A0=A0=A0=A0=A0 : virt= _start=3D0xffff800000000000
xen_changeset=A0=A0=A0=A0=A0=A0=A0=A0=A0 : T= ue Sep 01 11:34:31 2009 +0100 20143:a7de5bd776ca
xen_commandline=A0=A0= =A0=A0=A0=A0=A0 : iommu=3D1
cc_compiler=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 : gcc version 4.4.1 20090725 (= Red Hat 4.4.1-2) (GCC)
cc_compile_by=A0=A0=A0=A0=A0=A0=A0=A0=A0 : root<= br>cc_compile_domain=A0=A0=A0=A0=A0 : (none)
cc_compile_date=A0=A0=A0=A0= =A0=A0=A0 : Thu Sep 10 07:01:13 SGT 2009
xend_config_format=A0=A0=A0=A0 = : 4

--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mech= anical Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) Nat= ional University of Singapore
My Primary Blog: http://teo-en-ming-aka-zhang-enming.blo= gspot.com
My Secondary Blog: http://enming= teo.wordpress.com
My Youtube videos: http://www.youtube.com/user/enmingteo
Email: space.time.universe@gmail.com<= /a>
Mobile Phone (Starhub Prepaid): +65-8369-2618
Street: Bedok Reservoir Ro= ad
Country: Singapore

On Mon, Nov 9, 2= 009 at 7:54 PM, Pasi K=E4rkk=E4inen <pasik@iki.fi> wrote:
On Mon, Nov 09, 2009 at 06:52:37PM +0800, Mr. Teo En Ming (Zhang Enming) w= rote:
> =A0 =A0Hi,
>
> =A0 =A0Please watch this 4-minute video at
> =A0 =A0[1]http://www.youtube.com/watch?v=3DLbLaPpwNAx4
>
> =A0 =A0I have only started 3 HVM Linux guests with 1 GB ram each. I ca= n't start
> =A0 =A0the 4th HVM guest. If I attempt to start the 4th instance, it w= ill crash
> =A0 =A0dom0.
>
> =A0 =A0Are there anything in the xm dmesg output that could explain th= e low limit
> =A0 =A0to the number of VMs that I could start before dom0 becomes unr= esponsive?
>

Have you limited dom0 memory (by specifying dom0_mem=3DXMB option in<= br> grub.conf for xen.gz) ?

What does "xm info" say about free memory before starting any gue= sts?

-- Pasi






--0016e64dc9327a38e90477eef232-- --===============2146446255== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============2146446255==--