Re: pipe dropping lots of packets
- From: Alex Povolotsky <tarkhil@xxxxxxxxxxxxxx>
- Date: Thu, 30 Nov 2006 19:14:58 +0300
Tobias P. Santos wrote:
Hello!
Alex Povolotsky wrote:Hello!
I'm trying to set up FreeBSD-based router, and got troubles with bandwidth limiting. My queues drops lots of packets.
[23:38] gw:~ # ipfw pipe 200 config bw 30mbit/s queue 100
You should use 30Mbit/s (with capital M).
[23:42] gw:~ # ipfw add 600 pipe 200 ip from any to any out via vlan333^^^^^^^^^^^^
00600 pipe 200 ip from any to any out via vlan333
seems to be easy. now
[23:43] gw:~ # ipfw zero
Accounting cleared.
make sure we'll catch packets out of pipe
[23:43] gw:~ # sysctl net.inet.ip.fw.one_pass
net.inet.ip.fw.one_pass: 0
and, waiting a bit
[23:43] gw:~ # ipfw show | grep vlan333
00600 2010 140730 pipe 200 ip from any to any out via vlan333
00700 0 0 allow ip from any to table(1) via vlan333
00710 840 142335 allow ip from table(1) to any via vlan333
whoops! No packets left pipe
part of ipfw pipe list
00200: 30.000 bit/s 0 ms 100 sl. 1 queues (1 buckets) droptail
See, 30 bit/s will drop a lot of packets! ;)
Whooops!!! Thanks.
Alex.
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- References:
- pipe dropping lots of packets
- From: Alex Povolotsky
- Re: pipe dropping lots of packets
- From: Tobias P. Santos
- pipe dropping lots of packets
- Prev by Date: RE: Broadcom (bce) support and POLLING
- Next by Date: RE: Broadcom (bce) support and POLLING
- Previous by thread: Re: pipe dropping lots of packets
- Next by thread: Broadcom (bce) support and POLLING
- Index(es):
Relevant Pages
- IPFW traffic shaping questions
... I have few questions for ipfw gurus.. ... I'm using "ipfw pipe show"
for example but there is always only one host so if I'm testing some rules I can't tell if they work
or not (maybe there is some ... I have tried to add rule for ACK packets - no effect. ...
(freebsd-questions) - Re[2]: dummynet throughput problem
... it was a problem at the upstream which was seeing the packets ... twice
and adding them into the pipe twice because of that. ... HG> where the packets
are going. ... (freebsd-net) - Re: Thoughts for the beech
... but supplying amps That Continue To Flow ... "TRAFFIC SHAPER CONFIGURATION
... The shaper operates by dividing packets into flows according to ... A pipe
emulates a link with given bandwidth, propagation delay, queue ... (alt.sysadmin.recovery) - Re: FreeBSD Traffic Shaping?
... 10.0.0.224/28" (or whatever the appropriate mask is). ... >> acknowledgment
packets that downloading apps need to send back to the ... reserve bandwidth for them
unless you tell it to. ... pipe, ack packets go to the other one. ... (freebsd-questions) - pipe dropping lots of packets
... My queues drops lots of packets. ... make sure we'll catch packets out
of pipe ... last pid: 11209; load averages: 0.52, 0.36, ... (freebsd-net)