Samba: Marginal performance & pauses in transfers

From: Nicolas Gieczewski (lists.freebsd.org_at_nixsoftware.com)
Date: 07/24/03

  • Next message: Eric W. Bates: "Profiling ipfw2 performance"
    To: <freebsd-net@freebsd.org>
    Date: Thu, 24 Jul 2003 16:39:36 -0300
    
    

    Hello everybody,

    I have a FreeBSD 4.8-STABLE server running Samba 2.2.8a and a workstation
    running Windows 2000 SP4. Whereas FTP transfers between these boxes average
    700 KB/s (10 mbps LAN), Samba transfers are never beyond ~120 KB/s.

    Trust me, I have tried *everything* I've run into as far as tuning goes, but
    this is a different problem. The main problem lies in the fact that transfers are
    not consistent and undergo VERY long, random pauses. My hub's activity LED
    shows that, during a Samba transfer between these two boxes, no packets
    are transferred about 70% of the time. Yep, only during about 30% of the total
    time a transfer takes there is actual network activity--the remaining 70% of
    the time is taken up by random (both length- and interval-wise) pauses.

    All my network cards are propery configured, both media- and duplex- wise.
    There are nearly no collissions, and the 700 KB/s rate I can achieve in FTP
    transfers shows that Samba has the problem. I can do SMB transfers between
    the Windows 2000 box and another Windows 98 box at about 600 KB/s, so the
    culprit is obviously Samba on the FreeBSD box.

    Because most of the time a transfer takes to complete is wasted on those
    random pauses, anything I could tune concerning buffer sizes and the like is
    almost useless because it only takes effect while data is actually being
    transferred, not during the pauses. I have fiddled with buffer sizes and, by
    looking at the hub's activity light, I could (visually and easily) see how
    more or less data was transferred in between the pauses depending on the
    buffer sizes I chose. However, the pauses stayed consistent throughout all
    my tests. By using larger buffer sizes, all I could do was push more data
    through in between the pauses, but my tuning never affected the length or
    interval of the pauses themselves.

    Does anyone happen to know what could be causing this problem?

    Cheers,

    Nicolas Gieczewski
    Nix Software Solutions
    http://www.nixsoftware.com/

    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Eric W. Bates: "Profiling ipfw2 performance"

    Relevant Pages

    • Re: [SLE] Large File Transfer Problems
      ... > No insult taken and I am not a newbie by any measure. ... > 10.0 and ArkLinux 2005.2 where the file supposedly transfers but just sits ... This behaviour went away when I changed the file system used to mount my Samba ...
      (SuSE)
    • [SLE] Network File Systems
      ... Is there a more efficient networked file system ... other than NFS and samba? ... but can be rather slow for large transfers. ...
      (SuSE)
    • Re: "Specified network name no longer available" after transferring fi
      ... I can still use the destination but that particular window is ... Windows XP Home, ... install the latest network card drivers. ... with multi-gigabyte files and transfers, ...
      (microsoft.public.windowsxp.network_web)
    • Re: FTP oddity
      ... and one running Windows XP. ... When I use FTP to transfer ... the Windows firewall turned on between the Windows and Linux machines. ... I can also get full bandwidth transfers between the OS/2 and Linux ...
      (comp.os.os2.networking.misc)
    • [IIS6] Cannot Access IIS Metabase Through IIS Admin Objects
      ... I am currently in the process of upgrading a windows 2000 web server to ... The developer has created a staging system that transfers the website ...
      (microsoft.public.inetserver.iis.security)