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

performance optimization: split all the members of dpvs connection into two groups for its initialization. #598

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from

Commits on Aug 3, 2022

  1. ipvs: no need to zero the bytes of the newly allocated dpvs connection.

    - TCP CPS can be increased by 10% for the single core with TCP flood traffic
      sent by hping3.
    zhuangyan committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    c393ca2 View commit details
    Browse the repository at this point in the history
  2. dpvs: split all the members of dpvs connection into two groups for its

    initialization and it's for the benefit of CPS.
    
    a) Remove the operation of bezeroing all the members of dpvs connection within
       dp_vs_conn_alloc().
    
    b) Each member of dpvs connection is initialized ONCE via dp_vs_conn_pre_init()
       or dp_vs_conn_new().
    
      - dp_vs_conn_pre_init() initializes all the members of one group as 0, but
        ack_mbuf.
    
      - dp_vs_conn_new() initializes all the members of the other group with the
        specific values.
    zhuangyan committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    df1460d View commit details
    Browse the repository at this point in the history