hello,
i'm trying to limit my input traffic bandwidth on freebsd. i used ipfw+dummynet. without limitation, i have almost 1Gbit/s input traffic on my system. when i try to limit the bandwidth, it works fine on low to normal limitation number (up to 450 Mbit/s).
but when i limit my traffic to an amount bigger than 500MBit/s, my input traffic lowers down to average of 430 MBit/s. no matter what limitations i set(from 500MBit/s to 1000MBit/s) my input traffic rate is getting stucked at 430MBit/s.
i suspected low hardware performance, so i tried this on 2 different systems with freebsd-8.0 and the result is exactly the same.
my ipfw rules are:
so my question is:
1- is ipfw+dummynet traffic limit control, has performance problem that cannot limit traffic correctly if limitation number is bigger than 500MBit/s?
2- is there any other way (other than ipfw+dummynet) to limit input bandwidth in freebsd?
thank you.
i'm trying to limit my input traffic bandwidth on freebsd. i used ipfw+dummynet. without limitation, i have almost 1Gbit/s input traffic on my system. when i try to limit the bandwidth, it works fine on low to normal limitation number (up to 450 Mbit/s).
but when i limit my traffic to an amount bigger than 500MBit/s, my input traffic lowers down to average of 430 MBit/s. no matter what limitations i set(from 500MBit/s to 1000MBit/s) my input traffic rate is getting stucked at 430MBit/s.
i suspected low hardware performance, so i tried this on 2 different systems with freebsd-8.0 and the result is exactly the same.
my ipfw rules are:
Code:
ipfw -q flush
ipfw -q add 500 set 1 pipe 1 all from any to any in
ipfw pipe 1 config bw 700Mbit/s
ipfw add 1000 allow all from any to any
so my question is:
1- is ipfw+dummynet traffic limit control, has performance problem that cannot limit traffic correctly if limitation number is bigger than 500MBit/s?
2- is there any other way (other than ipfw+dummynet) to limit input bandwidth in freebsd?
thank you.