LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Ethernet packets vs kernel speed (https://www.linuxquestions.org/questions/linux-networking-3/ethernet-packets-vs-kernel-speed-260988/)

alaios 11-30-2004 01:17 PM

Ethernet packets vs kernel speed
 
Hi.... Today a really strange problem appeared in my mind...

Lets take the following example..
We have ethernet packets of 1250 bytes/packet...
(i use the 1250 number because i make the calculation simpler)

We have 1250*8bits=10.000 bits..
My pc has an 100Mbit ethernet card this means 100.000.000 bits per second... So our ethernet card must transmit data in 100.000.000/10.000= 10.000 packets per second...

I am trying to figure out how a kernel can tolerate with so much traffic... I think/suppose that a packet needs some ms for being handled (i wiil check it later).. If this is true how a kernel can send so much packets when there is not enough time? 1000ms == 1 sec.

PS: I know that the 100Mbit is only a theory based speed and you can not achieve such a number... But stil l my question has not been answered...
Thx a lot...
I hope that your answers will satisfy eveyone :)
Have a nice day

chort 12-01-2004 02:40 AM

Please do not post the same thread more than once. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

I see that you've been warned about this several times before; please make this the last one!


All times are GMT -5. The time now is 11:25 PM.