06-28-2010 11:52 AM - edited 03-06-2019 11:47 AM
Hello, people..
Here is a silly question that I am amazed I dont have an answer for.
If a router has a 1Gbps LAN connection and all the outbound LAN traffic is heading out the router's serial interface, which is only a T1, how does the router handle the disparity in speeds?
In other words, lets say the router is receiving LAN traffic at a rate of 800 Mbps, and all of it is going out the serial interface, which is only 1.5 Mbps, the router will have to buffer a lot of traffic....right? It may drop a lot of it, correct? Lets imagine no QoS applied, just a vanilla set up.
Thanks
06-28-2010 12:15 PM
If i remember correctly , it will store the packets in the hardware as well as software queues till they fill up and then will start tail dropping. The best was to avoid this to place shaping or policing on the Lan interface , ILF on the external interface. there is a lot that can be done to avoid packet loss and maintain some kind of packet qos. but yes , when the queues get filled up then it will cause tail dropping.
06-28-2010 04:18 PM
So I guess the router's interface buffers will store the data before it can be processed by the routers switching and forwarding engine.
Any other input?
Thanks
06-28-2010 08:57 PM
Hi,
There is basic explanation as below :
Data >> Software queue's (Buffer) >> Hardware queue or Tx ring.
When the data is received in high bandwidth interface and intended go out of slow wan link they are queued in software queue's till the queue is full, then you will experience tail drop in the queue, the packet from queue are then send to Tx ring. Tx ring is the last point from where packet is transmitted on wire. you may tweak the software queueing strategies to meet you requirement. few types of queueing are
FIFO
WFQ
PQ
CQ
LLQ etc.
Also Shaping strategy can be implemented to meet the output rate of the interface.
HTH
Hitesh Vinzoda
Pls rate useful posts.
06-29-2010 02:28 AM
Its not a silly question,
Its how it happens in real world.
You eat one spoon at a time out of ten spoonful food, everything is fine.
If its ten spoonfuls at a time, you wont be able to chew properly, food will drop out of your mouth and the entire process takes more time...-:)
Policing and Shaping are the tools for this purpose.
Policing rate limits the flow to a specified rate either inbound or outbound.
Shaping does the job in the outbound direction.
Shaper would have the so called fancy queueing mechanisms to give importance to flows but again limited based on the size of the queue.
Anything more than the queue can handle will be dropped (tail drop)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide