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] Fast write performance, slow read performance in NFS

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Fast write performance, slow read performance in NFS
From: Linspeed <lee@xxxxxxxxxxxx>
Date: Thu, 23 Oct 2008 05:54:51 -0700 (PDT)
Delivery-date: Thu, 23 Oct 2008 05:55:31 -0700
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
Hello

I need to setup shared storage for several virtual machines I'm running in
Xen.
I've gone for NFS.

Native performance on the disk that is shared is as follows:
Read: 199 MB/second
Write: 158 MB/second

Now I've done lots of testing with NFS options on the client (the virtual
machine).
I've managed to get the same write performance as I get natively, but read
performance is way below half that of native. Around 70 MB/second.

Current setup on the server:
/disks/shared   *(rw,async,no_root_squash,no_subtree_check)

/etc/fstab on the virtual machine:
host:/disks/shared /nfs nfs rsize=262144,wsize=262144,hard,intr,rw 0 0

I have tried lots of settings for rsize, but it makes no difference. wsize
did - I got large performance increases by increasing the wsize.

When I run mount -v:
nfs
(rw,rsize=262144,wsize=262144,hard,intr,addr=200.200.200.184,nfsvers=3,proto=tcp,mountproto=udp)

I am using openSUSE 11.0. Kernel is 2.6.27. This problem also exists with
kernel 2.6.25.

Has anyone else had this problem, and if so how did you solve it?

Thanks
-- 
View this message in context: 
http://www.nabble.com/Fast-write-performance%2C-slow-read-performance-in-NFS-tp20130320p20130320.html
Sent from the Xen - User mailing list archive at Nabble.com.


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

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