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

UDP包并发量大的时候测试会有丢包 #988

Open
elegx opened this issue Aug 5, 2024 · 4 comments
Open

UDP包并发量大的时候测试会有丢包 #988

elegx opened this issue Aug 5, 2024 · 4 comments

Comments

@elegx
Copy link

elegx commented Aug 5, 2024

UDP包并发量大的时候测试会有丢包,怎么查看dpvs的性能指标是否达到瓶颈呢?
dpip addr show -s|grep sa 查看,sa_miss是0
dpip link show -s 要关注哪些指标呢?

@ywc689
Copy link
Collaborator

ywc689 commented Aug 28, 2024

DPVS性能可以关注如下几个指标:

  • 流量
  • 每秒包转发数
  • 并发连接数
  • 每秒新建连接数
  • 每秒CPU的loop数

@elegx
Copy link
Author

elegx commented Aug 28, 2024

@elegx 可以细说下吗?
ipvsadm -ln 可以看到活跃和非活跃连接数,udp的请求统计看非活跃连接数是一直涨的,活跃连接数一直是0
ipvsadm -ln --stats 命令可以看到累计的统计数据,包转发数据是指看InPkts和OutPkts相差会不会大吗?这个看指标收发包数确实是相差挺多的,流量的指标指的是InBytes和OutBytes吗?
每秒CPU的loop数怎么查看呀? dpip link show -s cpu 命令吗?怎么查看是否正常还是异常呢?

@ywc689
Copy link
Collaborator

ywc689 commented Aug 30, 2024

ipvsadm -ln --stats 给出的 InPkts 和 OutPkts 没有直接关联,这是两个方向的包数统计。

@elegx
Copy link
Author

elegx commented Aug 30, 2024

@ywc689 那可以细说下要怎么查吗?

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

2 participants