networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: cut-through
PostPosted: Thu Aug 09, 2012 9:25 am 
Offline
New Member
New Member

Joined: Mon Jan 09, 2012 9:56 am
Posts: 23
Certs: Master
Hello,

I'm reading about some network switch and most of them work only on store-and-forward mode, like the linux kernel for example.

There are some switch that work also on cut-through mode, that for larger ethernet networks really is more efficient.

At buffer level In store-and-forward NICs only trigger an interrupt after the packet has been completely DMAed into memory.

But how cut-through is implement at buffer level?

Someone knows if it is possible to implement cut-through on today's linux kernel?

I don´t know if something like that was been already implemented.

Thanks in advanced,
Regards,


Top
 Profile  
 
 Post subject: Re: cut-through
PostPosted: Thu Aug 09, 2012 11:33 am 
Online
Post Whore
Post Whore
User avatar

Joined: Tue Aug 21, 2007 2:15 pm
Posts: 8281
Location: Frederick MD
Certs: Instanity
store and forward check each packet to verify it's destination
cut-through, checks the first packet and thereafter something like the first 64 bytes of the packet,
if the headier information is the same, same source, same destination, source port, dest port,
or considered part of the same session, the packets are sent on their way without further a due.
or something to that effect.

_________________
"If you're good at anticipating the human mind. It leaves nothing to chance."
-Jigsaw


Top
 Profile  
 
 Post subject: Re: cut-through
PostPosted: Thu Aug 09, 2012 12:10 pm 
Online
Post Whore
Post Whore

Joined: Sun May 15, 2011 4:16 pm
Posts: 1419
Location: Belgium
Certs: CCNA Security, CCNP
That was useful in the old days, but don't bother now. I'd be surprised if you gained more than 100µs. Also, every NIC these days does store-and-forward in hardware (except virtual machines), so it may very well be that cut-through in software results in a slower connection.

_________________
http://reggle.wordpress.com


Top
 Profile  
 
 Post subject: Re: cut-through
PostPosted: Thu Aug 09, 2012 12:13 pm 
Offline
Member
Member

Joined: Sun Apr 17, 2011 7:06 pm
Posts: 230
You're thinking of fast switching in your description (e.g. vs CEF).

The simplest description of cut-through is a switch that starts spewing bits egress as soon as it has figured out where to spew them to (I.e. after receiving the first 6B of the frame and finding the dest Mac).

There are variations on this. Fragment free is a variation which doesn't begin forwarding until a sufficient period has elapsed in which a receiving station in the collision domain could have sensed a collision and responded with a jam signal. If a jam signal isn't received in that time period, then it begins forwarding. Some switches may also want to listen past the dest Mac so they can extract other details from the frame than just the dest Mac, which the switch may need for other features.


Top
 Profile  
 
 Post subject: Re: cut-through
PostPosted: Thu Aug 09, 2012 2:28 pm 
Online
Post Whore
Post Whore
User avatar

Joined: Tue Aug 21, 2007 2:15 pm
Posts: 8281
Location: Frederick MD
Certs: Instanity
back to CCNA school for me....

_________________
"If you're good at anticipating the human mind. It leaves nothing to chance."
-Jigsaw


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Reggle and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group