Results 1 to 2 of 2

Thread: Gigabit network slow samba, ftp, iperf?

  1. #1

    Gigabit network slow samba, ftp, iperf?

    I'm having many little problems with my gigabit network.

    My hard drive reads at 85 MB/s, so why am I downloading from the ftp server at 68 MB/s? How could I diagnose what is eating those 17 MB/s?

    Why does my windows machine have a slow 326 Mbit/s transmit speed compared with ubuntu's transmit speed of 763 Mbit/s when testing with iperf?

    Why do I get slow samba speeds?

    Windows is connected to Ubuntu with a 6 foot crossover cable. Both machines are fully updated.

    windows xp3
    motherboard: gigabit ga-965p-ds3
    cpu: C2D E4400
    hard drives: 250gb seagate, read = 85 MB/s
    lan: marvel 8053 Gigabit LAN (onboard, PCI-E)

    ubuntu 8.04 gateway
    motherboard: Asus P5B-MX
    cpu: C2D E2160
    hard drive: 250gb seagate, read = 85 MB/s
    lan: attansic® L1 PCI-E Gigabit LAN controller (onboard, PCI-E)

    iperf

    • windows pc downloading from gateway: 763 Mbit/s = 95 MB/s
    • gateway downloading from windows pc: 326 Mbit/s = 41 MB/s

    ftp

    • windows pc downloading from gateway: 544 Mbit/s = 68 MB/s

    Samba

    • windows pc downloading from gateway: 194 MBit/s = 24 MB/s
    • gateway downloading from windows pc: 160 MBit/s = 20 MB/s


    smb.conf
    Code:
    [global]
            netbios name = SHWICK_GATEWAY
            server string = SHWICK_GATEWAY
            interfaces = lo, eth1
            bind interfaces only = Yes
            map to guest = Bad User
            passdb backend = tdbsam
            syslog only = Yes
            socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
            os level = 65
            preferred master = Yes
            domain master = Yes
            dns proxy = No
            wins support = Yes
            invalid users = root
    
    [Media]
            path = /home/ftp/
            create mask = 0640
            directory mask = 0750
            guest only = Yes
            guest ok = Yes

  2. #2
    Sometimes the libraries and code used by same programs under different operating systems are different. Also network overhead such as protocol efficiencies and competing programs being run at the same time will affect throughput.

    For example, NetBIOS/SMB is known to be an inefficient network protocol and for large file transfers FTP is often preferred when encryption isn't a concern.

    You are also running on different hardware, there will be inequalities with respect to ASICs used and overall system architecture. This could affect performance.

    The disk drive rates are an ideal number and should be used as a guide, not an absolute.

Similar Threads

  1. work stations slow on network
    By davidsbc in forum Linux - Hardware, Networking & Security
    Replies: 6
    Last Post: 04-24-2006, 05:10 PM
  2. Home network samba/hostname issue?
    By toddah in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 09-08-2005, 07:39 PM
  3. Using Samba to browse Windows Network
    By trickster in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 01-07-2003, 09:49 PM
  4. how to install network card and setup samba
    By grasshopper in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 12-08-2002, 05:17 PM
  5. Samba network
    By PatC in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 09-15-2002, 03:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •