From: minoura@valinux.co.jp (MINOURA Makoto) Subject: Re: NFSD Flow Control Using the TCP Transport Date: Tue, 25 Mar 2003 14:32:04 +0900 Sender: nfs-admin@lists.sourceforge.net Message-ID: <20030325053205.1627C1DA3E6@brer.local.valinux.co.jp> References: <3E78872B.5020702@RedHat.com> <20030320042454.496801DA3E6@brer.local.valinux.co.jp> <3E7B7853.4020605@RedHat.com> <20030324025133.924651DA3E6@brer.local.valinux.co.jp> <3E7F1F1D.8090206@RedHat.com> Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Cc: nfs@lists.sourceforge.net, taka@valinux.co.jp, yamamoto@valinux.co.jp Return-path: Received: from vagw.valinux.co.jp ([210.128.90.14] helo=brer.local.valinux.co.jp) by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian)) id 18xh2f-0002SR-00 for ; Mon, 24 Mar 2003 21:32:09 -0800 To: Steve Dickson In-Reply-To: <3E7F1F1D.8090206@RedHat.com> (Steve Dickson's message of "Mon, 24 Mar 2003 10:07:09 -0500") Errors-To: nfs-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Unsubscribe: , List-Archive: |> In <3E7F1F1D.8090206@RedHat.com> |> Steve Dickson wrote: > The patch you provided does indeed stop the RPC > layer from returning EAGAINs but also stops the flow > of traffic because the sockets with are no longer > being enqueued which in turn means there are no > threads sleeping/waiting (in tcp_sendmsg) when > the svc_write_space routine is called. So once > this flow condition hits, the replys stop which > means the incoming requests also stop and all > the nfsds end up sitting in svc_recv() waiting > for something to do.... I'm afraid that I do not understand exactly what you are saying. We do not start processing a request (enqueue the socket) before we get enough write space for any single request. So we do not have to sleep in tcp_sendmsg. This is the original intention of Linux-2.4.20, not a specific behaviour to my patch. -- Minoura Makoto Engineering Dept., VA Linux Systems Japan ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs