SAMBA + EXT4 only 6mb/s?

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

SAMBA + EXT4 only 6mb/s?

Postby fox1986 » Thu Jul 25, 2013 9:07 pm

after several newbie struggles, I got my Pogoplug V2 E02 running as a SAMBA Nas Server.
Configuration is as follows:

1. Lower back port USB: 2 GB USB Stick EXT3 running Arch Linux
2. Upper pack port USB: 2 TB Western Digital USB 3.0 Harddrive with EXT4

Samba is working without problems, but my harddisk can only read and write with max 4-7 mb/s.
The filesystem of the mounted disk is EXT4, connected via Gig-Bit capable Linksys Router E2500.
I access via Windows 8 over WLAN-n (I used to have 30 Mbits on internet-speedtest via that connection
so it should be far better than 4-7mb/s)

I tested writing speeds with hdparm on my 2 TB disk: about 29 Mb/s. But when I try to read and write
files from Windows, I never get over 7mb/s. I know other people here reach easyly more than 20mb/s.
What is wrong with my config?

$this->bbcode_second_pass_code('', '

[global]
workgroup = WORKGROUP
server string = CLOUDFOX
netbios name = CLOUDFOX
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
log file = /var/log/samba/%m.log
max log size = 50
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072
write cache size = 2097152
use sendfile = yes
getwd cache= yes

[wd]
path = /media/wd
read only = no
public = yes
writable = yes
#force user = root
guest ok = yes

')
fox1986
 
Posts: 10
Joined: Fri Jul 19, 2013 5:41 pm


Re: SAMBA + EXT4 only 6mb/s?

Postby moonman » Thu Jul 25, 2013 9:48 pm

Yeah 30mbit/s on speedtest is 3.75 mByte/s

bps = bit/s
Bps = Byte/s
Byte = 8bit
Always

Wireless wont give you over 15 mB/s
(300Mbit/s (in the best case scenario) is half duplex = 150Mbit/s = 18.75 MByte/s - some overhead =15 MB/s?)
and then if you are connected @ 150Mbit/s it will be half that - 7.5Mb/s which is what you get?

Avoid wireless if you want good throughput.

I get about 13 mB/s @300Mbit/s connection rate so it will depend
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: SAMBA + EXT4 only 6mb/s?

Postby fox1986 » Fri Jul 26, 2013 9:44 am

Oh sorry, you are right of course. Just mixed up mbit and mb/s (just too hot here) :roll:

But anyways: I run a WLAN network in n-Standard with dual-channel support, so I think that I should reach a higher transfer rate than 6mb/s, since n-Wlan should support up to 37mb/s. I ran my SAMBA with NTFs partition before and suprisingly it was 6mb/s too. So I guess there must be another limiting factor slowing down read/write speeds from/to Windows -> Pogoplug. Ideas?

Maybe someone has a working smb.conf for me?
fox1986
 
Posts: 10
Joined: Fri Jul 19, 2013 5:41 pm

Re: SAMBA + EXT4 only 6mb/s?

Postby WarheadsSE » Fri Jul 26, 2013 5:41 pm

You're hitting the CDMA limits of 802.11g period. Even with 802.11n with no other devices or noise, you're going to max at approximately 12 at max, in best of the best conditions.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: SAMBA + EXT4 only 6mb/s?

Postby fox1986 » Fri Jul 26, 2013 6:32 pm

I somehow doubt its a wifi problem. I only get 56mbit out of 300mbit possible WLAN bandwith. I know that this should be at least twice as fast. The pogoplugs cpu is out of the game too. Its not even at 27% while copying data.

Tested now via Ethernet LAN: its 6-8 Mb/s, so same speed as wifi. It must be something different
fox1986
 
Posts: 10
Joined: Fri Jul 19, 2013 5:41 pm

Re: SAMBA + EXT4 only 6mb/s?

Postby moonman » Fri Jul 26, 2013 7:57 pm

All wireless is half duplex, so divide whatever signaling rate you see by 2, that is your maximum theoretical throughput (you will likely never see, rather substitute several megabits from that as well). With ethernet the pogo is gigabit, your router IS NOT. E2500 only has has fast-ethernet switch.

Fast-ethernet = 100 mbit/s
Gigabit-ethernet = 1000 mbit/s

also disable flow control on your pc to get upto 12-13 mB/s.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: SAMBA + EXT4 only 6mb/s?

Postby Geoff » Fri Jul 26, 2013 8:21 pm

I tried to speed-test mine too, but then I discovered that my laptop doesn't have gigabit ethernet. D'oh!
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: SAMBA + EXT4 only 6mb/s?

Postby moonman » Fri Jul 26, 2013 8:47 pm

Even if your laptop did, you would still be limited to 100 by the router
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: SAMBA + EXT4 only 6mb/s?

Postby Geoff » Sat Jul 27, 2013 3:31 am

Except that I was connecting the two directly with a crossover cable. A moot point, though ... just sayin'.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 416 guests