Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seeing higher latency with Lagopus in 64bit mode compared to 32bit #155

Open
1 task
kapiladhikesavalu opened this issue Sep 4, 2019 · 0 comments
Open
1 task

Comments

@kapiladhikesavalu
Copy link

kapiladhikesavalu commented Sep 4, 2019

Issue Type

  • Bug report

Summary

Seeing higher latency with lagopus when using in 64 bit mode. We are seeing latency values around 4 times more when using 64bit lagopus vs 32bit lagopus.

  1. What is the typical latency expected from lagopus switch ?
  2. Also, is there any configurations that can be tried to improve the latency?
  3. There are some ring and burst custom options, will that help?
    --hashtype TYPE: Select hash type for flow cache
    city64 CityHash(64bit) (default)
    intel64 Intel_hash64
    --fifoness MODE: Select FIFOness mode, MODE is one of none, port, or flow
    flow : FIFOness per each flow (default.)
    port : FIFOness per each port.

dsl config used:
channel channel01 create -dst-addr 127.0.0.1 -protocol tcp
controller controller01 create -channel channel01 -role equal -connection-type main
interface interface01 create -type ethernet-dpdk-phy -device "net_pcap0,iface=veth1"
interface interface02 create -type ethernet-dpdk-phy -device "net_pcap1,iface=veth5"
interface interface03 create -type ethernet-dpdk-phy -device "net_pcap2,iface=veth7"
port port300 create -interface interface01
port port301 create -interface interface02
port port302 create -interface interface03
bridge br-switch create -controller controller01 -port port300 300 -port port301 301 -port port302 302 -dpid 0x1

Bug report

(If feature proposal, delete this section)

Expected behavior

Expected lower latency
(What you should see instead)

Actual behavior

higher latency in the range of ms.
(What actually happens)

Environment

(Paste commit hash, OS, Hardware configuration)

Steps to reproduce

(How one can reproduce the issue - this is very important)
(Include make options and/or command line options)

Relevant logs

(Paste any relevant logs - please use code blocks to format console output,
logs, and code as it's very hard to read otherwise.)

(Sample)

Component

(If you know, specify the Lagopus component name which has the bug. Dataplane, datastore, OpenFlow agent...)

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Feature proposal

(If bug report, delete this section)

Proposal

(Function list of proposing feature)

Component

(Specify the Lagopus component name. Dataplane, datastore, OpenFlow agent...)

Links / reference

(If you can, link the pages of related information)

@kapiladhikesavalu kapiladhikesavalu changed the title Seeing higher latency with lagopus when using with pcap device Seeing higher latency with Lagopus Sep 6, 2019
@kapiladhikesavalu kapiladhikesavalu changed the title Seeing higher latency with Lagopus Seeing higher latency with Lagopus in 64bit mode compared to 32bit Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant