Why is my Wifi connection slower than ethernet even though bandwidth should saturated?

2

I'm wondering why it is that my wireless connection is slower than my wired connection for things going to the outside world (so, not files being transferred within the network), which is should be faster than the outside connection, which, I would think, would mean that downloading something like an ISO or other large file from the Internet should be the same either way since that should saturate the connection anyway.

Does it have something to do with the encryption (WPA)?

Could it have something to do with MTU since the MTU for ethernet can be in the range of 1500 to 9000 bytes, and 2304 bytes for 802.11?

Do wireless packets have to be buffered, whereas this wouldn't be an issue with ethernet?

What's the math behind the difference?

supercheetah

Posted 2010-06-12T16:26:36.610

Reputation: 836

1What actual speeds are you observing over wifi and wired? – Andy – 2010-06-12T18:15:21.420

Answers

2

Latency

Internet connection speed is a made up by a combination of bandwidth and latency. That's the reason why large organisations will spread servers all across the country/world. By limiting the number of hops they can guarantee that the data gets to you quicker with fewer data collisions along the way (that require some packets to be re-sent).

In the realm of home networking think about Ethernet vs Wireless. In ethernet the signals are already converted to the format used by 802.3 networks when they come through the gateway. To send them down the line they are buffered and piped through to their specified destination with little or no signal or packet loss due to the direct wired connection and simple infrastructure.

With wireless 802.11 the signal needs to be converted to the correct format by attaching wireless specific info to the packet, then the packet needs to be converted to a wireless format that can be transferred. Factor in wireless interference and the fact that a lot of packets will be corrupted along the way due to the frail nature of radio transmissions and the high factor of interference; and you have a lot of packets that'll need to be re-transmitted.

All of those factors add increase the latency of the data transfer. Even though the distances of travel are trivial, the additional complexities that make wireless 'work' will inevitably increase the latency.

If you had top-of-the-line equipment and you lived in a radio vacuum you may be able to get WiFi latency that comes close to ethernet but... In a realistic environment, a little occasional lag is the best you can hope for.

There are certain settings you can tweak on a wireless to attempt to improve the connection quality but, with everybody running personal wireless routers in close proximity, there's bound to be a lot of interference.

Evan Plaice

Posted 2010-06-12T16:26:36.610

Reputation: 1 387

This was the kind of answer for which I was looking. – supercheetah – 2010-06-16T10:27:26.440

2

Do not believe the connection speed that you see in connection properties.

This is down to many factors and it can be anything from range, interference and the quality of your infrastructure - e.g. Do not expect a £20 unbranded router to provide the same speed as a £500+ Cisco Wireless Access Point.

You may also want to try editing the MTU and other settings (At your own risk!) as you said. but a lesser action can simply be to update your drivers/

This is a very awkward issue, but I would say that the main problem comes down to the quality of the hardware and driver - e.g. a few laptop manufacturers use the cheapest wireless cards and don't even plug in all the aerial ports.

William Hilsum

Posted 2010-06-12T16:26:36.610

Reputation: 111 572

1That's certainly something I had not considered, but the router I bought wasn't exactly cheap, but who knows. How would I know if some of the aerial ports aren't plugged in? – supercheetah – 2010-06-12T18:00:28.820

1I think Wil means the possibly different ports for the antenna to be connected to. There's probably no way to figure that out short of opening the wireless module and seeing if there are any loose wires. Then again, even if you did see loose wires, you probably wouldn't know where to solder/attach them anyways, so it's probably a lost cause. – Hello71 – 2010-06-13T02:46:36.800

Actually, here in the 802.11n era, an off-brand N AP is likely to be faster than a Cisco N AP. Cisco's popular Lightweight AP scheme doesn't keep up with speedy 40MHz-wide N very well. Even Cisco reps privately recommend against using their gear in 40MHz-mode. – Spiff – 2010-06-13T15:16:58.230

1@Spiff - Is that documented anywhere? I have 30 1141s that are performing fine. Have you observed this behavior with the latest MD firmware from the 6.x train? the 5.x train was a mess for sure, but I have found big improvement in 6.x – MDMarra – 2010-06-13T15:34:57.303

@Hello71 +1, that is what I meant. @supercheetah as Hello71 said, it is hard to know without looking, many manufactures do this to save money and unless you have a spare aerial cable, there isn't anything you can do about it - and if you had a spare one, they would of connected it! – William Hilsum – 2010-06-13T15:56:09.600

@MarkM I get 180mbps of iPerf TCP throughput through my consumer N AP in good RF conditions. What do you get through your 1141's running 6.x? – Spiff – 2010-06-13T16:04:36.603

@Spiff - I'll run some benches when I go back to the office tomorrow. I don't remember the exact numbers from our initial benches, but I seem to remember them being better than that. Are you the only wireless client associated with that AP when doing the benches? – MDMarra – 2010-06-13T16:10:15.173

I even opened up the cover on my laptop that's over the wifi card, and I couldn't tell if there was anything immediately wrong with it. I can't help but imagine that the half-duplex issue mentioned by @dbasnett below would have an issue since even a simple ARP response would interfere with traffic. How much of an issue is half-duplex with this? – supercheetah – 2010-06-14T15:58:24.623

2

WIFI is also half duplex, unless the devices on both ends use one channel to transmit and one to receive.

dbasnett

Posted 2010-06-12T16:26:36.610

Reputation: 459

Wow, I didn't even know that. – supercheetah – 2010-06-14T15:53:13.590

0

WiFi can be slowed down by interference or bad reception.
Try to change the channel to 11, which is the strongest, and see if there's an improvement.

Also, a router with MIMO technology may be faster.

harrymc

Posted 2010-06-12T16:26:36.610

Reputation: 306 093