Re: Horrible NFS Client Performance During Heavy Server IO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 13, 2009 at 2:40 PM, Trond Myklebust
<trond.myklebust@xxxxxxxxxx> wrote:
> Do you perhaps see a lot of sockets connected to port 2049 and that are
> not in the TCP_ESTABLISHED state when you do 'netstat -nt' on the
> server?

Only one tcp socket from the client to the server (no other clients
need to be active when running the testcase).

> What is the ratio of 'write' to 'commit' operations when you look at the
> 'nfsstat -s' output (also on the server)?

It appears to be about 3-4 to 1 writes to commits.  By far the
heaviest activity is with getattr calls with 60-75% of the activity.

# nfsstat -s
Server rpc stats:
calls      badcalls   badauth    badclnt    xdrcall
21044536   0          0          0          0

Server nfs v3:
null         getattr      setattr      lookup       access       readlink
30        0% 12977249 61% 267095    1% 1201529   5% 3030825  14% 4816      0%
read         write        create       mkdir        symlink      mknod
722160    3% 1369511   6% 242484    1% 2852      0% 103       0% 1         0%
remove       rmdir        rename       link         readdir      readdirplus
218097    1% 4354      0% 189125    0% 284       0% 1569      0% 139267    0%
fsstat       fsinfo       pathconf     commit
3930      0% 554       0% 272       0% 610240    2%

And the activity around the time I am reproducing the slowdown:

Server nfs v3:
null         getattr      setattr      lookup       access       readlink
0         0% 3503     75% 7         0% 31        0% 1027     22% 0         0%
read         write        create       mkdir        symlink      mknod
9         0% 50        1% 6         0% 0         0% 0         0% 0         0%
remove       rmdir        rename       link         readdir      readdirplus
2         0% 0         0% 2         0% 0         0% 0         0% 0         0%
fsstat       fsinfo       pathconf     commit
0         0% 0         0% 0         0% 13        0%

-Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux