GithubHelp home page GithubHelp logo

DPVS performance evaluation about dpvs HOT 12 CLOSED

iqiyi avatar iqiyi commented on July 17, 2024
DPVS performance evaluation

from dpvs.

Comments (12)

ywc689 avatar ywc689 commented on July 17, 2024 1

ipvsadm -ln --rate is not supported by dpvs yet. You can try something like this dpip link -s show dpdk0 i 3 -C to get PPS of specified device.

from dpvs.

beacer avatar beacer commented on July 17, 2024

We use HTTP clients (wrk) and servers (nginx) to test, clients <-> dpvs <-> servers.
All machines (clients/servers/dpvs) are physical machines,

  • OS: CentOS 7.2.
  • Kernel: 3.10.0-327.el7.x86_64
  • CPU: Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz
  • NICs: Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 (rev 03)

When test, we have 5 HTTP clients running wrk and another 5 for Nginx. The kernel sysctl parameter and IRQ affinity must be optimized on clients and servers.

        location / {
                default_type text/plain;
                return 200 "hello\n";
        }

For DPVS setting, pls refer: https://github.com/iqiyi/dpvs/blob/master/doc/tutorial.md .

from dpvs.

lapnd avatar lapnd commented on July 17, 2024

Thank Lei,
I'm able to set up the test. However, the client app wrk report Requests/sec and Transfer/sec, how did you translate them to packet per second?
And from your test report, with 07 cores, DPVS can reach to ~14Mpps with packet size = 64 bytes, it's line rate for 10G NIC! .
Is it ok to say that we can get line rate (packet size = 64 bytes) with DPVS (using 7 cores)?
Thank you!

from dpvs.

beacer avatar beacer commented on July 17, 2024

We calculate pps by dpip link show command. When we test, the avg packet size is 98B instead of 64B, because we are useing wrk to test HTTP request/response,and disable "keepalive" on Nginx. When using 7 cores we get the line-rate for 10G NIC (with 98B).

from dpvs.

lapnd avatar lapnd commented on July 17, 2024

Thank you for your explanation!

from dpvs.

tiepnv-viosoft avatar tiepnv-viosoft commented on July 17, 2024

Hi beacer,
Could you let me know which mode did you use to do Performance Test?

Thanks,

from dpvs.

beacer avatar beacer commented on July 17, 2024

@tiepnv-viosoft FNAT mode.

from dpvs.

tiepnv-viosoft avatar tiepnv-viosoft commented on July 17, 2024

Thank you for your reply,
Is it the FNAT_1arm?

from dpvs.

beacer avatar beacer commented on July 17, 2024

Both one-arm and two arm are tested, the data in README.md is two-arm.

from dpvs.

tiepnv-viosoft avatar tiepnv-viosoft commented on July 17, 2024

Thank you very much for your support!

from dpvs.

tiepnv-viosoft avatar tiepnv-viosoft commented on July 17, 2024

Hi beacer,
As you said that:

We calculate pps by dpip link show command

Could you explain me specifically how to get pps parameter in dpvs? And is your Performance Test result is calculated based on Tx or Rx?
I also ran ipvsadm -ln --rate and dpip link -s show but they didn't show any expected output.

I look forward to receiving your help soon.
Thanks,

from dpvs.

tiepnv-viosoft avatar tiepnv-viosoft commented on July 17, 2024

Thank you very much!

from dpvs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.