Results 1 to 6 of 6

Thread: Super-pathetic Samba access speed, Lucid 10.04

  1. #1
    Join Date
    Sep 2010
    Location
    Indian Capital City
    Beans
    916
    Distro
    Ubuntu 14.04 Trusty Tahr

    Angry Super-pathetic Samba access speed, Lucid 10.04

    I have Samba share setup on my Laptop running Lucid Lynx, for my home network, wireless

    The copy speed for my movies, when I access them from Windows laptop is too pathetic.
    Took 22 min to copy around ~1.6GB of data, giving me a speed of only 1.2 MB/s

    Haven't seen nething that bad
    What settings do I have on my server which can improve the copy speed ??

    Smb.conf is pretty simple and default
    Code:
    [global]
       workgroup = WORKGROUP
       netbios name = scooby-laptop
       server string = "ScoobyDo server (Samba, Ubuntu)"
       dns proxy = no
       log file = /var/log/samba/log.%m
       max log size = 1000
       syslog = 0
       panic action = /usr/share/samba/panic-action %d
       security = user
       encrypt passwords = true
       passdb backend = tdbsam
       obey pam restrictions = yes
       unix password sync = yes
       passwd program = /usr/bin/passwd %u
       passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
       pam password change = yes
       map to guest = bad user
       usershare allow guests = yes
    
    [moveez]
       comment = Movies for Sharing
       path = /home/scoob/movies
       browseable = yes
       read only = no
       guest ok = no
    Last edited by luvshines; October 10th, 2010 at 08:45 PM. Reason: Fixed typo
    When you have eliminated the impossible, whatever remains, however improbable, must be the truth !!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Mark it [SOLVED] if the issue has been resolved

  2. #2
    Join Date
    Apr 2009
    Location
    Rawalpindi, Pakistan
    Beans
    5,669
    Distro
    Ubuntu Gnome Development Release

    Re: Super-pathetic Samba access speed, Lucid 10.04

    Samba has been quite fast for me with the default settings since I am using it.

    You can add these lines to the global section of smb.conf file and then restart Samba and see if it helps.

    Code:
    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536

  3. #3
    Join Date
    Sep 2010
    Location
    Indian Capital City
    Beans
    916
    Distro
    Ubuntu 14.04 Trusty Tahr

    Unhappy Re: Super-pathetic Samba access speed, Lucid 10.04

    Didn't help much. 976 MB still taking 15 Mnts @ ~1.1 MB/s
    When you have eliminated the impossible, whatever remains, however improbable, must be the truth !!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Mark it [SOLVED] if the issue has been resolved

  4. #4
    Join Date
    Apr 2009
    Location
    Rawalpindi, Pakistan
    Beans
    5,669
    Distro
    Ubuntu Gnome Development Release

    Re: Super-pathetic Samba access speed, Lucid 10.04

    Which wireless card have you got? What is the actual connection speed? Can you achieve better speeds with connections other than Samba?

  5. #5
    Join Date
    Sep 2010
    Location
    Indian Capital City
    Beans
    916
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Super-pathetic Samba access speed, Lucid 10.04

    Quote Originally Posted by sikander3786 View Post
    Which wireless card have you got?
    Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
    Subsystem: Intel Corporation Device 1010
    Flags: bus master, fast devsel, latency 0, IRQ 31
    Memory at df2fe000 (64-bit, non-prefetchable) [size=8K]
    Capabilities: [c8] Power Management version 3
    Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+
    Capabilities: [e0] Express Endpoint, MSI 00
    Capabilities: [100] Advanced Error Reporting <?>
    Kernel driver in use: iwlagn
    Kernel modules: iwlagn

    What is the actual connection speed?
    Connects at 54 Mbps

    Can you achieve better speeds with connections other than Samba?
    I'll do the testing with other protocols and share the results.
    On a wired network, the Samba share speed was ~10 MB/s
    When you have eliminated the impossible, whatever remains, however improbable, must be the truth !!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Mark it [SOLVED] if the issue has been resolved

  6. #6
    Join Date
    Sep 2010
    Location
    Indian Capital City
    Beans
    916
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Super-pathetic Samba access speed, Lucid 10.04

    Tried FTP on the same network.

    That too giving ~1MB/s speed,

    Still to try NFS

    Assuming networking constraints, I'll mark this as SOLVED. And will keep it updated if I find nething interesting
    When you have eliminated the impossible, whatever remains, however improbable, must be the truth !!
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Mark it [SOLVED] if the issue has been resolved

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
  •