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  [ 10 posts ] 
Author Message
 Post subject: shaping queue
PostPosted: Mon Mar 12, 2012 6:08 pm 
Offline
Member
Member

Joined: Sat May 31, 2008 2:25 pm
Posts: 202
Location: Ankara, turkey
Hi.

how many shaping queues exist on a router? in the book, the author mentioned that there must be 2 shaping queues; i know the first might be WFQ queue. but what is another one? and if we can use LLQ in shaping scenario, does LLQ replaces with original WFQ? ... I'm a bit confused about shaping!!

_________________
ciscoworlds.com
timaz mohsenzadeh


Top
 Profile  
 
 Post subject: Re: shaping queue
PostPosted: Mon Mar 12, 2012 6:12 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Thu Apr 17, 2008 6:44 pm
Posts: 6048
Location: Perth, WA
Certs: CCNA
I thought the most common queuing was FIFO.

_________________
- Pete


Top
 Profile  
 
 Post subject: Re: shaping queue
PostPosted: Mon Mar 12, 2012 6:18 pm 
Offline
Member
Member

Joined: Sat May 31, 2008 2:25 pm
Posts: 202
Location: Ankara, turkey
Project2501 wrote:
I thought the most common queuing was FIFO.


I read about shaping queue. but for clarity, i need more obvious answer. maybe one of the queues is FIFO and another is WFQ. am I right?

_________________
ciscoworlds.com
timaz mohsenzadeh


Top
 Profile  
 
 Post subject: Re: shaping queue
PostPosted: Mon Mar 12, 2012 6:23 pm 
Offline
Post Whore
Post Whore
User avatar

Joined: Thu Apr 17, 2008 6:44 pm
Posts: 6048
Location: Perth, WA
Certs: CCNA
Well... FIFO isn't a shaping queue it's just how packets are handling normally but it's still a queue.

_________________
- Pete


Top
 Profile  
 
 Post subject: Re: shaping queue
PostPosted: Mon Mar 12, 2012 6:40 pm 
Online
Post Whore
Post Whore
User avatar

Joined: Mon Feb 08, 2010 9:30 am
Posts: 1172
Location: Santiago, Chile
Certs: CCENT, CCNA,CCNP Route
For serials the default is WFQ. Ethernet defaults to FIFO.


Top
 Profile  
 
 Post subject: Re: shaping queue
PostPosted: Tue Mar 13, 2012 5:22 pm 
Offline
Member
Member

Joined: Sat May 31, 2008 2:25 pm
Posts: 202
Location: Ankara, turkey
I've got no correct and obvious answer yet!

_________________
ciscoworlds.com
timaz mohsenzadeh


Top
 Profile  
 
 Post subject: Re: shaping queue
PostPosted: Wed Mar 14, 2012 12:19 pm 
Online
Post Whore
Post Whore
User avatar

Joined: Mon Feb 08, 2010 9:30 am
Posts: 1172
Location: Santiago, Chile
Certs: CCENT, CCNA,CCNP Route
Shaping is one thing and queueing is another thing, so shaping queues make no sense. WFQ is a type of queueing, and LLQ is anothe type of queueing.

If you configure traffic shape the traffic can be delayed in a buffer, may be you are refererring to this buffer?


Top
 Profile  
 
 Post subject: Re: shaping queue
PostPosted: Tue Mar 20, 2012 8:35 pm 
Offline
Post Whore
Post Whore

Joined: Sat Jun 07, 2008 11:06 am
Posts: 2553
Location: Grand Rapids, MI
Certs: CCNP, CCDP
Most routers have a single hardware queue (aka a ring buffer) that holds the next packet to be sent. I'm not certain if there are routers that have two hardware queues, but it seems possible.

If you configure any sort of queuing and/or shaping, you'll have multiple software queues that will be used to buffer the packets so that the software can use a QoS policy to decide from which queue to draw from to refill the ring buffer. The number '2' doesn't play a role here.

On a switch, the queues aren't as flexible. You're generally limited to 4 queues (such as 1p3q == 1 priority queue and 3 general purpose queues).


Top
 Profile  
 
 Post subject: Re: shaping queue
PostPosted: Wed Mar 21, 2012 8:34 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Tue Aug 21, 2007 2:15 pm
Posts: 8288
Location: Frederick MD
Certs: Instanity
Fred wrote:
I'm not certain if there are routers that have two hardware queues, but it seems possible.




don't think so, at least not that i've read about.

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


Top
 Profile  
 
 Post subject: Re: shaping queue
PostPosted: Wed Apr 25, 2012 11:02 am 
Offline
Member
Member

Joined: Sat May 31, 2008 2:25 pm
Posts: 202
Location: Ankara, turkey
finally, I found the answer from "QoS cert guide, by Cisco press"; that's the answer if you are interested in:

you know that there are 2 kind of queses : software queses (like LLQ, CBWFQ) and hardware (tx) queue. first point is that there is always 1 hardware queue (which is called TX queue too). when shaping is enabled, "a single special kind of queue, named Shaping Queue, is created between software queues and TX queue. this Shaping queue is using FIFO.
just another situation exists that will make router to create another kind of Shaping Queue, called "Dual FIFO" queue and that occurs when we use FRF.12 (which makes fragmentation possible) on the interface. in this situation, instead of "Single FIFO software Shaping Queue", we will have "Dual FIFO" queue. first queue inside this "Dual FIFO" queue, will accept packets sent by LLQ and the second one inside this "Dual FIFO" queue will accept fragments of other packets sent by non-LLQ queues. I hope this help you all ;)

_________________
ciscoworlds.com
timaz mohsenzadeh


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

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Carlitos_30, davidrothera, Exabot [Bot], srg and 26 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