Skip to content

size a netem's queue from its rate and add netem's slot - #254

Merged
emigcm98 merged 1 commit into
mainfrom
feat/tc-limit-slot
Dec 3, 2026
Merged

emigcm98 merged 1 commit into
mainfrom
feat/tc-limit-slot

Conversation

@emigcm98

@emigcm98 emigcm98 commented Dec 3, 2026

Copy link
Copy Markdown
Owner

Description

A netem with a rate and no limit kept netem's own 1000 packets, minutes of queue behind a slow rate. It now gets a queue sized to that rate, with room for what its delay holds and for what waits for a slot, in the pod and in the declaration KubeNDT Meshnet takes alike. The traffic control panel leaves the limit to the platform unless one is typed (0 is automatic).

tcparams.slot is netem's slots (min_delay, max_delay, packets, bytes): what netem holds leaves in bursts, as a radio or Wi-Fi MAC sends. It is in the API and in the panel, and runs in the pod. A netem with a rate that is already declared gets its limit the next time its namespace's links are declared.

Related issues

Closes #

Checklist

  • Scope limited to one logical change
  • API/behavior changes documented in this description
  • Impacted docs updated (README.md, doc/*, or example READMEs)
  • Swagger regenerated if routes/contracts changed
  • Screenshots included for UI changes (if relevant)
  • Lint/format pass locally (golangci-lint run in backend/, npm run format:check in frontend/)

CLA

By submitting this pull request I confirm:

I have read and agree to the KubeNDT CLA (CLA.md).

@emigcm98
emigcm98 merged commit c8cfa42 into main Dec 3, 2026
2 checks passed
@emigcm98
emigcm98 deleted the feat/tc-limit-slot branch December 3, 2026 16:29
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

Successfully merging this pull request may close these issues.

1 participant