Slow wlan0 compared to eth0?

1

Note:

DNS:

Wireless NIC:

Intel Corporation PRO/Wireless 3945ABG

Kernel module:

iwl3945

uname -r

2.6.28-11-generic

Release:

Distributor ID: LinuxMint
Description:    Linux Mint 7 Gloria - Main Edition
Release:    7
Codename:   Gloria

ip a | grep inet6:

inet6 ::1/128 scope host 
inet6 fe80::21b:38ff:fe0c:d718/64 scope link

tail /etc/modprobe.d/blacklist.conf

# blacklist ipv6
blacklist ipv6

Question

  • How to improve the connection speed, to match with (or similar) to Ethernet or Win NT 5.1 wireless driver?

Aaron

Posted 2009-08-10T21:49:39.767

Reputation: 1 228

Answers

3

Your wireless card is 802.11a/b/g, which has a max physical layer throughput of 54 Mbit/sec. This maximum is rarely achieved in 'normal operating conditions' for most people, and you're more likely to see much slower speeds. Compared to a typical 100 Mbit ethernet card which has a max physical layer throughput of ... 100 Mbit, you should not expect to reach the same level of performance.

What you gain in mobility and convenience with Wireless is supposed to outweigh the speed/performance benefits of being tied down with ethernet. Bondage puns unintended, but channel bonding puns implied.

Fwiw, IPv6 is not primarily intended to provide performance gains, it's main benefit is increased address availability. Disabling it may or may not affect performance.

There's a myriad of reasons for differences in Windows vs Linux drivers, not least of which is whether the vendor contributed the driver to Linux. You may be able to tune kernel network parameters with sysctl, or by manipulating the driver module load options. Finally, the driver from Windows may load on Linux using NDISwrapper.

For more information on sysctl:

  • On Ubuntu and Debian systems the file /usr/share/doc/procps/examples/sysctl.conf is heavily commented.
  • The man pages for sysctl and sysctl.conf may be helpful.
  • Some performance settings on Ubuntu with sysctl.

There seems to be more information about sysctl on Linux 2.4 kernels than 2.6. I'd have to go delving into the Linux source code documentation for more.

jtimberman

Posted 2009-08-10T21:49:39.767

Reputation: 20 109

Thanks for your reply. I understand this. However, on Win NT 5.1, the throughput is much greater compared to Linux (as per above). I suspect disabling IPv6 to improve performance? – Aaron – 2009-08-10T22:56:04.890

Do you know where I can find sysctl "network parameters" references (to that of sysctl -a? – Aaron – 2009-08-11T17:00:24.577

3

If your Access Point has another device on it that can only do B speeds, then it's possible that it's stepping down all of its clients, including your g card.

Might want to enforce g on the AP if that's an option.

Allain Lalonde

Posted 2009-08-10T21:49:39.767

Reputation: 278

I don't understand. What is an "AP"? – Aaron – 2009-08-10T23:09:02.243

@Aaron: AP = access point. Yours may be integrated as part of a wireless router. – derobert – 2009-08-10T23:12:21.893

0

I would recommend doing a site survey of the electromagnetic spectrum. If someone is using the same frequencies that would explain the performance issues you are having. I discussed an issue similar to this in another thread. Here is the answer I gave to a similar question.

Axxmasterr

Posted 2009-08-10T21:49:39.767

Reputation: 7 584