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

Re: [Xen-users] Serious performance problems - is Xen not ready for prod

To: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Serious performance problems - is Xen not ready for production use?
From: aq <aquynh@xxxxxxxxx>
Date: Fri, 15 Jul 2005 15:22:41 +0900
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Patrick Hess <posi@xxxxxxx>
Delivery-date: Fri, 15 Jul 2005 06:21:22 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Rk+2Ya7uRn6bNcuoFg6ZN1wa1tSN7LSK6pMQ3Ekgz2kj51vcjyUI+Dcsw2l1WDbkF9x8AX5LI4JzhDL8G5dCA2SomLbK3a5gNGdIQR9yLsK9tmqxbuUmc3k0Y+t+h5lX9X4ZRlmOTstPyavUqaVpGLDsx5WdxunpE7oI+7YDRds=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9cde8bff05071422593c92944f@xxxxxxxxxxxxxx>
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>
References: <42D4D8F4.4040106@xxxxxxx> <200507140013.45001.mark.williamson@xxxxxxxxxxxx> <42D68706.2020708@xxxxxxx> <200507141541.47091.mark.williamson@xxxxxxxxxxxx> <9cde8bff05071422287d9dd203@xxxxxxxxxxxxxx> <9cde8bff05071422593c92944f@xxxxxxxxxxxxxx>
Reply-to: aq <aquynh@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 7/15/05, aq <aquynh@xxxxxxxxx> wrote:
> On 7/15/05, aq <aquynh@xxxxxxxxx> wrote:
> > On 7/14/05, Mark Williamson <mark.williamson@xxxxxxxxxxxx> wrote:
> > > <snip>
> > >
> > > > When I had a closer look to the mem line:
> > > > Mem:    257488K total,   255368K used,     2120K free,      128K buffers
> > > >
> > > > ...it looked strange to me. I checked and found my config file for this
> > > > domain looking like this:
> > > >
> > > > ...
> > > > memory = 128
> > > > extra = "mem=268435456"
> > > > ...
> > >
> > > Well spotted!
> > >
> > > > This was left over from my tries to get the "xm balloon" working. I
> > > > removed the extra line from the config file - and voila, it works... Is
> > > > this config above wrong at all or is the strange behaviour I found
> > > > related to the bugs with balloon feature..?
> > >
> > > The config line looks OK at first glance but...  I wonder what units the 
> > > mem
> > > parameter expects: if it expects KB then you've just caused it to 
> > > allocate a
> > > frame table for an absolutely *huge* physical memory, which would account 
> > > for
> > > all the real memory being allocated.
> > >
> >
> > in domain config file, you can give memory parameters this way:
> > - <number>: memory unit is Byte
> > - <number>{k.K}: memory unit is Kilobyte
> > - <number>{m.M}: memory unit is Megabyte
> > - <number>{g.G}: memory unit is Gigabyte
> >
> 
> oops, i took another look, and looks like the default memory unit is
> Kilobyte, if you dont specify. if so, it is impossible to give the
> maxmem memory in Byte unit, and  the configuration above is probably
> *invalid* because that amount of memory is way too much.

hmm.. another oops :~p

the unit for programming interface is KB, but for *domain*
configuration, if you dont specify then the memory unit is MB. so you
should adjust your domain config file, and give it another shoot.


sorry for so much confuses ;-)
aq

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