From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751975Ab1HRSyG (ORCPT ); Thu, 18 Aug 2011 14:54:06 -0400 Received: from lucidpixels.com ([72.73.18.11]:52890 "EHLO lucidpixels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751004Ab1HRSyD (ORCPT ); Thu, 18 Aug 2011 14:54:03 -0400 Date: Thu, 18 Aug 2011 14:54:02 -0400 (EDT) From: Justin Piszcz To: Jeff Layton cc: Steve French , "J. R. Okajima" , Jesper Juhl , linux-kernel@vger.kernel.org, Alan Piszcz , Steve French , linux-cifs@vger.kernel.org Subject: Re: Kernel 3.0: Instant kernel crash when mounting CIFS (also crashes with linux-3.1-rc2 In-Reply-To: <20110818145257.035a38e9@barsoom.rdu.redhat.com> Message-ID: References: <20110815064734.403b630f@corrin.poochiereds.net> <3300.1313637592@jrobl> <20110818091140.385a9455@barsoom.rdu.redhat.com> <20110818130408.71c55b96@barsoom.rdu.redhat.com> <20110818145257.035a38e9@barsoom.rdu.redhat.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 18 Aug 2011, Jeff Layton wrote: > On Thu, 18 Aug 2011 14:18:15 -0400 (EDT) > Justin Piszcz wrote: > >> > > Like I said, read performance with cifs.ko just plain sucks currently. > > Don't look for cifs.ko to achieve anywhere near NFS' performance unless > you jump through some very odd hoops (like multithreading your workload > in userspace, etc). cifs.ko just doesn't do a good job of keeping the > pipe "stuffed" as most calls are handled synchronously. A single task > can only handle one call on the wire in most cases. The exception here > is writes, but that just recently changed... > > Reads are done using relatively small buffers and then copied to > pagecache. Part of what I'm working on will be to allow for much larger > reads directly into the pagecache. That should also help performance > significantly. Jeff, Understood, thank you for the help thus far and the patch to stop the crashing kernel problem, it is much appreciated, I'll look forward to the new patch sets to improve the performance of CIFS mounts. Justin. >