[Freeswitch-users] Looking for Linux tc wizard
Joel Serrano
joel at gogii.net
Sat Sep 3 04:14:41 MSD 2016
Hi Chad,
Jitter & Loss info:
alias jitteron='tc qdisc add dev eth1 root handle 1: netem delay 40ms 20ms
; tc qdisc add dev eth1 parent 1:1 pfifo limit 1000'
alias joff='tc qdisc del dev eth1 root netem'
alias jon='tc qdisc del dev eth1 root netem ; sleep 1; tc qdisc add dev
eth1 root netem delay 200ms reorder 75% gap 1'
alias jon2='tc qdisc del dev eth1 root netem ; sleep 1; tc qdisc add dev
eth1 root netem delay 20ms reorder 10% gap 1'
alias jon3='tc qdisc del dev eth1 root netem ; sleep 1; tc qdisc add dev
eth1 root netem delay 100ms reorder 25% gap 1'
alias jonl='tc qdisc del dev eth1 root netem ; sleep 1; tc qdisc add dev
eth1 root netem loss 15%'
alias jshow='tc qdisc show dev eth1'
alias loss='tc qdisc change dev eth1 root netem loss '
You will have to adapt them to suit your need...
Also, I would have a look at https://freeswitch.org/stash/
projects/FS/repos/freeswitch/browse/support-d/.bashrc
Best,
Joel.
On Fri, Sep 2, 2016 at 4:36 PM, Chad Phillips <chad at apartmentlines.com>
wrote:
> Anybody here a master of the Linux Traffic Control program?
>
> http://lartc.org/manpages/tc.txt
>
> Asking because I have a need for a script that will allow me to simulate
> different types of internet connections (shitty 3G, DSL, wifi, etc), for
> the purposes of quality testing a WebRTC implementation.
>
> I’d like to use tc (and perhaps iptables if that would help) to as closely
> simulate the various conditions (asymmetric bandwidth, packet loss, etc.)
> as possible.
>
> I’m willing to pay for the help, and would be happy to donate the work
> back as open source.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160902/e38d2075/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list