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-bugs

[Xen-bugs] [Bug 182] New: xm mem-set does not work on domain 0

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 182] New: xm mem-set does not work on domain 0
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Tue, 23 Aug 2005 19:11:51 +0000
Delivery-date: Tue, 23 Aug 2005 19:11:56 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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=182

           Summary: xm mem-set does not work on domain 0
           Product: Xen
           Version: unstable
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: pl@xxxxxxxxxx


I have not tried this on a domU yet, but it's certainly broken on dom0.  I have
a machine that I boot with all it's memory in dom0, then mem-set it down to free
up memory for additional domains.  I've tried this on two different machines, so
it does not appear to depend on hardware.

As illustrated in the example below, running mem-set on dom0 does not have any
effect.

lamb6:/home/plars/cvs/xm-test/tests# cat /proc/xen/balloon
Current allocation:   467620 kB
Requested target:     472740 kB
Low-mem balloon:           0 kB
High-mem balloon:          0 kB
Xen hard limit:          ??? kB
lamb6:/home/plars/cvs/xm-test/tests# xm mem-set 0 256
lamb6:/home/plars/cvs/xm-test/tests# echo $?
0
lamb6:/home/plars/cvs/xm-test/tests# !cat
cat /proc/xen/balloon
Current allocation:   467620 kB
Requested target:     472740 kB
Low-mem balloon:           0 kB
High-mem balloon:          0 kB
Xen hard limit:          ??? kB

However, echoing directly to /proc/xen/balloon does work:
lamb6:/home/plars/cvs/xm-test/tests# echo 256M > /proc/xen/balloon
lamb6:/home/plars/cvs/xm-test/tests# !cat
cat /proc/xen/balloon
Current allocation:   262144 kB
Requested target:     262144 kB
Low-mem balloon:      205476 kB
High-mem balloon:          0 kB
Xen hard limit:          ??? kB

-- 
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>
  • [Xen-bugs] [Bug 182] New: xm mem-set does not work on domain 0, bugzilla-daemon <=