The recommendations taken from amahi's wiki
- sudo nano /etc/samba/smb.cnf
- locate [global] section
- add the following:
socket options=SO_RCVBUF=131072 SO_SNDBUF=131072 TCP_NODELAY
min receivefile size = 16384
use sendfile = true
aio read size = 16384
aio write size = 16384
- Save and Exit. Reboot your machine.
Now samba should be much faster (enables sockets, Async IO)
Another idea is that ethernet drivers are outdated (a hint given by this thread)
- (Instruction taken from here (Ehow: How to update drivers on Ubuntu))
- Go to Dash
- Type "Additional Drivers"
- See if you have some additional/proprietary drivers for any of the ethernet devices
- Update and Activate them
- Reboot your machine.
- Samba Optimization
- Disable ufw firewall:
sudo ufw disable
. - For Windows Clients: Dmizer's Workgroups, Netbios name, Firewall, etc.
- Make sure your workgroup is same as other machine
- add
netbios name = COMP_NAME
in [global] section (COMP_NAME is everything after the @ in terminal) - Make sure your firewall is disabled (
sudo iptables -L
should look like this if it is disabled)
- Try AFP file sharing instead of samba