1 |
the biggest things to think about: |
2 |
- nfs versions (some work better or are more compatible with others) |
3 |
- nfs write/read cache settings |
4 |
- use nfsstat to get an idea of what the nfs traffic is like |
5 |
- is filesystem constantly having locking issues or refreshing file |
6 |
attributes? might need to change mount options. |
7 |
- if not local lan, might have significant problems...especially with mtu |
8 |
- doesn't hurt to check iostat -x -k 5 on sending server too along |
9 |
with nic card stats |
10 |
- it usually isn't that hard to track down where the problem lies |
11 |
- I've had great performance with nfs over local lans, horrible issues |
12 |
with any kind of remote nfs....newer nfs versions are trying to work |
13 |
around the issues. |
14 |
|
15 |
On Fri, Apr 20, 2012 at 1:34 PM, Michael Mol <mikemol@×××××.com> wrote: |
16 |
> On Fri, Apr 20, 2012 at 2:29 PM, Helmut Jarausch |
17 |
> <jarausch@××××××××××××××××.de> wrote: |
18 |
>> Hi, |
19 |
>> |
20 |
>> on one of our students' lab the home directories of the students are mounted |
21 |
>> via NFS. |
22 |
>> Our main application (www.codelite.org) seems to write a lot of small chunks |
23 |
>> to files in the |
24 |
>> students' home directories. |
25 |
>> |
26 |
>> Thus, just finishing Codelite takes 100 seconds while the same version on a |
27 |
>> pure local machine |
28 |
>> takes about 2 seconds for that. |
29 |
>> |
30 |
>> A simple test |
31 |
>> dd bs=80 count=10000 if=/dev/zero of=$HOME/Test |
32 |
>> shows only 80 Kb/sec (speed of a floppy drive). |
33 |
>> The machine was idle and connected to a dedicated, nearly idle server by a |
34 |
>> network |
35 |
>> of 1Gb/sec. |
36 |
>> |
37 |
>> Does anybody have some hints on how to speed up such an NFS3 setup? |
38 |
> |
39 |
> There's all kinds of NFS tuning options. I'm not an expert, so I can't |
40 |
> really make any strong suggestions, but my first stop would probably |
41 |
> be grabbing the ebook version of |
42 |
> http://shop.oreilly.com/product/9781565925106.do and giving that a |
43 |
> good couple hours' deep skim. |
44 |
> |
45 |
> |
46 |
> -- |
47 |
> :wq |
48 |
> |
49 |
|
50 |
|
51 |
|
52 |
-- |
53 |
Matthew Marlowe |
54 |
matt@××××××××××××××××××××.com |
55 |
https://www.twitter.com/deploylinux |
56 |
1-805-857-9144 |