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





On Sun, 30 Sep 2007, Sinisa Bandin wrote:


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


Thank you for your response, so the bottom line is Realtek 1Gbps NICs are unreliable. Wonder what Realtek has to say about it if they even respond, added them to cc list.

Justin.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [Samba] 2.6.22/realtek bug in hardware, any kernel work-around?
    ... On Sun, 30 Sep 2007, Sinisa Bandin wrote: ... Let me start out by saing this is an oddball problem: ... Solved by disabling onboard LAN interface and inserting Realtek 8139 based card. ... so the bottom line is Realtek 1Gbps NICs are unreliable. ...
    (Linux-Kernel)
  • Re: Unable to get RealTek 8139C+ to work with re(4) under FreeBSD 6.1
    ... but the realtek NICs just don't seem to want to work. ... booting up led to a kernel trap with the following, ... page fault while in kernel mode ...
    (freebsd-hackers)
  • Re: No internet access
    ... Realtek RTL8139/810x Family Fast Ethenet NIC ... you must install and enable a network adapter ... > have is a failure of IP to bind any NICs, ...
    (microsoft.public.win2000.networking)
  • Re: Best Nics.
    ... On Wednesday 08 October 2003 18:29, Edward Murrell wrote: ... avoid anything with a realtek chipset. ... > I wouldn't use them in my main server, where high CPU usage could impact ... NICs very hard so they chug along. ...
    (Debian-User)
  • Re: Force NIC to 100 Mbps
    ... I have USB 2.0 slots in my PC but they're on a card ... I have little experience with how well USB NICs perform. ... the rest, and way way way after that, anything realtek or its clones. ...
    (comp.dcom.lans.ethernet)