From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753185AbXI3Uu1 (ORCPT ); Sun, 30 Sep 2007 16:50:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751840AbXI3UuO (ORCPT ); Sun, 30 Sep 2007 16:50:14 -0400 Received: from smtp3.neobee.net ([80.74.160.52]:44977 "EHLO smtp2.neobee.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751821AbXI3UuM (ORCPT ); Sun, 30 Sep 2007 16:50:12 -0400 X-Greylist: delayed 709 seconds by postgrey-1.27 at vger.kernel.org; Sun, 30 Sep 2007 16:50:11 EDT Message-ID: <47000BFD.5070805@bandin.homelinux.com> Date: Sun, 30 Sep 2007 22:50:05 +0200 From: Sinisa Bandin Reply-To: sinisa@bandin.homelinux.com User-Agent: Thunderbird 2.0.0.7pre (X11/20070927) MIME-Version: 1.0 To: Justin Piszcz CC: linux-kernel@vger.kernel.org, linux-net@vger.kernel.org, samba@lists.samba.org, submit@bugs.debian.org, contact_us@realtek.com Subject: Re: [Samba] 2.6.22/realtek bug in hardware, any kernel work-around? References: <4700092C.5060805@bandin.homelinux.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.2 (----) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Justin Piszcz wrote: > > > 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. > 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