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

Re: [Xen-users] VCPU amount

To: Carsten Schiers <carsten@xxxxxxxxxx>
Subject: Re: [Xen-users] VCPU amount
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Thu, 26 Mar 2009 22:28:39 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 26 Mar 2009 08:29:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <27791931.311238075460468.JavaMail.root@uhura>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <27791931.311238075460468.JavaMail.root@uhura>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Mar 26, 2009 at 8:51 PM, Carsten Schiers <carsten@xxxxxxxxxx> wrote:
> Hi,
>
> I don't want to hijack this thread. But as I lately posted a question which
> mainly was about weight and cap and this fits in perfectly (and also you seem
> to be an expert here), I repeat it below.

I'm just another Xen user :)

>
> In the meantime I saw an academic article Ludmilla Cherkasova et al. from 
> which
> I understood that you have to careful that a Dom0 doesn't get too much weight,
> as otherwise it's I/O hunger will slow down DomU activity.

In normal cirmustances Dom0 handles all physical I/O (disk, network)
including the ones that come from domU, so it should have highest
priority.

In general though, on multicore systems dedicating one core to dom0 is
enough, leaving other cores for domU. In that case dom0's weight is
somewhat irrelevant since it owns a dedicated core anyway.

> currently, I run Xen on a AMD Dualcore CPU. I have

Dual core is somewhat tricky. For best performance I always recommend
giving dom0 a dedicated core. That leaves only one CPU for all domUs,
whose priority you can adjust with cpu_weight.

>
>  Dom0 (clearly)
>  DomU Firewall (Endian)
>  DomU Fileserving (Samba)
>  DomU Mail&Fax (Scalix, Hylafax)
>  DomU Videostraming (Vdr)
>  DomU DMZ (web frontend, file sharing)
>  DomU 64 Bit development
>  DomU 32 Bit development

I don't think your system is suitable to run that many domUs, unless
all of them have very low load. For comparison, my current production
Xen servers range from 2 x dual-core to 4 x 6-core systems with at
least 8 GB memory, all running RHEL5 x86_64.

As usual though, do some testing to find out which setup works best for you.

Regards,

Fajar

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

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