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 14:59:15 +0900
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Patrick Hess <posi@xxxxxxx>
Delivery-date: Fri, 15 Jul 2005 05:57:57 +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=jNy7sfW6210Pk3mYt8/r43XWUuHYG4y5SG9MxPH316I0RZa1bmaz435HPq8zE+Bii0wKsCMg9B36FlLs2NvkooOY+upLmfeugpuHiFvzADaxsUdk8EpVNaV58TlirUqhLV0XM4knnEZxQ7VtMjBB86lgeQh48Ec7BgELqwzI6gw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9cde8bff05071422287d9dd203@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>
Reply-to: aq <aquynh@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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.


regards,
aq

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