Skip to contentSkip to conversation

Performance problem

DISCUSSION Nicolas Brainez 4 participants 6 messages May 13, 2002 – May 14, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello,

I have an nfs server who exports some backup directories for the lan's users, it's a new install.

First I would like say that's not an hardware problem, because we have no problem to use appletalk, ftp, ...

I can mount remotly a partition on the nfs server without problem but when I copy something on it, the client ('cp' in this case) hangs, and I receive these messages on my console :

nfs: task XXX can't get a request slot

where XXX is begin from 1 to...

When I look on the server, the file I was trying to copy is only 8192 bytes :

-rwxr-xr-x 1 root root 8192 May 13 16:56 bash

After looking web, newsgroup, etc.. I've tried all what I can do to optimize performance (wsize=8192,rsize=8192,hard/soft, etc.. etc..)

The only changes is when I use wsize and rsize to 8192, the file I sent to the server can goes to 16384 bytes, but never more..

This is a LAN of ~ 10 computers, 100mbps, and we use switchs. The servers and workstation use Debian woody, nfs kernel and user server tried, same results.

Any type of help is welcome.

Thanks.

--
Nicolas Brainez

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

" " == Nicolas Brainez <[email protected]> writes:

> Hello, I have an nfs server who exports some backup directories > for the lan's users, it's a new install.

> First I would like say that's not an hardware problem, because > we have no problem to use appletalk, ftp, ...

I'll bet you it is. Have you tried using a different network card + driver?

Cheers,
Trond

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#2 lore raw
Quoted 9 lines · Trond Myklebust
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

" " == Nicolas Brainez <[email protected]> writes:

> Hello, I have an nfs server who exports some backup directories > for the lan's users, it's a new install.

> First I would like say that's not an hardware problem, because > we have no problem to use appletalk, ftp, ...

I'll bet you it is. Have you tried using a different network card + driver?

Nope, I've not another network card, and i've absolutely no problem with others protocols like appletalk and ftp, I can't believe it's an hardware problem in these conditions.

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#3 lore raw

M=E5ndag 13. mai 2002 17:34 skreiv Nicolas Brainez:

Quoted 1 line

Nope, I've not another network card, and i've absolutely no problem wit=

h

Quoted 2 lines

others protocols like appletalk and ftp, I can't believe it's an hardware problem in these conditions.

That is completely irrelevant. You are comparing apples and pears: TCP ca= n be=20
made to run reliably over pigeons. NFS uses UDP, and usually presses the=20 cards and drivers to the limit.

Cheers,
Trond

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#4 lore raw
In reply to Nicolas Brainez

Make sure that your server and clients agree on the MTU of the network. I don't recall having seen the request slot message associated with that sort of problem, but an MTU problem can cause messages to be dropped.

Can you nfs-mount a partition exported from the server on the server itself? If so, can you copy on the nfs-mounted partition? (Trying to isolate the issue from the network)

David Ritch

Quoted 39 lines · Nicolas Brainez

Hello,

I have an nfs server who exports some backup directories for the lan's users, it's a new install.

First I would like say that's not an hardware problem, because we have no problem to use appletalk, ftp, ...

I can mount remotly a partition on the nfs server without problem but when I copy something on it, the client ('cp' in this case) hangs, and I receive these messages on my console :

nfs: task XXX can't get a request slot

where XXX is begin from 1 to...

When I look on the server, the file I was trying to copy is only 8192 bytes :

-rwxr-xr-x 1 root root 8192 May 13 16:56 bash

After looking web, newsgroup, etc.. I've tried all what I can do to optimize performance (wsize=8192,rsize=8192,hard/soft, etc.. etc..)

The only changes is when I use wsize and rsize to 8192, the file I sent to the server can goes to 16384 bytes, but never more..

This is a LAN of ~ 10 computers, 100mbps, and we use switchs. The servers and workstation use Debian woody, nfs kernel and user server tried, same results.

Any type of help is welcome.

Thanks.

--
Nicolas Brainez

Quoted 7 lines

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#5 lore raw
Quoted 3 lines · David B. Ritch

Make sure that your server and clients agree on the MTU of the network. I don't recall having seen the request slot message associated with that sort of problem, but an MTU problem can cause messages to be dropped.

Anything that causes packets to get discarded can cause the request slot message. The MTU thing can be tested by pinging with 8192 byte packets, which is also a good way to figure out if your network has enough lossage to cause big UDP packets to be unlikely to arrive, while short ones work fine. And other things that go bump in the night.

greg

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [email protected]
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs