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

[Xen-users] physical network card assigned to the domU can optimize the

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] physical network card assigned to the domU can optimize the performance?
From: kazabe <kazabe@xxxxxxxxx>
Date: Fri, 11 Mar 2011 17:11:33 -0500
Delivery-date: Fri, 11 Mar 2011 14:14:49 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=EEujTj0E7K+dXS9HpFsRagKzBFmSP4Dkl49od2Cwxvw=; b=w3IKlL+fcvv8y+1wTK8ZP3WzlQHeQj1V4SleUelNQ7yApe4R4pfZhXatjmA3juCLeD pFTYQGazAL4TvygHRPUu2zqWBgJoOFM639gg8VEGP4W8TVKmNCalNAZuYbtF/ET/hb3s 11nEg7vigKzgoEnrLVSWKK7lnKc6CWGLbzkEk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=vz0ROtfzYod4pKp5KzOY0rHca0SkiXByGx15mKmG9X9wKirvreZ3Ls476sxXbLe+bD 8+F1Nymn1r9VPAmZ4+CJz8P8WML919mgjgsL+9R7morTLNlAY/q3SgTsnVpiI0dbMI4K csT7BVkyMBgjHOg6Pissz/ZZou3mvJlitpSqs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
hi.

I have a SAMBA PDC on a domU. �The users are experimenting low performance when use the apps stored in the server (access databases).

The first discard was assign exclusives CPU's to the domU.

kernel � � �= '/boot/vmlinuz-2.6.26-1-xen-686'
ramdisk � � = '/boot/initrd.img-2.6.26-1-xen-686'
memory � � �= '2048'
cpus � � � �= '4-6'
vcpus � � � �= '3'


Initially i was use file-backed image, but change all to physical partition and tap:aio images.


This is my actual config:

root � � � �= '/dev/sda2 ro'
disk � � � �= [
�� � � � � � � � �'tap:aio:/opt/xen/domains/samba/swap.img,sda1,w',
�'phy:/dev/sda6,sda2,w',
�'tap:aio:/opt/xen/domains/samba/home.img,sda3,w',
�'phy:/dev/disco-c/disco-c,sda4,w',

Now all the performance test show very good results, but the users continue experimenting slow access.

i run that command on domU


ethtool -K eth0 tx off
and apparently the performance was improved.

My last idea is dedicate a physical network card to that domU. �But really that can optimize the access?

I have 3 domUs in the same server, but the samba require the best access, because all the users work permanently on that (the others domUs are mail server and Web server).

really assign a dedicated network card to the domU can optimize the access?

Any another idea to discard?

thanks and regards.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>