[Samba] TCP/IP block size

Jeremy M jrmymllr at hotmail.com
Wed Aug 6 09:35:50 GMT 2008





> > > 
> > > How does it appear so? You have Wireshark on it? If Samba/Linux is sending 
> > > 4k, then why did you say you're getting 512, 1024, or 1104? I'm not sure I 
> > > understand your question.
> > > 
> > 
> > Let me clarify.  First, yes, I'm using Wireshark; troubleshooting would be a nightmare without it.  
> > 
> > About the 4K thing: it looks like, and I could be wrong, that when I request sequential packets of data from a file, Samba/OS/whatever pulls 4K off the drive and feeds that 4K block to me, and *does not* send TCP packets that contains data which spans across blocks.  
> 
> That's usually because the Windows client is asking for a 4k
> read. We can do up to 127k reads in "standard" SMB, but the
> Windows clients don't ask for that.
> 
> Jeremy.

Is there any way to change this via a command line option, so it always returns one and only one message for each data request?

_________________________________________________________________
Got Game? Win Prizes in the Windows Live Hotmail Mobile Summer Games Trivia Contest
http://www.gowindowslive.com/summergames?ocid=TXT_TAGHM


More information about the samba mailing list