Re: [Samba] 2.6.22/realtek bug in hardware, any kernel work-around?

From: Sinisa Bandin
Date: Sun Sep 30 2007 - 17:25:36 EST



Justin Piszcz wrote:
Package: samba
Version: 3.0.26a-1

Kernel: 2.6.22

samba 3.0.26a-1 performance < 900 KiB/s, but FTP = 30-90 MiB/s

Let me start out by saing this is an oddball problem:

SAMBA:
LINUX -> WINDOWS = < 900 KiB/s (varies between 100 - 900 KiB/s)
WINDOWS -> LINUX = 30-90 MiB/s (always)

FTP:
Either direction, 30-90 MiB/s (always)

I do not see any nasty errors in the logs even with verbose = 5.

Any ideas here? I am not using any special options.

I found out that poor smb performance is related to a broken udp-perfomance of the 8169 NIC in outgoing udp.
But, only in Gb Mode of the 8169 NIC, with 100Mbps it is ok.

I had exactly the same problem with 100Mb/s also.

Solved by disabling onboard LAN interface and inserting (US Robotics) Realtek 8139 based card (10/100 Mbps).

Best regards,
Sinisa Bandin

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html