Date: Wed, 9 Jan 2008 13:18:15 +0200 From: Guntis Bumburs <guntis@rixtel.com> To: freebsd-pf@freebsd.org Subject: Re: How to set up a queue for each host in the network? Message-ID: <200801091318.16041.guntis@rixtel.com> In-Reply-To: <2e420cc20801081616w7c8c75e5x3091f38a1f59b665@mail.gmail.com> References: <2e420cc20711211559r46d374e6n23f75710415cede2@mail.gmail.com> <2e420cc20801081616w7c8c75e5x3091f38a1f59b665@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 09 January 2008 02:16:43 P Bielecki wrote: > Hi, > Documentation is not clear how many queues you can set up and if it > make sense to create queue for every host in /22 network at all. > pf FAQ doesn't say anything about creating large number of queues and > the way of setting it up. > > I was hoping that configuration with HFSC would solve my issues but it >didn't. > > In altq_cbq.h and altq_hfsc.h it I found > CBQ_MAX_CLASSES 256 > HFSC_MAX_CLASSES 64 > > So, what is the best way to share link in large LAN where users use p2p a >lot? > > -- > Paul > _______________________________________________ > freebsd-pf@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" > Hi, I have seen a lot of similar posts about queues and pf. In PF there is no automagicly creating queues like in IPFW, so there is no other way to do it differently than creating queue for each host. I think that best solution is to use L2 switches where you can set speed limits for each port. Drawback is that you cant set limit less than 1Mbit and borrow from main queue. Good thing is that you can do ARP filtering on same port. In my experience static arp on freebsd is easy to fool. you can change CBQ_MAX_CLASSES to someting bigger but it will limit pf performance -- Best Regards, Guntis
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801091318.16041.guntis>