Traffic Shaping using PF+ALTQ

My company need to control international traffic for hundreds of servers. It is tough for Linux.

My choice is FreeBSD, which is highly configurable and stable, being a network appliance. I can use ALTQ in the pf packet filter to limit traffic, I choose cbq (Class Based Queueing) which is simple enough and a bit efficient than other queueing method.

Everything seems perfect, but I do have some problems.

Problem 1: I need more than 256 Classes, we have 40+ class C network…

Problem 2: My DELL server using Broadcom NetXtreme II NIC (bce), performance is poor because can use only ONE CPU core per port, 8 core CPU doesn’t help. Continue reading