Skip to contentSkip to conversation

Retransmissions over TCP ...

DISCUSSION Amey Inamdar 4 participants 4 messages Sep 10, 2003 – Sep 19, 2003

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

Hi,
I could not understand why does RPC layer
underneath NFS client retransmit the request while using NFS over TCP. TCP does reliable delivery of RPC, ain't it? Is it because NFS server may drop the requests/connection at its end?

Thanks in anticipation

Amey

________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://mail.messenger.yahoo.co.uk

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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

" " == Amey Inamdar <[email protected]> writes:

> Is it because NFS server may drop the requests/connection at > its end?

That is correct... Neither NFSv2 nor NFSv3 offer any guarantee that the server won't drop requests if resources are scarce.

For NFSv4, there is a special error to indicate that the server has run out of resources, and so retransmission should only be necessary if/when the TCP connection is broken.

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#2 lore raw
In reply to Amey Inamdar
Quoted 6 lines · On Wednesday September 10, [email protected] wrote:

Hi,
I could not understand why does RPC layer
underneath NFS client retransmit the request while using NFS over TCP. TCP does reliable delivery of RPC, ain't it? Is it because NFS server may drop the requests/connection at its end?

Yes.

NeilBrown

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#3 lore raw
In reply to Amey Inamdar
Quoted 5 lines · Amey Inamdar

I could not understand why does RPC layer
underneath NFS client retransmit the request while using NFS over TCP. TCP does reliable delivery of RPC, ain't it? Is it because NFS server may drop the requests/connection at its end?

In addition to trond's answer, note that when a TCP stream fails, you have no idea how much information was lost. The acks and retransmits allow the client to simply re-open the TCP connection, and no transactions get lost.

-- greg

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs