Improving the read/write speed on a network hard drive

I’ve got a 2TB Western Digital My Passport (NTFS) connected to a raspberry pi (192,168.0.100 on my network) and I’ve mounted it in my laptop using the following in fstab:

// /media/external cifs guest,rw,uid=1000,gid=1000,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

and sudo mount -a upon boot. Now when I try to read or write on this drive, the speed is unusually slow, mostly around 2.5 MB/s. I don’t know if that’s normal, in Linux Mint the speed was around 30 MB/s, but due to a bug in Mint (and all Ubuntu based distros for that matter) it fell down quickly, until it completely stalled. Now my question is that is there any way to improve the read/write speed on the drive in OpenSuse 13.1? I’ve made some modifications to Raspberry Pi config and it did came up a bit, but I have no idea what to do on Laptop side.

In your [global] section of smb.conf, try some or a combination of these:

strict allocate = yes
read raw = yes
write raw = yes
aio read size = 1
aio write size = 1
use sendfile = Yes

Try the first one before anything else and then the rest afterwards.