Cisco Hierarchical Queuing Framework

Hierarchical Queuing Framework has the default queue size of 80 (fair-queue queue-limit command).. the question is how does this queue size vary based on the mpls port BW... is there any association that tells how the queue size should vary w/ port size?
totaramAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

surbabu140977Commented:
Fair queue?? MPLS ports generally terminate at ethernet or high speed ports. Fair queue is applicable only for ports whose capacity/bandwidth is <2Mb. For anything greater than 2mb speed default queueing is FIFO.

Although you can use fair-queue in high capacity ports, it's not recommended. (except qos)

For each interface the queue length in cisco can be 0 - 4096 max. However this is guided by the amount of memory you have in the hardware.

In HQF, when you enable fair queuing, the default per-flow queue limit is ¼ of the class queue limit. If you do not enable the queue limit in a class, the default per-flow queue limit is 16 packets (1/4 of 64).

Best,
0
totaramAuthor Commented:
I am not very conversant w/ fair queue... can you please let me know the link which advises on what type to use based on BW... how do we set it to FIFO..

Also, my thought was that the default queue limit was 80,, is it 64 ?
0
surbabu140977Commented:
You do not need to set fair queue or fifo in any interface. Any interface <2mb uses fair-queue by default and >2mb interfaces uses fifo by default.

The other option is in the QoS. In the policy map you define fair-queue.

I believe you are asking specifically about the QoS Hierarchical Queueing. It's a different story then.  If you need help in developing or tuning any particular QoS, please paste it here. Answers would be more specific.
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

totaramAuthor Commented:
Yes.. I want to know more on QoS Hierarchical Queuing. Below is the config that I am looking at:

 class class-default
    fair-queue
    fair-queue queue-limit 120
policy-map vpn_<policy-map>
 class class-default
    shape average 50000000 960000
    service-policy <vpn_output_policy>
!
0
surbabu140977Commented:
I hope you understand that in a thread it's not possible to explain up something like QoS, even if anyone tries it will sound more hebrew. The only way would be to read and try understanding. I am not sure how much it will be of help to you, but following link has the materials you are looking for.

http://www.cisco.com/en/US/docs/ios/qos/configuration/guide/qos_frhqf_support.html

I believe it will take you several hours of reading if you really want to understand the meaning of the simple block which you have pasted.

Best,
0
totaramAuthor Commented:
Surbabu;
All I wanted to know if there is any cisco association for the fair Queue depth and the size of the MPLS port.. how should the queue depth increase or decrease w/ increase in port size (say from 50M to 80M)? Is it trail and error or linear etc.
0
surbabu140977Commented:
ok, in lieu of whatever you pasted it has got NO relation with MPLS or non-MPLS. It is a generic HQF statement and is transparent of the technology (MPLS/non-mpls) i.e you can apply it to any interface irrespective of what it's running. (except frame relay).

queue-limit is 4096 in cisco ios and it's fixed. If you type " fair-queue queue-limit  ?" you should see max size is 4096.  Depending on your HQF requirement you type the value e.g here 120. These values will affect your performance.

Best,
0
totaramAuthor Commented:
queue-limit is 4096 in cisco ios and it's fixed. If you type " fair-queue queue-limit  ?" you should see max size is 4096.  Depending on your HQF requirement you type the value e.g here 120. These values will affect your performance.

Yes, this is the point I want to discuss, the default is 64, max is 4096.... if not explicitly described, it takes on 1/4 of the default.. I get all of it, but how it varies with the traffic flow, is still unknown.. do you know of any cisco web pages, articles, discussions that talk of it?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
surbabu140977Commented:
How does it vary? If default is 64 it will be 64 always unless you define explicitely. Are you asking what are the basis to choose it to another value?
0
totaramAuthor Commented:
yes sir.. does this increase w/ the higher throughput, if yes, by how much..
say port is increased by 10M, should fair queue increase by 5, or 10????
0
surbabu140977Commented:
Oh no no......absolutely NO.

This value is a part of QoS design. The person who is designing the QoS can put this value to e.g 100. But I can achieve it with 50 and someone will achieve the same result without using fair-queue value at all.

This value is directly related to your QoS performance and need not be necessarily increased/decreased with speed/bandwidth. It has got no effect on your speed/throughput.  It only affects your QoS and subsequent packet flow.

I would suggest do not touch this, unless you know what you are doing.
0
totaramAuthor Commented:
Well Surbabu; what if we are starting afresh.. how do we assign a figure to this paramter?
0
surbabu140977Commented:
You need to tell us exactly what you are looking for and why. Probably the way you are thinking is not right, we can offer a better way.

Fair-queue has got virtually no role now a days and does not affect anything.

shape average 50000000 960000---> 960000 is not suppose to be typed there. It's auto calculated.
0
totaramAuthor Commented:
Surbabu;
Are you located in US by any chance? I was wondering if I can call you sometime...
0
surbabu140977Commented:
You can mail me at sur_babu@yahoo.com, I can provide you my US number.

Best,
0
totaramAuthor Commented:
Thanks for your help..
0
totaramAuthor Commented:
Thanks..
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.