[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: Simulating bad network conditions
From:       Mel <fbsd.hackers () rachie ! is-a-geek ! net>
Date:       2009-02-18 18:48:04
Message-ID: 200902180948.04532.fbsd.hackers () rachie ! is-a-geek ! net
[Download RAW message or body]

On Wednesday 18 February 2009 01:39:03 Bruce Cran wrote:

> It seems ALTQ can't delay packets though, so you'd need to use dummynet
> for that.

You can work around it using hfsc's realtime:
hfsc(realtime (0Kb 300 128Kb))
   1.  0Kbit of bandwidth guaranteed for the first 300ms
   2. After 300ms 128Kbit of bandwidth is provided
   3. When using this method, the first value must be 0.

Though, this only works when under pressure. If enough bandwidth is available, 
the delay won't happen.

More info here:
http://www.probsd.net/pf/index.php/Hednod%27s_HFSC_explained

-- 
Mel
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic