cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
20110
Views
0
Helpful
4
Replies

Rx and Tx buffers

igorkvaso
Level 1
Level 1

Hi,

could you please explain me, what is the purpose of Rx and Tx buffers? I am googling it for quite a while with no much sucess

as far as I understand, there are 2 types of buffers: SW buffers and HW buffers (Rx and Tx buffers)

packet is put into Tx buffer when it came from SW buffer and is about to be serialised on the link

but I have got no idea what are Rx buffers good for....

also my second question: are Tx and Rx buffers only on routers or switches have them as well?

thanks a lot

4 Replies 4

rais
Level 7
Level 7

Transmit and Receive buffers are memory spaces allocated by a router or a switch to handle traffic bursts.

For example, traffic burst could be: all ports trying to send data to a single uplink port on a router/switch. When incoming/outgoing traffic exceeds physical capacity of a switch/router, buffering comes into action. Otherwise data would be dropped. Usually Tx/Rx buffers are implemented using a pool of [shared] memory.

HTH.

the practical consequence of packet bursts are, that:

Rx buffers are used when CPU is overloaded and cannot process any more packets, so new incoming packets are put into Rx buffer?

my question is more like: when is packet put into Rx or Tx buffer?

thanks

Take a look to the next link which answers your question

http://wiki.nil.com/Queuing_Principles_in_Cisco_IOS#Where_to_queue

Hope that helps

Vasilis

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.

Liability Disclaimer

In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.

Posting

Generally they are "special" queues to deal with packets/frames arriving on an interface or waiting to be transmitted on an interface.  What's "special" about them is they often have special hardware support to insure a packet/frame is processed within the real-time requirements of the interface.  Even something as "simple" as the console's serial port generally has special receive/transmit buffers, although for single characters.