Uploaded image for project: 'OpenFlowPlugin'
  1. OpenFlowPlugin
  2. OPNFLWPLUG-119

cbench in throughput mode causes the controller to run out of memory

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • General
    • None
    • Operating System: Mac OS
      Platform: Macintosh

    • 803

    Description

      When cbench is run with parameters as show below, the OldGen space takes all available memory and nothing is left for the heap. The parameters are:

      > cbench -c 192.168.162.1 -p 6633 -m 10000 -l 13 -w 3 -M 100000 -t -i 50 -I 5 -s 10

      The controller is run in the RPC loopback mode. From the OSGI console, type:

      > dropAllPacketsRpc on

      Also make sure that the Simple Forwarding and Arp Handler bundles are deactivated (deleted from the plugins folder) before running the test.

      It was observed that after about 6 iterations of a cbench run the flow setup rate decreased considerably. The attached Yourkit profiler showed that the OldGen space consumed all available memory and nothing was left for heap. Eventually, the controller stopped functioning.

      Note that this bug is not happening when cbench is run in latency mode, where there is a backpressure (i.e. cbench does not send out a new packet in until a response from the controller is received). This means that there is probably a queue somewhere that fills up and is never freed.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              michal.rehak Michal Rehak
              jmedved@cisco.com Jan Medved
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: