Date: Sun, 06 Jul 2008 18:13:26 +1000 From: Andrew Snow <andrew@modulus.org> To: freebsd-net@freebsd.org Subject: Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp] Message-ID: <48707EA6.2020506@modulus.org> In-Reply-To: <48704E15.1070803@elischer.org> References: <4867420D.7090406@gtcomm.net> <ea7b9c170806302005n2a66f592h2127f87a0ba2c6d2@mail.gmail.com><20080701033117.GH83626@cdnetworks.co.kr><ea7b9c170806302050p2a3a5480t29923a4ac2d7c852@mail.gmail.com><4869ACFC.5020205@gtcomm.net> <4869B025.9080006@gtcomm.net><486A7E45.3030902@gtcomm.net> <486A8F24.5010000@gtcomm.net><486A9A0E.6060308@elischer.org> <486B41D5.3060609@gtcomm.net><alpine.LFD.1.10.0807021052041.557@filebunker.xip.at><486B4F11.6040906@gtcomm.net><alpine.LFD.1.10.0807021155280.557@filebunker.xip.at><486BC7F5.5070604@gtcomm.net><20080703160540.W6369@delplex.bde.org><486C7F93.7010308@gtcomm.net><20080703195521.O6973@delplex.bde.org><486D35A0.4000302@gtcomm.net><alpine.LFD.1.10.0807041106591.19613@filebunker.xip.at><486DF1A3.9000409@gtcomm.net><alpine.LFD.1.10.0807041303490.20760@filebunker.xip.at><486E65E6.3060301@gtcomm.net> <alpine.LFD.1.10.0807052356130.2145@filebunker.xip.at> <2d3001c8def1$f4309b90$020b000a@bartwrkstxp> <48704E15.1070803@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I'm no expert, but I imagine the problem is because the net processing of FreeBSD is not pipelined enough. We are now able to affordably throw many gigabytes of RAM into a machine, as well 2 to 8 CPUs. So why not allow for big buffers and multiple processing steps? I be happy to give up a bit of latency in order to increase the parallel processing ability of packets travelling through the system. I could be wrong but I imagine it would be better to treat the processing of pockets as a series of stages with queues (that can grow quite large if necessary).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48707EA6.2020506>