Slow Samba transfer rates from Samba File Server

May 14, 2010

I was banging my head against the wall today trying to figure out why the heck it was taking 7 minutes to transfer a 12 mb file to my win xp desktop from my ubuntu samba file server. A simple change to my /etc/hosts file now lets me transfer a 514mb file in about 1 minute.

After much looking around online and not getting anywhere. I ran into one post that mentions the problem might be DNS related.

So I opened up the hosts file using

sudo nano /etc/hosts

Then i added the local ip followed by the FQDN of the maching then localhost and the machine name

127.0.0.1     machinename.domain.com     localhost     machinename

After doing this I then restarted networking

sudo /etc/init.d/networking restart

Now when transfer files from the server. Instead of waiting 7 minutes to transfer a 12 mb file. The file now transfers almost instantly.

Got something to say?

You must be logged in to post a comment.