Linux

Categorized | Networking

Speed up Samba network access

Dropt these lines into your smb.conf file to speed up Samba access. Find the Global area section and paste them underneath:

read size = 65536

read prediction = true

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

Depending on your network card and configuration, this should speed up your LAN transfers at least tenfold.

Author Profile

T4L ;

Other posts by T4L

Author's web site



Are you satisfied with this blog?
Why not subscribe our RSS Feed? you will always get the latest post.


5 Comments


  1. Really useful tip… I’ve used other parameters for optimizing, but this ones make samba even more faster, thank you!

    1

  2. socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 Worked just fine but where do I put the other two line samba does not recognize them.

    2

  3. Sorry I did not get the whole global area settings in your post

    3
  4. MidnightOne

    Thanks a lot! ;)

    4
  5. Jim

    Awesome tip. Saved me from having to go to an MS Server!

    5

2 Trackback(s)

  1. 14 11 2008 : Quickies: Speed up SaMBa « 0ddn1x: tricks with *nix
  2. 01 09 2009 : Twitted by funwithlinux

Leave A Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>