Re: lots of network interfaces

2013-03-08 Thread Wojciech Puchar
i am asking for ca 800 tun(4) interfaces active but no more than 250Mbit/s over them total. Do you hit CPU limits at that point? i am not because i don't do this now, and ask BEFORE planning. Adrian ___ freebsd-hackers@freebsd.org mailing lis

Re: lots of network interfaces

2013-03-08 Thread Lev Serebryakov
Hello, Wojciech. You wrote 8 марта 2013 г., 20:14:59: WP> i am not because i don't do this now, and ask BEFORE planning. I know ISP, who uses FreeBSD with mpd5 as BRAS for PPPoE. They uses ngX, not tunX, but as far as I understand, their systems has thousands such interfaces (~2500 per machin

Re: lots of network interfaces

2013-03-08 Thread Wojciech Puchar
You wrote 8 ? 2013 ?., 20:14:59: WP> i am not because i don't do this now, and ask BEFORE planning. I know ISP, who uses FreeBSD with mpd5 as BRAS for PPPoE. They uses exactly what i want, just with vtun. So it will go fine. thank you. ___ free

Re: lots of network interfaces

2013-03-08 Thread Lowell Gilbert
writes: > I decided to stress-test the netgraph(4) subsystem one day and was able to > create 65530 interfaces before it produced an error, refusing to create > another. > > At that point, the system was still usable, but... > > It took over an hour for ifconfig to list all the interfaces. Simpl

Re: lots of network interfaces

2013-03-08 Thread Wojciech Puchar
very usable at that point, ifconfig aside). The interfaces are a linked list, plus there's a separate kernel dive for each interface. The list (as opposed to individual interfaces) is i don't care how fast ifconfig displays them, just for how fast things like routing or ipfw rule like "via t