Skip to content
@dpvs

dpvs

DPVS (DATA PLANE VIRTUAL SERVER)

使用dpdk开发的类lvs负载均衡软件

FEATURE

  • synproxy
  • fullnat(tcp/udp)
  • persistent
  • non-blocking concurrent
  • memory pool
  • dpdk
    • multicore framework
    • huge page memory
    • ring buffers
    • poll-mode drivers
    • hardware features support(nss hash/checksum offload/vlan offload)
  • scheduler use alloc
  • support ipvsadm/keepalived

万兆网卡上,不同大小的数据包吞吐量的理论值与实际值

PktSize/byte 64 128 256 512 1024
Theoretical value/Mpps 14.88 8.45 4.53 2.35 1.20
Actual value/Mpps 9.38 8.45 4.53 2.35 1.20

other

一个例子

vs=10.115.57.101:80
rs1=10.115.54.1:80
rs2=10.115.55.1:80
lip1=10.115.42.101
lip2=10.115.42.102

#add virtual service
ipvsadm -A -t $vs -s rr

#edit virtual service
ipvsadm -E -t $vs -s wrr

#add real server
ipvsadm -a -t $vs -r $rs1 -b -w 1
ipvsadm -a -t $vs -r $rs2 -b -w 1

#edit real server
ipvsadm -e -t $vs -r $rs1 -b -w 2

#del real server
ipvsadm -d -t $vs -r $rs1

#add local address
ipvsadm -P -t $vs -z $lip1
ipvsadm -P -t $vs -z $lip2

#del local address
ipvsadm -Q -t $vs -z $lip1

#del virtual service
ipvsadm -D -t $vs

#list lcores information
ipvsadm --info

RESOURCES

Popular repositories Loading

  1. govs govs Public

    Forked from yubo/govs

    This set of packages provide the API for communication with [DPVS](http://git.n.xiaomi.com/dpvs/vs/) from Go.

    Go 3

  2. ip_vs_ca ip_vs_ca Public

    Forked from yubo/ip_vs_ca

    single kernel module for alibaba LVS/FULLNAT

    C

  3. .github .github Public

Repositories

Showing 3 of 3 repositories
  • .github Public
    dpvs/.github’s past year of commit activity
    0 0 0 0 Updated Apr 28, 2022
  • ip_vs_ca Public Forked from yubo/ip_vs_ca

    single kernel module for alibaba LVS/FULLNAT

    dpvs/ip_vs_ca’s past year of commit activity
    C 0 BSD-3-Clause 28 0 0 Updated Aug 23, 2019
  • govs Public Forked from yubo/govs

    This set of packages provide the API for communication with [DPVS](http://git.n.xiaomi.com/dpvs/vs/) from Go.

    dpvs/govs’s past year of commit activity
    Go 0 6 0 0 Updated Jan 23, 2018

Top languages

Loading…

Most used topics

Loading…