Looks like it is hardware related after all:
http://forums.gentoo.org/viewtopic-p-2820556.html
http://ubuntuforums.org/showthread.php?t=531505
http://www.fedoraforum.org/forum/showthread.php?p=452451
One poster wrote "I got similar problems:"
http://forums.gentoo.org/viewtopic-t-570392.html
http://forums.gentoo.org/viewtopic-t-389449-postdays-0-postorder-asc-start-25.html?sid=4251f92bbc6db32fd200c4ea0ea9c9be
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.
http://forums.gentoo.org/viewtopic-t-570392.html
I have:
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
That must be the issue, time to buy an Intel PCI-e NIC if I want better
performance with samba in Linux.
I do have another one of these motherboards (ABIT AW9D-MAX) running XP and
it does not seem to suffer from this problem, I guess the [proprietary?
Realtek driver does not suffer from this bug]?
Justin.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
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.
Wouldnt go so far to say that they are unreliable, but there is certanly
some problem between Samba and 8169 driver (and maybe other driver,
don't remember for sure, but will check first thing in the morning)
All other protocols work perfectly, I have been able to use full 1 Gbps
with only two concurent transfers with all of scp, rsync, http and ping
-f -s 32000 (and any conbination of those).
Sinisa
Solved by disabling onboard LAN interface and inserting (US Robotics)
Realtek 8139 based card (10/100 Mbps).
Best regards,
Sinisa Bandin
-