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

RE: [Xen-users] Re: simple configs for windows guest


  • To: "ko0nz" <yesiko0nz@xxxxxxxxx>
  • From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • Date: Wed, 30 May 2007 15:26:31 +0200
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 30 May 2007 06:29:02 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: AceivJEyn+upXP0wSC+hrQ0dcWlopwAABRGw
  • Thread-topic: [Xen-users] Re: simple configs for windows guest

 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of ko0nz
> Sent: 30 May 2007 14:15
> Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] Re: simple configs for windows guest
> 
> > To make the mouse and keyboard exit from the VM, you press 
> just CTRL-ALT
> > (no other keys). I misunderstood what you meant, sorry about that.
> 
> it's me: i need to improve my english...:)
> 
> > Try making sure that Dom0 runs on a separate CPU, that
> > will make it a tiny bit more responsive, but it's not a 
> HUGE difference.
> 
> any option on the config to do this?
> 
> xentop - 15:13:51   Xen 3.0.3-0
> 2 domains: 1 running, 1 blocked, 0 paused, 0 crashed, 0 
> dying, 0 shutdown
> Mem: 2071872k total, 2071436k used, 436k free    CPUs: 2 @ 1862MHz
>       NAME  STATE   CPU(sec) CPU(%)     MEM(k) MEM(%)  MAXMEM(k)
> MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) VBDS   VBD_OO   VBD_RD   VBD_WR
> SSID
>   Domain-0 -----r       1601   15.4     973824   47.0   no limit
> n/a     2    8   202425   352014    0        0        0        0    0
>      winxp --b---         30    0.2    1063324   51.3    1071516
> 51.7     1    1        0        0    2        0        0        0    0
> 
Yes, the "xm vcpu-pin" can be used to restrict which cpu(s) are used for
which domain. "xm vcpu-set" can be used to adjust the number of CPU's
used by a particular guest. 

You can also permanently set the number of CPU's used by the guest and
Dom0. For the Guest, you use "CPUS=n-m" or "CPUS=n,m" in the config
file. For Dom0, you can set the number of cpus with "(dom0-cpus n)" in
/etc/xen/xend-cofnig.sxp, which sets the number of CPUS for Dom0. You
can't map which CPU that dom0 uses, but it always starts at the lowest
CPU number. 

> 
> an another question:
> what could be the possibility to run a xen server on a (vt or 
> pacifica) server ?

You can run Xen inside a HVM virtual machine, yes. You can't use VT/SVM
once your on that VM tho (because neither of those features allow
"nested virtual machines" - there's been a few comments on that subject
in Xen Devel in the last month or so). 

> i need to diversify my knowledge...
> i understand that the aim is to have several guest...but on a server
> that is aimed to do one job, what could be the advantage?

I don't quite understand this "question"? The general purpose of Xen is
to run multiple guests, such as one Windows Server as a "Exchange Mail
Server", another guest is the "file-server" [say it's running Samba on
Linux] and a third one is the companies database server running "MS Sql"
on Windows Server. That's just one example. 

There is little advantage to running Xen on top of Xen - Mark Williamson
does it for development of the Xen hypervisor, which allows him to use
one machine to run multiple versions of Xen, and also since the
"base-Xen" can "shutdown" errant guest-instances, it allows "remote
reboot" of the Xen system being debugged. But for any "real" scenario,
it's unlikely to be useful. 

--
Mats
> 
> thank for your help.
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 
> 



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


 


Rackspace

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