Forum Discussion
Angelo
Nimbostratus
Feb 27, 2013Rate Shaping
Hi
I'm cutting over a VS from ZXTM (zeus traffic manager) to F5 but there is something i don't understand. there is a rule for rate shaping on there basically certain IP range (10.200.0.0/24) are rate limited to
max_rate_per_minute =360
max_rate_per_second: 6
is this possible on the F5
12 Replies
- Angelo
Nimbostratus
i set a rate limit but in bandwidth 3600Kbs with a irule but i need to know if it will work...
when CLIENT_ACCEPTED {
if { [class match [IP::client_addr] equals SmartWizard_rate_limit] } {
log local0. "[IP::client_addr] being handled by rateclass class1"
rateclass Class1
}
} - nitass
Employee
isn't it number of requests?
max_rate_per_minute
The maximum number of requests that can take place per minute. ‘0’ means ‘no limit’.
max_rate_per_second
The maximum number of requests that can take place per second. ‘0’ means no limit.
Stingray Traffic Manager User Manual User ManualUser Manual
Version 9.1 December 2012 - Angelo
Nimbostratus
thanks Niass
one thing i'm getting this error on my irule
TCL error: /Smart_Wizard/SmartWizard_rate_limit - undefined reference to rate class 'Class1' (line 3) invoked from within "rateclass Class1" - Angelo
Nimbostratus
Hi Niass
Yes it is number of reques... - Angelo
Nimbostratus
Hi Niass
Yes it is number of reques... - Angelo
Nimbostratus
And doesn't look like the rate shapeing is working... - nitass
Employee
And doesn't look like the rate shapeing is working...i do not think rate shaping counts number of requests/connections.
i think you may have to do something like this.
virtual server connection rate limit with tables by Aaron
https://devcentral.f5.com/wiki/iRules.virtual_server_connection_rate_limit_with_tables.ashx - Angelo
Nimbostratus
well i decided to rate shape them to 512 only thing i could think of but i don't know if it's working... - What_Lies_Bene1
Cirrostratus
Nitass, does the VS need to have a least one Rate Class applied in order for this to work? - nitass
Employee
does the VS need to have a least one Rate Class applied in order for this to work?i do not think it is required.[root@ve10:Active] config b virtual bar list virtual bar { snat automap pool gw destination any:any mask 0.0.0.0 rules myrule } [root@ve10:Active] config b rule myrule list rule myrule { when CLIENT_ACCEPTED { rateclass class1 } } [root@ve10:Active] config b rate class class1 list rate class class1 { rate 296bps ceiling 296bps drop policy tail type sfq } [root@ve10:Active] config b rate class class1 RATE CLASS class1 | limits (base, ceiling, burst) = (296bps, 296bps, 0B) | bytes (base, burst, queue) = (786, 0, 2346) | drops (pkts, bytes) tail = (0, 0), random = (0, 0), total = (0, 0) | 4s avg = 10Bps
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
