I use two network cards in my Dell Inspiron 8000 (PIII-700): a 3Com 3CCFE574BT and a Linksys wireless card. With the 3Com card (which is a 10/100) I never get better than 1.4 MB/sec (about 12 Mb/sec), even when the card is in 100 Mb mode (at some point in the past the limit was about 2.5 MB/sec). At that rate, top shows my CPU utilization pegged at about 100%, even doing a simple ftp. I know the card doesn't do DMA, but that's rather slow even for a PIO transfer. These cards have been around for ages; I don't think people would have been too satisfied with 400 KB/sec saturating a 200 MHz system. On the Linksys card, I likewise never get more than about 250 KB/sec, even if the computer is right next to the WAP and the link quality is 92/92, suggesting that I'm also hitting up against a hard limit. The WAP is connected to my main system via the motherboard ethernet, which I know from other means (when I was transferring data from my previous system to the current one) has no trouble maxing out at 10 MB/sec (that ethernet does DMA). eth1 IEEE 802.11-DS ESSID:"..." Nickname:"..." Mode:Managed Frequency:2.437GHz Access Point: 00:04:5A:CF:F3:B1 Bit Rate:11Mb/s Tx-Power=15 dBm Sensitivity:1/3 Retry min limit:8 RTS thr:off Fragment thr:off Power Management:off Link Quality:26/92 Signal level:-76 dBm Noise level:-149 dBm Rx invalid nwid:0 invalid crypt:0 invalid misc:0 I'm running SuSE 7.3 on both systems, with a recompiled kernel based on kernel-source-2.4.16.SuSE-24. I'm not (or don't think I am) running a firewall or NAT on the laptop, despite what's in the module list. I've had no luck finding anything on the net. Modules that look like they should be relevant are: orinoco_cs 4352 1 orinoco 27312 0 [orinoco_cs] hermes 3200 0 [orinoco_cs orinoco] af_packet 11616 0 (autoclean) appletalk 18832 0 (autoclean) ipx 15008 0 (autoclean) ds 6384 2 [orinoco_cs] yenta_socket 8368 2 pcmcia_core 37568 0 [orinoco_cs ds yenta_socket] ipv6 124480 -1 (autoclean) iptable_nat 12560 0 (autoclean) (unused) ip_conntrack 12656 1 (autoclean) [iptable_nat] iptable_filter 1728 0 (autoclean) (unused) ip_tables 10304 4 [iptable_nat iptable_filter] Suggestions? -- Robert Krawitz <rlk@alum.mit.edu> http://www.tiac.net/users/rlk/ Tall Clubs International -- http://www.tall.org/ or 1-888-IM-TALL-2 Member of the League for Programming Freedom -- mail lpf@uunet.uu.net Project lead for Gimp Print/stp -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton
Using FTP to check the speed of the network is not a great idea, especially on slow laptop disks. You could be running into the limitations of your disk subsystem. There is a program called ttcp which will test TCP performance with nothing else involved. Are those card 16-bit PCMCIA, or 32-bit Cardbus? If they are 16-bit, you are probably maxing out the bus. 16-bit PCMCIA is no better than the old ISA bus in terms of speed. 32-bit Cardbus is like PCI. For the 10/100 card, check the settings to be sure that both ends of the link are operating at the same duplex. If you are connecting to a repeater (hub, not a switch) you must be using half duplex. If you are connecting to a switch, then the card has to be configured for the same duplex as the switch or you will have horrible performance. Alternatively, the card and the switch can be configured for autonegotiation, so they will both agree on the "best" settings that they both support. Unfortunately, autonegotiation is sometimes buggy and sometimes doesn't work right between different vendor's devices. This is more of a problem with older network devices. On Mon, Apr 01, 2002 at 08:14:06AM -0500, Robert L Krawitz wrote: rlk> I use two network cards in my Dell Inspiron 8000 (PIII-700): a 3Com rlk> 3CCFE574BT and a Linksys wireless card. With the 3Com card (which is rlk> a 10/100) I never get better than 1.4 MB/sec (about 12 Mb/sec), even rlk> when the card is in 100 Mb mode (at some point in the past the limit rlk> was about 2.5 MB/sec). At that rate, top shows my CPU utilization rlk> pegged at about 100%, even doing a simple ftp. I know the card rlk> doesn't do DMA, but that's rather slow even for a PIO transfer. These rlk> cards have been around for ages; I don't think people would have been rlk> too satisfied with 400 KB/sec saturating a 200 MHz system. rlk> rlk> On the Linksys card, I likewise never get more than about 250 KB/sec, rlk> even if the computer is right next to the WAP and the link quality is rlk> 92/92, suggesting that I'm also hitting up against a hard limit. The rlk> WAP is connected to my main system via the motherboard ethernet, which rlk> I know from other means (when I was transferring data from my previous rlk> system to the current one) has no trouble maxing out at 10 MB/sec rlk> (that ethernet does DMA). -- Charles R. Anderson <cra@wpi.edu> / http://angus.ind.wpi.edu/~cra/ PGP Key ID: 49BB5886 Fingerprint: EBA3 A106 7C93 FA07 8E15 3AC2 C367 A0F9 49BB 5886
Date: Mon, 1 Apr 2002 10:23:12 -0500 From: "Charles R. Anderson" <cra@wpi.edu> Using FTP to check the speed of the network is not a great idea, especially on slow laptop disks. You could be running into the limitations of your disk subsystem. There is a program called ttcp which will test TCP performance with nothing else involved. My laptop disk is fast enough (it's an IBM 32 GB 5400 RPM device); the disk streaming bandwidth (writing to a file) is in excess of 10 MB/sec. The disk on my main system is a SCSI disk that benchmarks at
30 MB/sec.
Are those card 16-bit PCMCIA, or 32-bit Cardbus? If they are 16-bit, you are probably maxing out the bus. 16-bit PCMCIA is no better than the old ISA bus in terms of speed. 32-bit Cardbus is like PCI. The wired card is 16 bit. I don't know about the wireless Linksys; I suspect that it is also. For the 10/100 card, check the settings to be sure that both ends of the link are operating at the same duplex. If you are connecting to a repeater (hub, not a switch) you must be using half duplex. If you are connecting to a switch, then the card has to be configured for the same duplex as the switch or you will have horrible performance. Alternatively, the card and the switch can be configured for autonegotiation, so they will both agree on the "best" settings that they both support. Unfortunately, autonegotiation is sometimes buggy and sometimes doesn't work right between different vendor's devices. This is more of a problem with older network devices. I'll look into that. Thanks. -- Robert Krawitz <rlk@alum.mit.edu> http://www.tiac.net/users/rlk/ Tall Clubs International -- http://www.tall.org/ or 1-888-IM-TALL-2 Member of the League for Programming Freedom -- mail lpf@uunet.uu.net Project lead for Gimp Print/stp -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton
Robert L Krawitz wrote:
I use two network cards in my Dell Inspiron 8000 (PIII-700): a 3Com 3CCFE574BT and a Linksys wireless card. With the 3Com card (which is a 10/100) I never get better than 1.4 MB/sec (about 12 Mb/sec), even when the card is in 100 Mb mode (at some point in the past the limit was about 2.5 MB/sec). At that rate, top shows my CPU utilization pegged at about 100%, even doing a simple ftp. I know the card doesn't do DMA, but that's rather slow even for a PIO transfer. These cards have been around for ages; I don't think people would have been too satisfied with 400 KB/sec saturating a 200 MHz system.
Your results with the 3Com card are normal for a 16-bit PCMCIA card. The wall you're hitting is the PCMCIA interface. You would have done much better to get a CardBus card (such as the 3CCFE575CT); you should be able to saturate a Fast Ethernet with one of those, and the CPU utilization would be lower. Basically, 10/100 16-bit cards are something of a lie, since you can never get anywhere near 100 Mbps from them. The same is true of 10/100 USB interfaces (the 12 Mbps speed of USB is a hard limit), though USB 2.0 (480 Mbps) could be different if anyone ever produces a USB 2.0 Ethernet interface.
On the Linksys card, I likewise never get more than about 250 KB/sec, even if the computer is right next to the WAP and the link quality is 92/92, suggesting that I'm also hitting up against a hard limit. The WAP is connected to my main system via the motherboard ethernet, which I know from other means (when I was transferring data from my previous system to the current one) has no trouble maxing out at 10 MB/sec (that ethernet does DMA).
Not sure about that one; it may be that you're doing about as well as 802.11b and your access point will allow. The bit rate of 802.11b is 11Mbps, but there are other issues with wireless, such as latency (always higher than wired LANs) and delays for the collision avoidance.
participants (3)
-
Charles R. Anderson
-
Mark J. Dulcey
-
Robert L Krawitz