Date: Tue, 30 Dec 2008 22:29:50 +0200 From: KES <kes-kes@yandex.ru> To: KES <kes-kes@yandex.ru> Cc: questions@freebsd.org Subject: Re: Performance loss with dynamic IPFW rules Message-ID: <213016870.20081230222950@yandex.ru> In-Reply-To: <1691697011.20081230214740@yandex.ru> References: <1691697011.20081230214740@yandex.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Здравствуйте, KES. Вы писали 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> closed) 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@yandex.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?213016870.20081230222950>