Linux NFS development
 help / color / mirror / Atom feed
* Horrible NFS Client Performance During Heavy Server IO
@ 2009-03-13 20:36 David Rees
  2009-03-13 21:10 ` Trond Myklebust
  0 siblings, 1 reply; 10+ messages in thread
From: David Rees @ 2009-03-13 20:36 UTC (permalink / raw)
  To: linux-nfs

I've been trying to troubleshoot/tune around a problem I have been
experiencing where if the NFS server is under heavy write load (the
disks are saturated), client side NFS performance drops to nearly 0.
As soon as the load is lifted so that there is no significant IO wait
time on the server, the clients start acting responsively again.

Server setup:
Fedora 9 kernel 2.6.27.15-78.2.23.fc9.x86_64
NFS tuning - none
Disk system - 230GB SATA RAID1 array on a basic AACRAID adapter
Dual XEONs, 8GB RAM
Network GigE

Client setup:
Fedora 10 kernel 2.6.27.19-170.2.35.fc10.x86_64
NFS tuning - none
Network GigE

Things I have tried:

I have tried playing with the disk scheduler, switching to deadline
from cfq = no difference.
I have tried playing with rsize/wsize settings on the client = no difference.

Steps to reproduce:

1. Write a big file to the same partition that is exported on the server:
dd if=/dev/zero of=/opt/export/bigfile bs=1M count=5000 conv=fdatasync
2. Write a small file to the same partition from the client:
dd if=/dev/zero of=/opt/export/bigfile bs=16k count=8 conf=fdatasync

I am seeing slightly less than 2kBps (yes, 1000-2000 bytes per second)
from the client while this is happening.

It really looks like the nfs daemons on the server just get no
priority when compared to the local process.

Any ideas?  This is something I have noticed for quite some time.
Only thing I can think of trying is to upgrade the disk array so that
the disks are no longer a bottleneck.

-Dave

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-03-17  6:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-13 20:36 Horrible NFS Client Performance During Heavy Server IO David Rees
2009-03-13 21:10 ` Trond Myklebust
2009-03-13 21:32   ` David Rees
2009-03-13 21:40     ` Trond Myklebust
2009-03-13 21:59       ` David Rees
2009-03-13 22:29         ` Trond Myklebust
2009-03-13 23:05           ` David Rees
2009-03-17  4:54             ` Greg Banks
2009-03-17  6:28               ` David Rees
     [not found]   ` <1236978608.7265.41.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-03-17  4:43     ` Greg Banks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox