04-22-2014 05:23 AM
Hello,
We are having the following resource configuration on our cisco ACE 4710 appliance with a default license of 1Gbps bandwidth.
lb1/Admin# sh run resource-class
Generating configuration....
resource-class Admin-RC
limit-resource all minimum 15.00 maximum unlimited
resource-class ON-DP-LOADBAL-RC
limit-resource all minimum 15.00 maximum unlimited
resource-class ON-DT-LOADBAL-RC
limit-resource all minimum 2.50 maximum unlimited
resource-class ON-DV-LOADBAL-RC
limit-resource all minimum 2.50 maximum unlimited
resource-class ON-IP-LOADBAL-RC
limit-resource all minimum 5.00 maximum unlimited
resource-class ON-IT-L0ADBAL-RC
limit-resource all minimum 2.50 maximum unlimited
resource-class ON-IV-L0ADBAL-RC
limit-resource all minimum 2.50 maximum unlimited
resource-class application-RC
limit-resource all minimum 15.00 maximum unlimited
resource-class presentation-RC
limit-resource all minimum 15.00 maximum unlimited
resource-class proxyisa-RC
limit-resource all minimum 15.00 maximum unlimited
We are using on resource-class per context.
We have a default license of 1Gbps bandwith and I see that the maximum values displayed by " show resource-usage" does not correspond to 1Gbps license and is higher than excepted:
lb1/Admin# sh resource usage resource rate mgmt-traffic
Allocation
Resource Current Peak Min Max Denied
-------------------------------------------------------------------------------
Context: Admin
mgmt-traffic rate 380 37174 1250000 125000000 0
Context: ON-DP-LOADBAL
mgmt-traffic rate 12912 78063 0 123750000 0
Context: ON-DT-LOADBAL
mgmt-traffic rate 96 52237 0 123750000 0
Context: ON-DV-LOADBAL
mgmt-traffic rate 12818 52436 0 123750000 0
Context: ON-IP-LOADBAL
mgmt-traffic rate 585 3803 0 123750000 0
Context: ON-IT-LOADBAL
mgmt-traffic rate 1418 24836 0 123750000 0
Context: ON-IV-LOADBAL
mgmt-traffic rate 0 6595 0 123750000 0
Context: application
mgmt-traffic rate 5032 25604 0 123750000 0
Context: presentation
mgmt-traffic rate 0 1722 0 123750000 0
Context: proxyisa
mgmt-traffic rate 6379 47712 0 123750000 0
lb1/Admin# sh resource usage resource rate bandwidth
Allocation
Resource Current Peak Min Max Denied
-------------------------------------------------------------------------------
Context: Admin
bandwidth 612 38470 21062500 157187500 0
Context: ON-DP-LOADBAL
bandwidth 25937 31015563 18562500 154687500 721477730
Context: ON-DT-LOADBAL
bandwidth 26233 1211055 3093750 139218750 0
Context: ON-DV-LOADBAL
bandwidth 28805 2817966 3093750 139218750 0
Context: ON-IP-LOADBAL
bandwidth 8554 8260605 6187500 142312500 0
Context: ON-IT-LOADBAL
bandwidth 19460 15493586 3093750 139218750 24624
Context: ON-IV-LOADBAL
bandwidth 14217 1903158 3093750 139218750 0
Context: application
bandwidth 1639524 30963104 18562500 154687500 69357
Context: presentation
bandwidth 0 3509268 18562500 154687500 0
Context: proxyisa
bandwidth 1413487 10366270 18562500 154687500 0
I think that the values in bold should be 125000000 corresponding to 1Gbps if I don't make mistake.
More, if you take the following stats into account for the ON-DP-LOADBAL context, there was denied although the Peak values is smaller than the maximum
Resource Current Peak Min Max Denied
-------------------------------------------------------------------------------
Context: ON-DP-LOADBAL
bandwidth 25937 31015563 18562500 154687500 721477730
Could you please help us to understand it ?
Thanks in advance.
Regards
Frédéric
04-22-2014 07:25 AM
Hi Frederic,
The calculation around resource allocation is not always simple:)
You have many classes and varying minimum allocations which makes it more difficult to calculate but i will give you an example which hopefully explains things clearly.
First of the values that you see above are in bytes and you need to multiply the values by 8 to get bps value.
So if you will multiply 1546875007x 8=1237500000 which is 1gbps.
Now, if you see you have allocated 15% min in 5 contexts and 2.50% in 4 and 5% in one.
So 15% of 1gbps would be 0.15gps and that is minimum reserved out of 1gbps for 5 contexts. Similarly 2.5% reserved for other 4 and 5% for 1. If you add these values 0.9gbps is reserved for all contexts which leaves 0.10gbps for use in global pool.
At the same time, you have "unlimited" for all contexts which means that for every context resource available from global pool would be shared. If you do "show resource usage all" and add peak values i am pretty sure the total would be more than the minimum allocated + available in global pool and that's why you see denies!
Regards,
Kanwal
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