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

[Xen-users] The math doesn't add up (dom0-min-mem).

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] The math doesn't add up (dom0-min-mem).
From: skohrs <xen@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 20 Mar 2006 07:25:18 -0800 (PST)
Delivery-date: Mon, 20 Mar 2006 15:46:55 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
How does this *not* work?  This server has 1G of RAM.  I set dom0-min-mem =
196, but obviously don't understand how this variable figures into the
equation.

xen01:~ # xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      744     4 r-----   157.2
www                                1      128     1 -b----    18.0
mail                                   2      128     1 -b----   145.7
xen01:~ # cd /etc/xen

xen01:/etc/xen # xm create db01
Using config file "db01".
Error: Error creating domain: I need 257 MiB, but dom0_min_mem is 196 and
shrinking to 196 MiB would leave only 554 MiB free.

xen01:/etc/xen # xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      493     4 r-----   173.0
www                                1      128     1 -b----    18.3
mail                                   2      128     1 -b----   160.3

xen01:/etc/xen # free
             total       used       free     shared    buffers     cached
Mem:        761856     245664     516192          0      65944      82024
-/+ buffers/cache:      97696     664160
Swap:      2104496          0    2104496

xen01:/etc/xen # xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      493     4 r-----   173.4
www                                1      128     1 -b----    18.3
mail                                   2      128     1 -b----   160.3

xen01:/etc/xen # grep 196 *
xend-config.sxp:(dom0-min-mem 196)

xen01:/etc/xen # xm create db01
Using config file "db01".
Error: Error creating domain: I need 257 MiB, but dom0_min_mem is 196 and
shrinking to 196 MiB would leave only 554 MiB free.

xen01:/etc/xen # xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      493     4 r-----   174.7
www                                1      128     1 -b----    18.3
mail                                   2      128     1 ------   160.8

--
View this message in context: 
http://www.nabble.com/The-math-doesn%27t-add-up-%28dom0-min-mem%29.-t1311770.html#a3495292
Sent from the Xen - User forum at Nabble.com.


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] The math doesn't add up (dom0-min-mem)., skohrs <=