LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Closed Thread
  Search this Thread
Old 11-30-2004, 01:17 PM   #1
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Rep: Reputation: 45
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
 
Old 12-01-2004, 02:40 AM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
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!
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Live for Speed & UDP Packets Mr Marmmalade Linux - Games 2 03-20-2005 11:32 AM
Ethernet card speed Pedroski Linux - Hardware 3 12-12-2004 03:12 PM
Ethernet packets vs kernel speed alaios Linux - Networking 3 12-02-2004 02:10 AM
capturing ethernet packets shrike_912 Programming 5 08-02-2004 01:46 PM
Redhat Ethernet Speed GomiCowboy Linux - Networking 1 12-15-2003 02:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration