Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline AmigaManceTopic starter

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
10-100Mbps ethenet cards. Differnce in CPU usage?
« on: February 13, 2010, 06:41:37 PM »
Hi.
 I have only used a 100Mbps ethernet to PCMCIA card in my Amiga 1200 and i can't make the comparison myself. My internet connection is below 10Mbps. I think i read somewhere that 100Mbps cards draw less CPU than 10 ones, at the same transfer rate. Does anyone know for sure if this is true?
A1200 PPC user.
 

Offline Trev

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 1550
  • Country: 00
    • Show only replies by Trev
Re: 10-100Mbps ethenet cards. Differnce in CPU usage?
« Reply #1 on: February 14, 2010, 12:34:38 AM »
The 100 Mb card probably has a larger internal packet buffer. If that allows the interface to issue interrupts less often, then it might give the driver more direct control over CPU cycles.
 

Offline ElPolloDiabl

  • Hero Member
  • *****
  • Join Date: May 2009
  • Posts: 1702
    • Show only replies by ElPolloDiabl
Re: 10-100Mbps ethenet cards. Differnce in CPU usage?
« Reply #2 on: February 14, 2010, 01:19:10 AM »
It should depend on the network card brand. Some would offload more of the processing, usually the cheaper ones will let the cpu do all the work.
Go Go Gadget Signature!
 

Offline ferix

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 136
    • Show only replies by ferix
Re: 10-100Mbps ethenet cards. Differnce in CPU usage?
« Reply #3 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 AmigaManceTopic starter

  • Hero Member
  • *****
  • Join Date: Apr 2005
  • Posts: 1278
    • Show only replies by AmigaMance
Re: 10-100Mbps ethenet cards. Differnce in CPU usage?
« Reply #4 on: February 14, 2010, 02:59:55 AM »
@ferix
 But, does the outdated PCMCIA interface of a Amiga 1200 take advantage of this enhanced design?
A1200 PPC user.
 

Offline ncafferkey

  • Sr. Member
  • ****
  • Join Date: Feb 2003
  • Posts: 387
    • Show only replies by ncafferkey
Re: 10-100Mbps ethenet cards. Differnce in CPU usage?
« Reply #5 on: February 14, 2010, 04:17:51 AM »
But the only 100Mbps PCMCIA cards that work with AmigaOS are also NE2000 designs AFAIK, so they should have the same limitations.
 

Offline johnklos

  • Full Member
  • ***
  • Join Date: Feb 2010
  • Posts: 190
    • Show only replies by johnklos
Re: 10-100Mbps ethenet cards. Differnce in CPU usage?
« Reply #6 on: February 14, 2010, 06:38:42 AM »
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.
 

Offline Gulliver

Re: 10-100Mbps ethenet cards. Differnce in CPU usage?
« Reply #7 on: February 14, 2010, 07:08:04 AM »
And what about if using a modern RTL8139-compatible Fast Ethernet network card in a mediator?
 

Offline ferix

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 136
    • Show only replies by ferix
Re: 10-100Mbps ethenet cards. Differnce in CPU usage?
« Reply #8 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 ChaosLord

  • Hero Member
  • *****
  • Join Date: Nov 2003
  • Posts: 2608
    • Show only replies by ChaosLord
    • http://totalchaoseng.dbv.pl/news.php
Re: 10-100Mbps ethenet cards. Differnce in CPU usage?
« Reply #9 on: February 14, 2010, 09:59:08 AM »
I have an RTL-8139A Ethernet card in my A1200T.  Izzat good or bad?
Wanna try a wonderfull strategy game with lots of handdrawn anims,
Magic Spells and Monsters, Incredible playability and lastability,
English speech, etc. Total Chaos AGA
 

Offline tone007

Re: 10-100Mbps ethenet cards. Differnce in CPU usage?
« Reply #10 on: February 14, 2010, 11:21:16 AM »
If it gets you on the internet, I'd say it's good.
3 Commodore file cabinets, 2 Commodore USB turntables, 1 AmigaWorld beer mug
Alienware M14x i7 laptop running AmigaForever
 

Offline ferix

  • Full Member
  • ***
  • Join Date: Aug 2009
  • Posts: 136
    • Show only replies by ferix
Re: 10-100Mbps ethenet cards. Differnce in CPU usage?
« Reply #11 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.