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

"blade create network delay " should consider "limit" parameter of TC #1080

Open
xirs opened this issue Nov 8, 2024 · 1 comment
Open

"blade create network delay " should consider "limit" parameter of TC #1080

xirs opened this issue Nov 8, 2024 · 1 comment

Comments

@xirs
Copy link

xirs commented Nov 8, 2024

Issue Description

"blade create network delay " should consider "limit" parameter of TC

Describe what happened (or what feature you want)

we found when using "blade create network delay" at a higher busy net environment, packets are lost

Describe what you expected to happen

please refer "limit" paramter of TC

  1. https://man7.org/linux/man-pages/man8/tc-netem.8.html
  2. https://stackoverflow.com/questions/18792347/what-does-option-limit-in-tc-netem-mean-and-do

I think it should adjust limit paramter:

for a 1 Gbps link, 1 Gbps / 1500 bytes MTU * 100 ms * 1.5 = 12500.

Command:

sudo tc qdisc add dev eth1 root netem limit 12500 delay 100ms loss 1%

How to reproduce it (as minimally and precisely as possible)

Tell us your environment

Anything else we need to know?

@spencercjh
Copy link
Contributor

Can you provide more detailed info about tc delay causing packet loss on the network?

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