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/
Home Products Support Community News


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

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: Re: [Xen-users] Re: simple configs for windows guest
From: ko0nz <yesiko0nz@xxxxxxxxx>
Date: Wed, 30 May 2007 15:54:01 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 30 May 2007 06:52:22 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ETtX6O4x3HS2yS/3V704CBy7HVeQCNNspDr4cb2nKplZfrtXgt24PMdaDfn4F7cNmEG5dJezOED4h9W8JXusHRi61aleopJYrK42ueqM5LVchulLN7A+bfCIyrWQS5BW8PiyQCKbhiQyG1A2S0eOCcfN/ahcxQZI1N0Hp1lXPnQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=tHqDkw0kn12HzNd7bOYmZX4yo7+CVMMVyAyg5YhyqKSrrK45LQgWwDgflBGv8bVAptkfBLHt/5dnldK22QjRTYuszD1FO9YHQDIuRKtjnLu4uXz4WxhP9p6DLg3FYHKg3SgdDyHaCmdi7uW+mY17bQFI/bjDECHByuZ78lkFigg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B02561D74@xxxxxxxxxxxxxxxxx>
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: <1f7e0c110705300614j12c729e5vac023c8038c459f2@xxxxxxxxxxxxxx> <907625E08839C4409CE5768403633E0B02561D74@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
thank you for your answer.

> > 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)
>   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.

Xen-users mailing list