Welcome, Guest. Please login or register.

Author Topic: 10-100Mbps ethenet cards. Differnce in CPU usage?  (Read 2740 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline ferix

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 136
    • Show all replies
Re: 10-100Mbps ethenet cards. Differnce in CPU usage?
« on: February 14, 2010, 01:47:04 AM »
It's much simpler than that.
10Mb cards are usually based on early ethernet designs like the ne2000. Those designs are quite old, and they only act as transmiter and receiver devices. All the packet cheking and buffer control relays on the system's cpu. It implies checking the destination MAC address, calculating the CRC checksum of received packets, discarting bad ones, set and control of the reception buffer, and all this stuff. So, on slow cpus, It's a very high load.
Those are very bad designs, but they were very common long time ago.
100mb design are based on new designs, with dedicated MAC controllers that hide all that things to the cpu. The CPU only have to get the packets from the card's buffer ready to be used.
[Master of puppets I\'m pulling your strings  
Twisting your mind and smashing your dreams  
Blinded by me, you can\'t see a thing  
Just call my name, \'cause I\'ll hear you scream]
...
We are The Borg.
Lower your shields and surrender your ships.
We will add your biological and technological distinctiveness to our own.
Your culture will adapt to service us.
Resistance is Futile.

 

Offline ferix

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 136
    • Show all replies
Re: 10-100Mbps ethenet cards. Differnce in CPU usage?
« Reply #1 on: February 14, 2010, 09:00:15 AM »
Quote from: johnklos;543077
Under NetBSD, at least, a 100 Mbps card has less overhead in an Amiga 1200 than a 10 Mbps, but the difference isn't huge - the top transfer speed is just over 700k/sec in a mostly idle system as compared with the 10 Mbps card which was about 600k/sec.

I'm using a Dlink DFE-670TXD which is an NE2000 card.

There's a diference between a ne2000 based card, and a enhaced ne2000 card.
First one runs at same speed of an original ne2000 card.
The second one is a ethernet card that can run in ne2000 compatible mode, but with the proper driver, it can run faster than the original. Even without this driver, those cards can be slightly faster becouse the improved design.

Believe me, I spent almost a year writting ethernet drivers for embedded applications.
[Master of puppets I\'m pulling your strings  
Twisting your mind and smashing your dreams  
Blinded by me, you can\'t see a thing  
Just call my name, \'cause I\'ll hear you scream]
...
We are The Borg.
Lower your shields and surrender your ships.
We will add your biological and technological distinctiveness to our own.
Your culture will adapt to service us.
Resistance is Futile.

 

Offline ferix

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 136
    • Show all replies
Re: 10-100Mbps ethenet cards. Differnce in CPU usage?
« Reply #2 on: February 15, 2010, 10:44:22 AM »
Quote from: tone007;543103
If it gets you on the internet, I'd say it's good.

I agree with that. Nothing more to say.
[Master of puppets I\'m pulling your strings  
Twisting your mind and smashing your dreams  
Blinded by me, you can\'t see a thing  
Just call my name, \'cause I\'ll hear you scream]
...
We are The Borg.
Lower your shields and surrender your ships.
We will add your biological and technological distinctiveness to our own.
Your culture will adapt to service us.
Resistance is Futile.