90 likes | 247 Views
FlowOpt 调试手段 多核测试 - 周小康. 流控两种 PCP 配置方式. show icc test 112 查看管道状态 ( 匹配 ) 0 tcp syn_sent(4246092) 189.16.100.7:3133 222.141.53.71:80 ref 1 0(222.141.53.71:80 189.16.100.7:3133 0) LOWOPT_PIPE [FLOWOPT_GetFlowPipeByPkb2163-cpu15]<PipeID=1 ,[ original:GE00-00-02-->GE00-00- 00],down->up> .
E N D
FlowOpt调试手段 多核测试-周小康
流控两种PCP配置方式 • show icc test 112 查看管道状态(匹配) 0 tcp syn_sent(4246092) 189.16.100.7:3133 222.141.53.71:80 ref 1 0(222.141.53.71:80 189.16.100.7:3133 0) LOWOPT_PIPE [FLOWOPT_GetFlowPipeByPkb2163-cpu15]<PipeID=1 ,[original:GE00-00-02-->GE00-00- 00],down->up>
流控两种PCP配置方式 • show icc test 113 查看令牌桶的情况 • ---------------------- • 0 udp established(180) 189.16.100.7:11970 115.55.215.134:13286 ref 3 262878(115.55.215.134:13286 189.16.100.7:11970 96691) • =====Grp(1)=====OK:)== • [0-0x1b249e08]BandWithTargetRefer=11 • FLOWOPT_BWC_DIR_UP: • CIR=(800Kbps) • CBSToTockens=109844149(Max=204800000), Remainder=0(Max=744) LastJiffies=4889907 Unit=50MS PkbPass=4182,PkbDiscard=48 [LastPktToTockens,lLastAddedTockens= (2016129,3840000) ],atBucketRefer= 1 • FlowOptSimpleTockenBucketPkb=0 • There is a rate-table for 800kpbs(3) • FLOWOPT_BWC_DIR_DOWN: • CIR=(800Kbps) • CBSToTockens=204654839(Max=204800000) , Remainder=0(Max=744) LastJiffies=4889914
流控两种PCP配置方式 • show icc test 113 查看令牌桶的情况 • Unit=50MS • PkbPass=3205,PkbDiscard=0 [LastPktToTockens,lLastAddedTockens = (145161,5120000) ],atBucketRefer= 1 • FlowOptSimpleTockenBucketPkb=0 • There is a rate-table for 800kpbs(3) • SessionRateLimit = NULL
流控两种PCP配置方式 • show icc test 114 查看pcp的匹配情况 • 0 tcp syn_sent(4245077) 189.16.100.7:4166 59.175.109.66:8080 ref 1 0(59.175.109.66:8080 189.16.100.7:4166 0) LOWOPT_PIPE • [FLOWOPT_IPBasedPolicyHandle2517-cpu8] [pstPkb=0xceaec680]IpPolicy pcpName=x ,ulAppidentifyId=1004 ,ulQosTag=0
流控两种PCP配置方式 • show icc test 114 查看pcp的匹配情况 • 0 tcp syn_sent(4245077) 189.16.100.7:4166 59.175.109.66:8080 ref 1 0(59.175.109.66:8080 189.16.100.7:4166 0) LOWOPT_PIPE • [FLOWOPT_IPBasedPolicyHandle2517-cpu8] [pstPkb=0xceaec680]IpPolicy pcpName=x ,ulAppidentifyId=1004 ,ulQosTag=0
流控两种PCP配置方式 • show icc test 115 查看应用识别模板匹配结果 • pstAppidentityTargetTemplate=AppForFlowOpt • pstAppidentityTargetTemplate=AppForFlowOpt • pstAppidentityTargetTemplate=AppForFlowOpt
流控两种PCP配置方式 • show icc test 136 查看应用识别的匹配结果 • show icc test 136 para 0 • show icc test 136 para 1 • Show Appidentify Statistic • +---------------Appidentify of Appidentify Statistic all -------------- • packet type Number percent • | Fast2Show-Request/Response: 258 6602 • | In-Appidentify packet : 1604319 • | Out-Appidentify packet : 0 0% • | Do-Identified packet : 984055 61% • | Not-Identified packet : 619317 38% • | Slow Process packet : 29056 1% • | Fast Process packet : 1575263 98% • | normal_server packet : 24370 1% • | P2P packet : 958862 59% • | AudioVideo packet : 391 0% • | IM packet : 432 0% • | Game packet : 0 0%