Will netmap-ipfw fwd?

Eduardo Meyer dudu.meyer at gmail.com
Tue Sep 30 16:45:24 UTC 2014


I have a problem, where I need to fwd a high rate of pps, and I dont have
enough CPU. It's around 900Kpps, so I would like to know if ipfw userland
version with netmap support will do fwd?

Here are my current rules:

00100 fwd 10.1.2.1 tag tcp from table(100) to any dst-port 80,1024-65535 in
{ via lagg0 or via vlan1010 }

00200 prob 0.500000 fwd 10.1.2.2 tcp from any 80,1024-65535 to table(100)
in { via igb6 or via igb7 }
00300 fwd 10.1.2.3 tcp from any 80,1024-65535 to table(100) in { via igb6
or via igb7 }

With those rules, my CPU interrupt rate raises from 30% to 80%.

If netmap/ipfw has the ability to fwd should I expect a better interrupt
rate and lower load?

Sorry to ask before actually trying but this is a production environment
and I don't have enough room to test, I would like to read opinions before
finding out a nightly window to do the changes and tests.

Thank you.

-- 
===========
Eduardo Meyer
pessoal: dudu.meyer at gmail.com
profissional: ddm.farmaciap at saude.gov.br


More information about the freebsd-net mailing list