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

Allow user to specify a static link capacity on mm-link's command line #128

Open
anirudhSK opened this issue Sep 29, 2018 · 2 comments
Open

Comments

@anirudhSK
Copy link
Collaborator

I have been using Mahimahi in a course and we frequently need students to rate limit links to a specific static link capacity (e.g., 1 Mbit/s). It seems unnecessary to create a trace file for this purpose. I am happy to work on this feature myself.

@akshayknarayan
Copy link
Collaborator

btw, @fcancialosi implemented this (--cbr): https://github.com/fcangialosi/mahimahi

@keithw
Copy link
Collaborator

keithw commented Apr 18, 2019

Cool! There is also a clunkier approach available using the mm-rate-to-events script that comes with mahimahi. If you want to make a trace with a continuous 14.7 megabits per second, accurate to 0.01%:

yes 14.7 | ./mahimahi/scripts/mm-rate-to-events | head -n 10000

You can also do this at the command line with an ephemeral trace file:

mm-link <(yes 14.7 | mm-rate-to-events | head -n 10000) <(yes 2.2 | mm-rate-to-events | head -n 10000)

--cbr is definitely a more elegant UI...

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

3 participants