[OPNFLWJAVA-27] Performance problem - data buffer logging in data path Created: 07/Jul/14  Updated: 03/May/18  Resolved: 08/Jul/14

Status: Resolved
Project: openflowjava
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Jan Medved Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Mac OS
Platform: Macintosh


External issue ID: 1323

 Description   

The method OFDecoder.decode() logs every packet. The packet is translated into string, which kills performance. Log probably log levels and messages are only logged at appropriate levels (which are set to ERROR in performance testing), but the translation of the buffer to string happens before the logger function is entered.

Rather than log, we need a stat, or make sure that the translation only happens when log level is set to debug.



 Comments   
Comment by Michal Polkorab [ 08/Jul/14 ]

Hello,

fix is pushed here: https://git.opendaylight.org/gerrit/#/c/8786/

Michal Polkorab

Generated at Wed Feb 07 20:28:45 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.