From mboxrd@z Thu Jan 1 00:00:00 1970 From: Evgeniy Polyakov Subject: Re: sendmsg blocking with sendtimeout vs. non-blocking Date: Fri, 24 Oct 2008 00:59:37 +0400 Message-ID: <20081023205937.GB19462@ioremap.net> References: <524f69650810221414n52e236d9rfc6f231d1db75405@mail.gmail.com> <20081023091325.0ad059c6@barsoom.rdu.redhat.com> <524f69650810230754m20b815b5n256e82ef1d5dd4f0@mail.gmail.com> <4a4634330810230926m9285a3etf6340e3de53c576@mail.gmail.com> <524f69650810230942s49cc6a20vc642d1314a530175@mail.gmail.com> <20081023140022.679c148f@barsoom.rdu.redhat.com> <524f69650810231219g6802925ajae78765e6cc45a19@mail.gmail.com> <20081023153550.08f13ffe@barsoom.rdu.redhat.com> <524f69650810231240h77cbc88drc50932b1b7ae2e33@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Frank S Filz , nhorman@redhat.com, Jeff Layton , Suresh Jayaraman , linux-fsdevel , "linux-cifs-client@lists.samba.org" , Jim Rees To: Steve French Return-path: Content-Disposition: inline In-Reply-To: <524f69650810231240h77cbc88drc50932b1b7ae2e33@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-cifs-client-bounces+glfc-linux-cifs-client=gmane.org@lists.samba.org Errors-To: linux-cifs-client-bounces+glfc-linux-cifs-client=gmane.org@lists.samba.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Oct 23, 2008 at 02:40:01PM -0500, Steve French (smfrench@gmail.com) wrote: > I think we already do the same thing as NFS, they still are turning > off autotuning on the client right? > > If we could set a "sk_min_sndbuf_size" someday (to e.g. twice the size > of the cifs write frames ie about 112K) - would that be enough? You do not need to set sockt buffers, but instead read data in chunks, which will automatically make a TCP progress. -- Evgeniy Polyakov