OpenFlowPlugin and OFJ Packet_In and FlowMod Statistics

asked 2015-04-01 00:32:02 -0700

Sania gravatar image

Hi,

I'm trying to get PacketIn and FlowMod statistics at different points in OFJ (OpenFlow Protocol Library) and OpenFlowPlugin. I'm using jconsole MBeans to get these stats. OpenflowPlugin uses MessageSpyCounterImp.java for collecting the number of packets it recieves/returns from/to OFJ. Similary OFJ has a mechanism for collecting the number of packets it receives from the switch and sends to OpenFlowPlugin and vise versa. In OFJ, USRECEIVEDINOFJAVA = messages received from switch and USMESSAGEPASS = messages handed over to openflowplugin. I print these two numbers at different time intervals, and at first time I notice a small difference and USRECEIVEDINOFJAVA > USMESSAGEPASS and at a later time these two numbers become equal. According to my understanding, these numbers are accumulative (because they keep on increasing) so if at one point USRECEIVEDINOFJAVA > USMESSAGEPASS then it should always remain so, right? If anyone has used these stat-collections and has a better understanding of what these (and others in the list below) numbers represent, please explain! And how accurate are each set of these stats because they seem contradictory?

Stats from OFJ:
DSENCODEFAIL: +0 | 0
DSENCODESUCCESS: +16704 | 558061931
DSENTEREDOFJAVA: +16704 | 558062448
DSFLOWMODSENTERED: +16448 | 554026663 //FlowMods picked up from OpenFlowPlugin
DS
FLOWMODSSENT: +16448 | 554026330 //sent to switch
USDECODEFAIL: +0 | 0
USDECODESUCCESS: +16448 | 554162454
USMESSAGEPASS: +16448 | 554162454 //messages handed over to openflowplugin
USRECEIVEDIN_OFJAVA: +16448 | 554162454 //messages received from switch

Stats from OpenFlowPlugin:
Wed 2015.04.01 at 11:46:39 AM PKT
FROMSWITCHENQUEUED: MSG[PacketInMessage] -> +313936 | 554028196
FROMSWITCHENQUEUED: MSG[GetFeaturesOutput] -> +64 | 45177
FROMSWITCHENQUEUED: MSG[NotificationQueueWrapper] -> +128 | 90290
FROMSWITCHENQUEUED: MSG[MultipartReplyMessage] -> +64 | 45177
FROMSWITCHTRANSLATEINSUCCESS: MSG[PacketInMessage] -> +313936 | 554028196
FROMSWITCHTRANSLATEINSUCCESS: MSG[GetFeaturesOutput] -> +64 | 45177
FROMSWITCHTRANSLATEINSUCCESS: MSG[NotificationQueueWrapper] -> +128 | 90290
FROMSWITCHTRANSLATEINSUCCESS: MSG[MultipartReplyMessage] -> +64 | 45177
FROMSWITCHTRANSLATEOUTSUCCESS: MSG[NodeUpdated] -> +128 | 90354
FROMSWITCHTRANSLATEOUTSUCCESS: MSG[PacketReceived] -> +313936 | 554028196
FROMSWITCHTRANSLATEOUTSUCCESS: MSG[NodeRemoved] -> +64 | 45113
FROMSWITCHTRANSLATEOUTSUCCESS: MSG[NodeConnectorUpdated] -> +256 | 180708
FROMSWITCHTRANSLATESRCFAILURE: no activity detected
FROMSWITCHPUBLISHEDSUCCESS: MSG[NodeUpdated] -> +128 | 90354
FROM
SWITCHPUBLISHEDSUCCESS: MSG[PacketReceived] -> +313936 | 554028196
FROMSWITCHPUBLISHEDSUCCESS: MSG[NodeRemoved] -> +64 | 45113
FROM
SWITCHPUBLISHEDSUCCESS: MSG[NodeConnectorUpdated] -> +256 | 180708
FROMSWITCHPUBLISHEDFAILURE: no activity detected
TO
SWITCHENQUEUEDSUCCESS: MSG[GetMeterFeaturesInput] -> +64 | 45177
TOSWITCHENQUEUEDSUCCESS: MSG[AddFlowInput] -> +313936 | 554028075
TO
SWITCHENQUEUEDSUCCESS: MSG[SetConfigInput] -> +64 | 45177
TOSWITCHENQUEUEDSUCCESS: MSG[GetGroupFeaturesInput] -> +64 | 45177
TO
SWITCHENQUEUEDFAILED: no activity detected
TOSWITCHSUBMITTEDSUCCESS: MSG[AddFlowInput] -> +313936 | 554028007
TO
SWITCHSUBMITTEDFAILURE: no activity detected

Additional Information:
I'm running CBench in a loop in latency mode.
I get these numbers after running CBench with controller for over 12 hours.
Stats ... (more)

edit retag flag offensive close merge delete