LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-12-2014, 03:28 AM   #1
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
slow wifi transfer to USB drive attached to router


The issue is that a wireless transfer from my laptop to my USB3 drive connected to my NetGear DGND3700v2 (with latest firmware) is slooooow.
The same drive connected to my laptop gives me around 30-40MBps. When connected to the router , transfer of a 2GB file is stable around 4MBps.
4MBps (4 Mega BYTES) = 32Mbps (Mega BITS) which is crap. my laptop card is claiming to be connected at 300Mbps on a 2.4GHz dual channel wifi network hosted by the router
My laptop is about 2ft from the router.
There is no other wifi or LAN device powered on.
Transfers have been tested via SMB, CIFS, NFS, FTP and HTTP. Typical transfer is still around 4MBps (Mega BYTES)
The problem is in the wireless or router but if the router is transferring at 4MBps to a USB3 (or even USB2 drive) then it must be one pile of crap router - as I said the xfer between USB drive and direct connection to the laptop is 10x faster.
I accept that a hardlink will always be faster than wifi, but the router is hosting a dual stream 300mbps connection, I am 2ft away from the router, the USB3 is a Western Digital 500GB drive high quality, the router is supposed to be a half decent model, and I'm getting about 32Mpbs - nowhere near 300Mpbs , more like a 54Mpbs "g" connection.
Can't be right?
If the problem is the wifi then the link speed reported by Linux is either grossly over ambitious or the router is crap.
How can I pinpoint the problem?

some sysinfo:


Quote:
inxi -Fxx
System: Host: daz-VPCF11S1E Kernel: 3.11.0-12-generic x86_64 (64 bit, gcc: 4.8.1)
Desktop: Xfce 4.10.2 (Gtk 2.24.20) Distro: Linux Mint 16 Petra
Machine: System: Sony product: VPCF11S1E version: C603MAUN serial: 27514951-5000409 Chassis: type: 10
Mobo: Sony model: VAIO serial: C603MAUN Bios: American Megatrends version: R0280Y6 date: 05/14/2010
CPU: Quad core Intel Core i7 CPU Q 720 (-HT-MCP-) cache: 6144 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 12767.7
Clock Speeds: 1: 933.00 MHz 2: 933.00 MHz 3: 933.00 MHz 4: 1199.00 MHz 5: 933.00 MHz 6: 933.00 MHz 7: 933.00 MHz 8: 933.00 MHz
Graphics: Card: NVIDIA GT216M [GeForce GT 330M] bus-ID: 01:00.0
X.org: 1.14.3 driver: nvidia tty size: 116x41 Advanced Data: N/A for root
Audio: Card-1: Intel 5 Series/3400 Series Chipset High Definition Audio driver: snd_hda_intel bus-ID: 00:1b.0
Card-2: NVIDIA High Definition Audio Controller driver: snd_hda_intel bus-ID: 01:00.1
Sound: Advanced Linux Sound Architecture ver: k3.11.0-12-generic
Network: Card-1: Marvell 88E8057 PCI-E Gigabit Ethernet Controller driver: sky2 ver: 1.30 port: a000 bus-ID: 04:00.0
IF: eth0 state: down mac: 00:24:be:b2:f0:16
Card-2: Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express) driver: ath9k bus-ID: 02:00.0
IF: wlan0 state: up mac: f0:7b:cb:75:08:1b
Drives: HDD Total Size: 700.2GB (21.9% used) 1: id: /dev/sda model: SAMSUNG_HM500JI size: 500.1GB serial: S208JD0SB65123 temp: 37C
2: id: /dev/sdb model: External size: 200.0GB serial: K412T8325MKR temp: 0C
Partition: ID: / size: 37G used: 4.2G (13%) fs: ext4 ID: /home size: 416G used: 25G (7%) fs: ext4
ID: /boot size: 343M used: 41M (13%) fs: ext4 ID: swap-1 size: 6.42GB used: 0.00GB (0%) fs: swap
RAID: System: supported: N/A
No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Unused Devices: none
Sensors: System Temperatures: cpu: 54.0C mobo: 54.0C gpu: 0.0:52C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 241 Uptime: 4:26 Memory: 1102.8/5951.6MB Runlevel: 2 Gcc sys: 4.8.1 alt: 4.7 Client: Shell inxi: 1.8.4
Quote:
inxi -N
Network: Card-1: Marvell 88E8057 PCI-E Gigabit Ethernet Controller driver: sky2
Card-2: Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express) driver: ath9k

Quote:
intwifi
-------------------------
* I. scanning WIFI PCI devices...
-- Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express) (rev 01)
==> PCI ID = 168c:002a (rev 01)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
eth0 no wireless extensions.

lo no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:"TILLY-2.4G"
Mode:Managed Frequency:2.462 GHz Access Point: 9C3:6D:13:4F:CA
Bit Rate=130 Mb/s Tx-Power=16 dBm
Retry long limit:7 RTS thrff Fragment thrff
Encryption keyff
Power Managementff
Link Quality=70/70 Signal level=-31 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:547 Missed beacon:0

-------------------------
* IV. querying ifconfig...
eth0 Link encap:Ethernet HWaddr 00:24:be:b2:f0:16
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:18

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:4472 errors:0 dropped:0 overruns:0 frame:0
TX packets:4472 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:427937 (427.9 KB) TX bytes:427937 (427.9 KB)

wlan0 Link encap:Ethernet HWaddr f0:7b:cb:75:08:1b
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::f27b:cbff:fe75:81b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:970815 errors:0 dropped:0 overruns:0 frame:0
TX packets:1999383 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:164763239 (164.7 MB) TX bytes:2972018444 (2.9 GB)

-------------------------
* V. querying DHCP...
reload: Unknown instance:
invoke-rc.d: initscript smbd, action "reload" failed.
-------------------------
* VI. querying nslookup google.com...
Server: 192.168.1.1
Address: 192.168.1.1#53

Non-authoritative answer:
Name: google.com
Address: 173.194.34.71
Name: google.com
Address: 173.194.34.70
Name: google.com
Address: 173.194.34.73
Name: google.com
Address: 173.194.34.65
Name: google.com
Address: 173.194.34.78
Name: google.com
Address: 173.194.34.64
Name: google.com
Address: 173.194.34.72
Name: google.com
Address: 173.194.34.68
Name: google.com
Address: 173.194.34.66
Name: google.com
Address: 173.194.34.67
Name: google.com
Address: 173.194.34.69
Quote:
iw wlan0 link
Connected to 9c:d3:6d:13:4f:ca (on wlan0)
SSID: TILLY-2.4G
freq: 2462
RX: 88099320 bytes (840608 packets)
TX: 2447271944 bytes (1605713 packets)
signal: -27 dBm
tx bitrate: 300.0 MBit/s MCS 15

bss flags: short-preamble
dtim period: 2
beacon int: 100

Last edited by keratos; 04-12-2014 at 03:31 AM.
 
Old 04-12-2014, 03:36 AM   #2
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Original Poster
Rep: Reputation: 30
EDIT:

DUHHH: I didnt try a hardwired link from laptop to router.
I've now done this and getting a 9-10MBps rate, which means the problem is the router or the wifi card capabilities in the laptop ?? Is it possible that the wifi card can report a link of 300mbps but actually transfer much much slower ?
 
Old 04-12-2014, 02:35 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Those routers are not the best. They can't easily do server tasks. While they may run a type of linux, they simply don't have enough processor and associated hardware to do high level tasks would be my guess.

You could disable wifi security to see if that helps.
 
Old 04-12-2014, 03:00 PM   #4
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Original Poster
Rep: Reputation: 30
...from what I've read, this router is very good according to:
CNet
PC Advisor
TechRadar
PCMagazine
TrustedReviews
and many more.


well, if you think this router aint so good, which in your esteemed view are good routers?

I've since come across multiple threads complaining of 8-10MBps write/read to USB NAS drive. so I'm in the ballpark.

I get 15MBps writing to my VU Duo+ STB box hosting an FTP server I connect to, so I think there is some value in what you are saying ..... as this box is quite a reasonable spec but 3yrs old so no doubt better hardware out there.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow transfer speed on RTL8191SU usb wifi (AirLink101 AWLL6075) propofol Linux - Hardware 2 10-26-2013 01:33 AM
How to test wifi transfer speed with use of one computer and one router? froff Linux - Wireless Networking 1 06-02-2012 11:10 AM
Slow USB thumb drive transfer Ubuntu 10.04 jkzfixme Linux - Hardware 1 06-24-2010 03:49 PM
Slow file transfer for USB external drive rgaelzer Linux - Hardware 2 03-15-2007 11:18 AM
USB Drive Transfer Rate Slow After Updating kenninaz Fedora 3 09-01-2005 03:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration