Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-bugs

[Xen-bugs] [Bug 751] xmtest failing for lack of shadow memory parameter

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 751] xmtest failing for lack of shadow memory parameter in config file
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Thu, 31 Aug 2006 13:15:31 -0700
Delivery-date: Thu, 31 Aug 2006 13:16:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <bug-751-3@xxxxxxxxxxxxxxxxxxxxxxxxxxx/bugzilla/>
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=751





------- Comment #2 from ricardoz@xxxxxxxxxx  2006-08-31 13:15 -------
Created an attachment (id=434)
 --> (http://bugzilla.xensource.com/bugzilla/attachment.cgi?id=434&action=view)
shadow_memory patch

What basically did was include the "shadow_memory" parameter in the HVM config
file with 8MB by default. This fixes the problem alone. Now, I went further and
created a function to grow this memory as needed.

The stipulation is that there should be 2KB of memory for every one MB of RAM
assigned to the guest domain, plus a few MB per vcpu ( ~2MB).

The 8MB of shadow memory is more than enough for xmtest when concerning RAM.
The my function grows this shadow memory if we have more than 3 vcpus. This is
just a safety precaution.


-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

<Prev in Thread] Current Thread [Next in Thread>