[Samba] bad performance Vista <-> Samba over gbit

Neo [GC] neo at gothic-chat.de
Sat Mar 14 17:44:16 GMT 2009

Hi Godwin,

thanks for answering.

Yes, the server wasn't changed, there was even no restart of the smbd 
and nmbd daemons. Yesterday I've upgraded from 3.0 to most current 3.3, 
but without change. Switch and cabling are totally identical.
As for the Vista, I've used the same DVD, but it runs on a new PC. Old 
one was an Athlon X2 3800+ on a NForce 4 SLI mainboard with Nvidia 
networking, new one is a Core 2 Quad Q6600 @ 2.4GHz running on a X48 
board with two Realtek RTL8168C/8111C gbit lan chips, only one activated.

I'm very confused, because every other combination works; vista to mac 
40MB/s, mac to samba 40MB/s, only vista to samba 6MB/s.

godwin at acp-online.co.uk schrieb:
> Hi Neo,
> Till today I thought that gigabit ethernet had an issue with samba.
> But, I have just solved a performance problem with my samba installtion on
> gigabit and it turned out to be upgrading to a slightly newer version and
> also reducing the log level.
> I assume your last vista installation was talking to the same samba server
> as your new vista installation, hopefully with no changes on the server.
> However is it vista on the same client pc or a different pc? Any
> components changed, different mo-board, NIC etc?
> Is it through the same cabling and switch or a diff one?
> Some more info related to the above will help the folks here help you better.
> Godwin
>> Hi,
>> I've a strange issue with the performance of file transfers between a
>> Samba server and a Vista client.
>> My configuration looks like this:
>> fileserver: Samba 3.3 on FreeBSD 6.2 ----- gbit switch -----
>> workstation: Vista x64
>> When transfering files between the two PCs, I get abount 6.5 to 7 MB /
>> sec. On my last Vista installation I got about 40 MB / sec. I've tried
>> the following:
>> - raw tcp transfer rates with netio: 40MB/s with 1kb chunks up to
>> 100MB/s with 32kb in both directions
>> - upgraded Samba to the most current version of 3.3 (had 3.0 before) the
>> port-system of FreeBSd will give me
>> - set Vista tcp autotuner to disabled, normal and experimental (slight
>> performance loss with disabled, about 500kb/s less)
>> - set jumbo frames OFF (after that, transfer from vista to bsd with
>> small chunks got VERY faster, but smb hasn't changed)
>> - of course disabled the multimedia class scheduler on the vista client,
>> as it caps transfer at about 8MB/s when audio or video is running
>> - tried transfer between the vista client and a MacBook Pro connected to
>> the same switch with default samba of MacOS Leopard: 40MB/s
>> - tried transfer between the MacBook and the fileserver (samba to
>> samba): 40MB/s
>> - tried transfer between the MacBook and the fileserver (via AFP - apple
>> filesharing protocol): slightly faster at 45 - 50MB/s
>> So it MUST be the combination Vista+Samba, what is VERY strange, as my
>> last vista installation had normal transfer rates to the same samba
>> server.
>> Of course I've searched Google (for weeks indeed), but didn't find
>> anything useful besides the default hacks (MMCS, jumbo frames, aso...).
>> Sorry for asking a mainly vista related question in this list, but I
>> thought here would be the best place to find people experiencing the
>> same behaviour.
>> Greets and regards,
>> Neo / Thomas Weber

More information about the samba mailing list