Ethernet packets vs kernel speed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 


		
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page ? Try My Yahoo!
http://my.yahoo.com 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux