[Samba] single stream performance issue, Win2K, WinXP, Samba 3.2.5-4lenny7 (Debian Lenny)

Learner Study learner.study at gmail.com
Sat Jan 23 02:31:24 MST 2010


Hi Linda:

Looking at some internet resources, it appears that both encryption
and packet signing are off by default. Can u pls let me know how to
disable these on samba server side (on 3.0.x)

Thanks.

On Sat, Jan 23, 2010 at 12:48 AM, Linda Walsh <samba at tlinx.org> wrote:
> Igor wrote:
>>
>>  I don't find it strange at all. Your computer is acting as a traffic
>>  proxy between two samba servers. If you have 100Mb network interface
>>  your bandwidth should split exactly in two.
>
> ----        But he said he doesn't get a split in two when a win2k server
> is used (he gets 11Mbps).    I.e. Two network streams in two different
> directions should NOT halve throughput, _unless_ something is operating
> in half-duplex mode.   "100Mbps, full duplex" should, _easily_,
> allow two 8 MBps streams if they are going in opposite directions.
>
> Stan wrote:
>>
>> Interestingly, if I launch a file copy with the SH> source file being
>> on one smb share on the server, and the destination being SH> another
>> smb share (separate filesystem) on the server, the combined throughput
>> SH> is also 8MB/s, 4 up and 4 down, which is very strange as this
>> should be two SH> distinct streams.
>
> ---
>        I agree.  Is it possible your network device isn't running in FULL
> duplex?
>        Other things to check (to optimize speed compared to ftp):
>
>        1) Ensure your communications are using TCP (port 445) and not
> UDP (port 139).
>
>        2) Ensure encryption (Sealing) is off.
>        3) Ensure packet Signing is off.
> The overhead of 2 & 3 contribute to around a 15% performance hit according
> to 1 MS source.  (Obviously turning such things off presumes you are on
> a 'safe' network consistent with FTP usage, vs. SCP/SSH).
>
>        You need to make sure that, at least, one side has each of Sign and
> Seal turned off and the other side has it set to 'no' or 'auto'.
> If one side has 'require' set for the feature, and the other has the same
> feature turned off, it will prohibit communications.
>
> Linda
> (who's been bummed by the huge drop in networking and disk performance
> in windows 7).
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list