Samba/FTP write&read USB NAS speeds?

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


Joined: 03 Oct 2010
Posts: 9

PostPosted: Fri Oct 15, 2010 14:57    Post subject: Samba/FTP write&read USB NAS speeds? Reply with quote
Hi people!

Could you tell me what your HW is and what speeds you get for R/W you get using wireless and/or cable using dd-wrt with USB device as nas?
Sponsor
Masterman
DD-WRT Guru


Joined: 24 Aug 2009
Posts: 2070
Location: South Florida

PostPosted: Fri Oct 15, 2010 17:44    Post subject: Reply with quote
Asus RT-N16 running Samba 3.5.6.1.

After a reboot (with a fresh memory allocation and not using swap) I get anywhere from 5.5MB/s to 8MB/s on wired connection. If it is multiple files/folder, I get less speed. If it is just a single file I have seen speeds of 8.8MB/s.

From wireless I never exceed 2MB/s.



Samba.png
 Description:
 Filesize:  82.11 KB
 Viewed:  11287 Time(s)

Samba.png



_________________
Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W
gruenesAlien
DD-WRT Guru


Joined: 27 Nov 2008
Posts: 717

PostPosted: Fri Oct 15, 2010 18:36    Post subject: Reply with quote
Approx 3,5Mb/sec Asus WL500gP V2; 2Mb/sec over WiFI
PaulP
DD-WRT User


Joined: 09 May 2010
Posts: 317

PostPosted: Wed Oct 20, 2010 4:44    Post subject: Reply with quote
Asus RT-N16 with last firmware and optware, Samba 3.5.6.1.
I get 3,4 Mb/s over Ethernet and 2,2 over WiFi.
Also I set TCP_NODELAY in Samba config to 204800.
oxygenx
DD-WRT Guru


Joined: 11 Nov 2007
Posts: 566

PostPosted: Wed Oct 20, 2010 12:36    Post subject: Reply with quote
PaulP wrote:

Also I set TCP_NODELAY in Samba config to 204800.

TCP_NODELAY has no parameter and btw is really bad for filetransfers.

_________________
Router: WNDR3300 (wl0: n-Only 5Ghz, WPA2-AES, wl1: g-Only, WPA-Mixed-Mixed)
WDS Node 1: WNDR3300 (wl0: n-Only 5Ghz, WPA2-AES, WDS-connected Router, wl1: g-Only WPA-Mixed-Mixed)
WDS Node 2: WRT54GL (g-Only, WPA-Mixed-Mixed WDS-connected to Router)
Modem: Cisco EPC3202
clients: Notebook 1, D-Link 323, PS3 Slim, Kathrein UFC960 connected to WDS Node 1 via Gigabit Switch. Notebook 2, Deskjet 6980 connected to WDS Node 2
amires
DD-WRT Novice


Joined: 05 Aug 2010
Posts: 36

PostPosted: Wed Oct 20, 2010 23:01    Post subject: Reply with quote
Asus RT-16 with Samba 3.5.6.1. Pc connected with cable.

The maximum speed I have seen for a single file was about 8MB/s
PaulP
DD-WRT User


Joined: 09 May 2010
Posts: 317

PostPosted: Thu Oct 21, 2010 6:32    Post subject: Reply with quote
oxygenx wrote:
PaulP wrote:

Also I set TCP_NODELAY in Samba config to 204800.

TCP_NODELAY has no parameter and btw is really bad for filetransfers.


No, no.
Please see here
If you set
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072
it increase transfer speed to 4,1 Mb/s.
Right?
oxygenx
DD-WRT Guru


Joined: 11 Nov 2007
Posts: 566

PostPosted: Thu Oct 21, 2010 9:12    Post subject: Reply with quote
PaulP wrote:

it increase transfer speed to 4,1 Mb/s.
Right?
wrong. As you read others reach 8-10 mb/s without these.
Actually, all these socket options are counterproductive. Defaults/parameter autotuning will work best.
TCP_NODELAY/IPTOS_LOWDELAY is only useful for very small files (<1 kb), in general throughput will be degradred.
SO_KEEPALIVE is non-sense, because there are most likey no middle-nodes / NAT boxes involved. it just adds aditonal overhead.
changed BUF sizes are not useful because the bandwidth-delay product is so small that these wont get filled anyways (and instead just waste memory)

_________________
Router: WNDR3300 (wl0: n-Only 5Ghz, WPA2-AES, wl1: g-Only, WPA-Mixed-Mixed)
WDS Node 1: WNDR3300 (wl0: n-Only 5Ghz, WPA2-AES, WDS-connected Router, wl1: g-Only WPA-Mixed-Mixed)
WDS Node 2: WRT54GL (g-Only, WPA-Mixed-Mixed WDS-connected to Router)
Modem: Cisco EPC3202
clients: Notebook 1, D-Link 323, PS3 Slim, Kathrein UFC960 connected to WDS Node 1 via Gigabit Switch. Notebook 2, Deskjet 6980 connected to WDS Node 2
DoesItMatter
DD-WRT Guru


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

PostPosted: Thu Oct 21, 2010 10:18    Post subject: Reply with quote
Wasn't able to fully test properly on an Asus RT-N16

The ProFTPD client kept crashing - running Brainslayers newest build

--------------------

On a WZR-HP-G300NH - 2 TB NTFS drive, I was copying files and testing speeds

100 MB file was taking about 1 minute over ProFTPD

Never tried the Samba setup

Gigabit wired -> USB NAS 2 TB

So - looking at around 1.66 MB/s maybe hitting 2MB/s

_________________
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
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