[Samba] What controls the Read AndX Request byte size?

Jeremy Allison jra at samba.org
Fri Sep 29 14:59:25 GMT 2006


On Fri, Sep 29, 2006 at 08:45:08AM -0400, Steven Cardinal wrote:
> In trying to track down some performance issues, I'm finding with Ethereal
> that, when I launch an application from my Windows server, the SMB Read AndX
> Request packets have Min Count, Max Count Low, and Remaining all at 512
> bytes. When launching the same application on the same client from a Win2000
> share, these requests are coming in much larger sizes (4096 and 32768 were
> both observed). This is making a huge difference in the launch speed of the
> application (an in-house VB app).
> 
> My question is, what smb.conf or kernel parameters could be influencing the
> 512 byte read request? I tried setting various socket options in
> smb.confand haven't seen a change. I am running Suse
> 10.0 with their 3.0.20b samba packages (except we recompiled to include
> idmap_rid).

Looks like Windows has decided you're on a WAN link, not a 
LAN link. I'd check MSDN on the web for registry settings
affecting this. (Can't remember them offhand).

Jeremy.


More information about the samba mailing list