You are not logged in.

#1 2014-05-09 15:53:00

liticovjesac
Member
From: Stockholm-Belgrade-Köln
Registered: 2008-07-16
Posts: 110

Atheros atl1e ; slow samba share via ethernet

Hi, here is my problem.

I started using eeepc as a file server. Normaly i share my files via samba. I have noticed very slow upload from eeepc via ethernet. Its less then 100kb. When I change to  wireless i get 1-2mb. SCP or ssh works with more then 10mb via ethernet.
Here is some setting. Any idea what is the problem and how to fix it?

03:00.0 Ethernet controller: Qualcomm Atheros AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0)
	Subsystem: ASUSTeK Computer Inc. Device 8324
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at fbfc0000 (64-bit, non-prefetchable) [size=256K]
	I/O ports at ec00 [size=128]
	Capabilities: <access denied>
	Kernel driver in use: ATL1E
	Kernel modules: atl1e
[liticovjesac@vampir ~]$ lsmod | grep atl1e
atl1e                  28004  0 

Here is short smb.conf output

[liticovjesac@vampir ~]$ cat /etc/samba/smb.conf

[global]

# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
   workgroup = MYGROUP

# server string is the equivalent of the NT Description field
   server string = Samba Server

# Security mode. Defines in which mode Samba will operate. Possible 
# values are share, user, server, domain and ads. Most people will want 
# user level security. See the Samba-HOWTO-Collection for details.
   security = user


# this tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/%m.log

# Put a capping on the size of the log files (in Kb).
   max log size = 50


# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The default is NO.
   dns proxy = no 



#============================ Share Definitions ==============================


[homes]
   comment = Home Directories
   browseable = yes
   writable = yes
   create mask = 0775
   directory mask = 0775

[seagate]
   comment = seagate
   path = /run/media/liticovjesac/seagate
   browseable = yes
   writable = yes
   create mask = 0775
   directory mask = 0775

#[Filmovi]
#   comment = Filmovi
#   path = /run/media/liticovjesac/FILMOVI
#   browseable = yes
#   writable = yes
#   create mask = 0775
#   directory mask = 0775

#[Muzika]
#   comment = Muzika
#   path = /run/media/liticovjesac/MIHAILO2
#   browseable = yes
#   writeable = yes
#   create mask = 0775
#   directory mask = 0775

#[Sofia]
#   comment = Sofia
#   path = /run/media/liticovjesac/SOFIA
#   browseable = yes
#   writable = yes
#   create mask = 0775
#   directory mask = 0775

#[Backup]
#   comment = Backup
#   path = /run/media/liticovjesac/BEKAP
#   browseable = yes
#   writable = yes
#   create mask = 0775
#   directory mask = 0775

#[Boxee2]
#   comment = Boxee2
#   path = /run/media/liticovjesac/BOXEE2
#   browseable = yes
#   writable = yes
#   create mask = 0775
#   directory mask = 0775

#[Boxee1]
#   comment = Boxee1
#   path = /run/media/liticovjesac/BOXEE1
#   browseable = yes
#   writable = yes
#   create mask = 0775
#   directory mask = 0775


#passdb backend = smbpasswd
.

Last edited by liticovjesac (2014-05-09 15:57:13)

Offline

#2 2014-05-09 18:21:48

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: Atheros atl1e ; slow samba share via ethernet

I'd check to see your actual transfer rate on your wired connection to see if it's the connection or some weird configuration thing with Samba

(iperf -s &); iperf -P 2 -c 192.168.0.2; pkill iperf

Offline

#3 2014-05-09 18:59:46

liticovjesac
Member
From: Stockholm-Belgrade-Köln
Registered: 2008-07-16
Posts: 110

Re: Atheros atl1e ; slow samba share via ethernet

It seems ok:

From troubled computer

[liticovjesac@vampir ~]$ iperf -P 2 -c 192.168.1.104
------------------------------------------------------------
Client connecting to 192.168.1.104, TCP port 5001
TCP window size: 43.8 KByte (default)
------------------------------------------------------------
[  3] local 192.168.1.102 port 47983 connected with 192.168.1.104 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.1 sec  25.4 MBytes  21.0 Mbits/sec

To troubled computer

[liticovjesac@vukodlak ~]$ iperf -c 192.168.1.102
------------------------------------------------------------
Client connecting to 192.168.1.102, TCP port 5001
TCP window size: 85.0 KByte (default)
------------------------------------------------------------
[  3] local 192.168.1.104 port 58441 connected with 192.168.1.102 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.1 sec  22.1 MBytes  18.4 Mbits/sec

Offline

#4 2014-05-09 21:30:36

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: Atheros atl1e ; slow samba share via ethernet

that's terrible for local network

[ tye@t: ~ ]$ (iperf -s &); iperf -P 2 -c 192.168.0.2; pkill iperf
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.0.2, TCP port 5001
TCP window size: 2.50 MByte (default)
------------------------------------------------------------
[  3] local 192.168.0.2 port 52381 connected with 192.168.0.2 port 5001
[  4] local 192.168.0.2 port 5001 connected with 192.168.0.2 port 52381
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  63.7 GBytes  54.7 Gbits/sec
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  63.7 GBytes  54.7 Gbits/sec

something definitely seems to be amiss with your wired connection

Offline

Board footer

Powered by FluxBB