Home > God Damnit Linux, Jon F > Why I Hate Samba

Why I Hate Samba

December 12th, 2010 Leave a comment Go to comments

This file copy is running over my local wireless network:

Apparently Samba uses less than 1% of available network bandwidth for file copies...

That is all.




On my Laptop, I am running Linux Mint 12.
On my home media server, I am running Ubuntu 12.04
Check out my profile for more information.
Categories: God Damnit Linux, Jon F Tags: , ,
  1. December 13th, 2010 at 00:12 | #1

    I get 900 KB/sec or so from Ubuntu 10.10 Server to 1 desktop using 802.11n (desktop is really far away – 1 story up and other side of the house – signal strength of only 40%).

    So either you are really far away or something is really wrong?

  2. December 13th, 2010 at 01:37 | #2

    the question is : if this is your LAN – I repeat: your LAN – why do you have Windows in it ?

    Windows never had the timing of files being calculated right, even on local copying… it was always slow. Moreover, I agree with you samba is annoying.

    Replace it with NFS server and you’ll be happy…

  3. December 13th, 2010 at 07:56 | #3

    Or just use SCP/SFTP. It’s a no brainer to set it up.
    Anyway, even with samba over wifi, that speed is ridiculous. Something in your setup is wrong. I get faster speeds over bluetooth to my phone…

  4. Tyler B
    December 13th, 2010 at 20:22 | #4

    Oz123 :
    the question is : if this is your LAN – I repeat: your LAN – why do you have Windows in it ?
    Windows never had the timing of files being calculated right, even on local copying… it was always slow. Moreover, I agree with you samba is annoying.
    Replace it with NFS server and you’ll be happy…

    Probably because not all of the machines on the LAN can run Linux (for various reasons). In addition when people bring machines over that do connect to the LAN I’m guessing most of them are Windows based machines.

    The most annoying part of Samba is that Windows to Windows works perfectly but Windows to Linux or even Linux to Linux hardly ever works right.

  5. Jon F
    December 14th, 2010 at 09:20 | #5

    Tyler’s pegged the issue correctly. I’m not the only person in the house, and not all of my friends are quite as enlightened as I am. Therefore, it’s necessary to maintain a network that Windows machines can connect to, which means that we have to use Samba.

  6. February 7th, 2011 at 08:10 | #6

    It’s something you are doing. I use samba all the time between my virtual machine and the main computer, and the wife’s laptop. Never an issue (did you every look at your samba.conf? and see if there is a transfer speed thing in there?)

  7. Sasha
    March 6th, 2011 at 13:31 | #7

    @Kris B.
    Personally I think it would be fantastic if the .conf contained a parameter like

    TRANSFER SPEED = VSLOW

  8. April 12th, 2011 at 04:58 | #8

    This may be a samba.conf issue but also an interference issue as well. I am running an hybrid network of wireless Windoze, Linux and Mac clients and file sharing with all over Samba and HTTP I have seen that APs may degrade performance when they are heavily used, especially ones integrated to DSL modems / etc. Also bear in mind that DECT phones and florescent lights may provide interference with WiFi (2.4 Ghz) signals.

  9. Jon F
    April 14th, 2011 at 17:50 | #9

    The interference issue is a good try, but we’ve had great success replacing our mounted SAMBA drives with mounted SSH drives instead. When transferring via these mounted SSH drives, we get excellent transfer speeds. So I guess my money is on the samba.conf file.

    Frankly, I’m not bothered to look into it, as the only service that SAMBA provides that SSH doesn’t is network discovery, and I have a list of static IP addresses for every machine in my house.

  1. No trackbacks yet.