lkml.org 
[lkml]   [2004]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: CIFS/SMBFS failing under load in 2.6.X
Well the server is under very high load in this test (up to 200) and the
response times are also extremely high. Are timeouts new in 2.6.x? SMBFS
in 2.4.X does not seem to timeout.

Also are there any fixes for the 4KB size limitation? Windows allows 64K
writes and reads in one request. SMBFS only 4K.

On Thu, 22 Apr 2004, Urban Widmark wrote:

> On Mon, 12 Apr 2004, Christoph Lameter wrote:
>
> > Whenever I put a high load on CIFS or SMBFS requests timeout and then the
> > benchmark or whatever I run fails. I ran the same tests successfully with
> > a 2.4.25 kernel. This is a connection to a samba 3.0.2 server.
> >
> > SMBFS logs the following:
> >
> > Apr 12 15:59:25 testbox kernel: smb_add_request: request [ca7b7280,
> > mid=12891] timed out!
> > Apr 12 15:59:25 testbox kernel: smb_writepage_sync: failed write,
> > wsize=4096, result=-5
> ...
>
> > CIFS logs:
> >
> > Apr 12 17:02:00 testbox kernel: CIFS VFS: Send error in write = -6
> > Apr 12 17:02:29 testbox kernel: CIFS VFS: Send error in write = -5
> > Apr 12 17:02:29 testbox last message repeated 8 times
> > Apr 12 17:02:39 testbox kernel: CIFS VFS: Need to reconnect after session
> > died to server
>
> smbfs and cifs does not share any code although I believe both of them
> will send multiple requests in parallel. Any chance that this is the
> server or network?
>
>
> smbfs at least does not limit the number of requests it sends. It could be
> a problem if the server has a low limit (should be the maxmux field in the
> smb_conn_opt struct).
>
> I could send a patch for this, but unless cifs does the same then that is
> probably not it.
>
> /Urban
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.126 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site