Re: Home LAN performance

Trev Peterson <[email protected]>
Newsgroups gmane.org.user-groups.luni.tech
Organization Advanced Reality
Message-ID <[email protected]>
Hey Jay,

I comment below on your results.

On Fri, 2011-02-25 at 23:16 -0600, Jay Strauss wrote:
> I've been playing with a DD-WRT running Samba3 with a USB attached
> HDD.  I was thinking I could go with this as a low energy file
> server.  But it seems slow as a fileserver, so I got curious about
> network performance.  I decided to run some tests.  I have it setup
> like:
> 
> 
> |- 1. Win7 PC Gigabit adapter
> |
> |- 2. Win7 Laptop with Gigabit adapter
> |
> -- 3. TRENDnet TEG-S50G 10/100/1000Mbps GREENnet Switch
> |
> |
> -- 4. TP-LINK TL-WR1043ND 802.11b/g/n Wireless N Gigabit Router 
> | running DD-WRT and USB HDD attached with Samba
> |
> |- 5.Ubuntu Samba + LAMP server with 10/100 adapter
> 
> 
> So I moved some big files to different destinations (MB is really MB
> not Mb)
> 
> 
The first three results seem to be on-par with what is expected with the
exception that the 80MB/s is a bit higher than I would have expected.  I
thought real world limit on 7200 rpm HDDs was in the 50 - 70MB/s range.
One last thing you may want to make sure of is see if your switch
supports Jumbo frames and make sure that support is turned on in switch
and all NICs.

> 1. -> 1. = ~80 MB/s  (internal transfer between one HDD -> 2nd HDD in
> same box)
> 1. -> 2. = ~50 MB/s  (move files between 2 gigabit adapted machines on
> the same side of a Gb switch) 
> 2. -> 1. = ~50 MB/s  (move files between 2 gigabit adapted machines on
> the same side of a Gb switch)
> 1. -> 4. = ~5 MB/s   (move files to Samba on DD-WRT, which is a USB
> attached HDD)
Are you connecting to this using wifi, 10/100 eth or 10/100/1000 eth?
If using wifi (g) then this is right at the theoretical limit of g-wifi.
If not using g then this may be a limitation of the I/O of the device or
USB connection to it.  I'd try to copy a file from usb drive to usb
drive directly to benchmark the I/O.  
> 1. -> 5. = ~10 MB/s (move files to Samba on 100Mb attached fileserver)
This seems close to the max for a 100Mb ethernet adapter.  10MB = 80Mb
and when you add in packet overhead, error correcting, retrans(if any)
it is probably close to the 100Mb max. 
> 
> 
Hope this helps,

-- 
Trev Peterson
Advanced Reality
Email: [email protected]
Phone: +1 847 406 9018

-- 
Linux Users Of Northern Illinois (Chicago) - Technical Discussion 
http://luni.org/mailman/listinfo/luni
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.