[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Better default for dom0 memory.



ChangeSet 1.1825, 2005/04/13 23:13:14+01:00, iap10@xxxxxxxxxxxxxxxxxxx

        Better default for dom0 memory.
        
        Add Xen cmd line parameter to set max number of CPUs ("maxcpus"). 
        This doesn't change the enumeration order, so you may wish to use 
        it in conjunction with 'noht'.



 setup.c   |    2 +-
 smpboot.c |    4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)


diff -Nru a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c      2005-04-13 19:05:13 -04:00
+++ b/xen/arch/x86/setup.c      2005-04-13 19:05:13 -04:00
@@ -22,7 +22,7 @@
 #include <asm/e820.h>
 
 /* opt_dom0_mem: Kilobytes of memory allocated to domain 0. */
-static unsigned int opt_dom0_mem = 16000;
+static unsigned int opt_dom0_mem = 64000;
 integer_param("dom0_mem", opt_dom0_mem);
 
 /*
diff -Nru a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c
--- a/xen/arch/x86/smpboot.c    2005-04-13 19:05:13 -04:00
+++ b/xen/arch/x86/smpboot.c    2005-04-13 19:05:13 -04:00
@@ -51,8 +51,10 @@
 
 #ifdef CONFIG_SMP
 
-/* Setup configured maximum number of CPUs to activate */
+/* Cconfigured maximum number of CPUs to activate. We name the parameter 
+"maxcpus" rather than max_cpus to be compatible with Linux */
 static int max_cpus = -1;
+integer_param("maxcpus", max_cpus); 
 
 /* Total count of live CPUs */
 int smp_num_cpus = 1;

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.