Performance loss with dynamic IPFW rules
kes-kes at yandex.ru
Tue Dec 30 20:29:58 UTC 2008
Вы писали 30 декабря 2008 г., 21:47:40:
K> Здравствуйте, Questions.
K> 1 allow all from any to any via rl0
K> 2 allow all from any to any via rl1
K> 109 skipto 110 tcp from any to any 80 in recv $iface #split only http trafic
K> 109 skipto 200 all from any to any #do not split all other trafic
K> 110 check-state
K> 111 prob 0.5 skipto 131 in recv rl2
K> 121 skipto 122 keep-state in recv rl2
K> 123 setfib 0 proto all in recv rl2
K> 125 skipto 150 proto all in recv rl2
K> 131 skipto 132 keep-state in recv rl2
K> 133 setfib 1 proto all in recv rl2
K> 135 skipto 150 proto all in recv rl2
K> I am connected on rl1.
K> INET is rl0, rl1 each 4Mbit/s
K> When I open many connections I get performance loss:
K> 1) Web pages are not opened (it seems flow at start goes through rl0
K> and then goes rl1. EXPECTED: it flows only through one channel until
K> 2) I get about 2Mbit/s while downloading something
K> When I not open many flows I get 8Mbit/s while serfing
K> What is problem?
Also another interesting behaviour.
Packets with FIB 1 are outgoing through rl0 interface, but must out go
via rl1. Why?
KES mailto:kes-kes at yandex.ru
More information about the freebsd-questions