Samba Performance - EKO 15396M

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
lamelogin
DD-WRT Novice


Joined: 18 Sep 2010
Posts: 25

PostPosted: Sun Oct 10, 2010 19:54    Post subject: Samba Performance - EKO 15396M Reply with quote
Greetings,

I've just flashed a wrt610N to Eko's latest firmware and I'm a little unhappy with the performace with Samaba in the default install. I've tried to mess with the options, but I'm still not happy with the 1Mb/s performance. Does anyone have experience with sysctl tweaks on embedded MIPS devices like this? Can I assume the tweaks I'm farmiliar with will RHEL x86_64 apply?

Note, the same USB drive on a WinXX disk over routinly gave me 9Mb/s over wireless.


root@tivorouter:/var# cat /tmp/smb.conf
[global]
server string = BACKUP
workgroup = WORKGROUP
bind interfaces only = Yes
map to guest = Bad User
smb passwd file = /var/samba/smbpasswd
private dir = /var/samba
passdb backend = smbpasswd
log file = /var/smbd.log
max log size = 1000
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072
printing = none
load printers = No
usershare allow guests = Yes
remote announce = 192.168.0.255
hosts allow = 192.168.0.0/16, br0
interfaces = br0
preserve case = yes
use sendfile = Yes

[Public]
comment = Public Share
path = /mmc
read only = No
guest ok = Yes
force user = root

Let me know if anyone needs sysctl -a output. I haven't changed/messed with anything here yet.
Sponsor
PaulP
DD-WRT User


Joined: 09 May 2010
Posts: 317

PostPosted: Tue Oct 12, 2010 10:35    Post subject: Re: Samba Performance - EKO 15396M Reply with quote
lamelogin

Edit this parameter to:
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=262144 SO_SNDBUF=262144

or to 524288.
Also use JFFS and Linux swap. It is increase perfomance when you copy data from or to router.
gruenesAlien
DD-WRT Guru


Joined: 27 Nov 2008
Posts: 717

PostPosted: Tue Oct 12, 2010 19:39    Post subject: Reply with quote
Do not use NTFS, it's slow.
PaulP
DD-WRT User


Joined: 09 May 2010
Posts: 317

PostPosted: Thu Oct 21, 2010 6:34    Post subject: Reply with quote
gruenesAlien wrote:
Do not use NTFS, it's slow.


ext3 is slow too. Sad
DoesItMatter
DD-WRT Guru


Joined: 10 May 2008
Posts: 1380
Location: Pacific North West, USA

PostPosted: Thu Oct 21, 2010 14:40    Post subject: Reply with quote
Is those Socket Options settings only available to Samba?

Or are there similar settings that can be added to ProFTPD?

_________________
Evil or Very Mad Soylent Green Is People ! Evil or Very Mad
Twisted Evil =-=-=-=-=-=-=-=-=-=-= Twisted Evil
Netgear Nighthawk R7000 - DD-WRT Build R46220
Linksys EA8500 - OpenWRT IPQ806x Trunk R16375 5.4 Kernel

TP-Link Archer C7 V3 - OpenWRT Build R16290 5.4 Kernel
Linksys E3000 - FreshTomato Build MIPSR2 2021.2
gruenesAlien
DD-WRT Guru


Joined: 27 Nov 2008
Posts: 717

PostPosted: Thu Oct 21, 2010 18:46    Post subject: Reply with quote
Only USB1.1 enabled ? Those slow speed is a sign of a severe error (either user error or hardware error). You should get at least 4 MB/sec without tweaks with your router.
PaulP
DD-WRT User


Joined: 09 May 2010
Posts: 317

PostPosted: Fri Oct 22, 2010 5:49    Post subject: Reply with quote
DoesItMatter wrote:
Is those Socket Options settings only available to Samba?

Or are there similar settings that can be added to ProFTPD?


This Socket Option is only for Samba.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum