不同高中低端ROUTER,其netflow处理性能果然相差很大
低端10000f/s是极限,中端40000f/s,高端60000f/s(且还有simpled这个杀手锏)
因此flow对性能的影响主要集中于当前cache中的active flow数目
用满就是64 x 64000 =4096000
cisco强烈建议保留缺省值,如果必须修改entry值,可能需要先扩容内存
the amount of export data being about 1.5% of the switched traffic in the router.
Flow Counts and PPS
Flow Count |
PPS (即export 多少个UDP包(每个UDP包里含1-30个flow)每秒) 注:业界标准,1GE网口线速为1,488,095pps |
Bps 占用的带宽 |
2,000 |
274 |
|
10,000 |
1394 |
|
45,000 |
6326 |
|
65,000 |
8903 |
28Mbps 65000/8 = 8903,相当于1个export包里有8个flow 8flow的一个UDP包,只400字节足够 8903 x 400字节/包x8 , 约等于 28M bps (注意不能乘1500字节/包,因为1500字节是为30flow一包算的) |
Some significant factors in reducing CPU utilization from the NetFlow process include:
CISCO官方测算的不同sampling比率对CPU利用率的降低比率
CPU Utilization and Sampling Rate for the Cisco 7505 Router
|
|
|
|
|
|
通常sampling 只在大型router 部署,甚至只在72,75,12000上有支持的指令
ip route-cache flow [simpling] (或flow-sampler-map …)
cisco文档的sampled配置:
|
|
flow-sampler-map test1
!
flow-sampler-map test2
interface FastEthernet1/0
!
interface FastEthernet2/0