Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-1927

Run Cbench on a Single node in multi Instance Bare Metal ONOS cluster

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:

      Description

      Make Cbench test run on a Single node in a multi instance Bare Metal servers ONOS cluster environment. This could be a new variation of test in addition to an already existing single node Cbench test that runs on a single Proxmox container. This way we could track two completely different types of results.

      Requirements:
      1) install Cbench on BM-ONOS1
      2) Start multi instance BM ONOS cluster.
      3) Write a new TestON script or utilize simple bash script similar to the one that runs on pmxeon3 container to trigger the Cbench script.
      4) set Jenkins job to run nightly;
      5) summarize a tracking result and post it on new wiki page (check with Suibin if this wiki page should be internal or external)

      Tests to run:
      ##########
      1) LATENCY MODE (FWD MODULE ENABLED)
      ********************************************************
      cbench -c <BM-ONOS1 ip> -p 6633 -m 1000 -l 20 -s 16 -M 100000 -w 10

      2) THROUGHPUT MODE (FWD MODULE ENABLED)
      ********************************************************
      cbench -c <BM-ONOS1 ip> -p 6633 -m 1000 -l 20 -s 16 -M 100000 -w 10 -t

      3) LATENCY MODE (IFWD MODULE ENABLED)
      ********************************************************
      cbench -c <BM-ONOS1 ip> -p 6633 -m 1000 -l 20 -s 16 -M 100000 -w 10

      4) THROUGHPUT MODE (IFWD MODULE ENABLED)
      ********************************************************
      cbench -c <BM-ONOS1 ip> -p 6633 -m 1000 -l 20 -s 16 -M 100000 -w 10 -t

      ###############################################
      Steps for CBENCH Install on BM-ONOS1
      ###########################################

      latest OF: git clone git://openflowswitch.org/openflow.git (if needed)

      sudo apt-get install flex bison
      sudo apt-get install build-essential g++
      sudo apt-get install pkg-config
      sudo apt-get install autoconf automake libtool libsnmp-dev libpcap-dev
      $ git clone git://gitosis.stanford.edu/oflops.git
      $ cd oflops; git submodule init && git submodule update

      $ git clone git://gitosis.stanford.edu/openflow.git
      $ cd openflow; git checkout -b release/1.0.0 remotes/origin/release/1.0.0
      <<<you could use git clone git://openflowswitch.org/openflow.git for latest OF and skip above two steps. But not sure
      if we need to do this right now in your test until we get the basic 1.0 test working>>>

      $ wget http://hyperrealm.com/libconfig/libconfig-1.4.9.tar.gz
      $ tar -xvzf libcon fig-1.4.9.tar.gz
      $ cd libconfig-1.4.9
      $ ./con figure
      $ sudo make && sudo make install (if error sudo make clean and install)
      $ cd ../../netfpga-packet-generator-c-library/
      $ sudo ./autogen.sh && sudo ./confi gure && sudo make
      $ cd ..
      $ sh ./boot.sh ; ./configure --with-openflow-src-dir=<absolute path to openflow branch>; make
      $ sudo make install
      $ cd cbench

        Attachments

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

          Activity

            People

            Assignee:
            camfranke Cameron Franke
            Reporter:
            suibin suibin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: