I'm using my raspberry pi as a smb server and the speed is unbearable on my client end (~300-400KB/s where the client is on the same network as the server).
Here's my smb.conf
$this->bbcode_second_pass_code('', '
[global]
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
load printers = no
[media]
comment = all the media data
path = /home/lingnan/data
writable = yes
create mask = 0660
force create mode = 0660
locking = yes
')