Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jan 2010 05:29:44 -0800 (PST)
From:      Barney Cordoba <barney_cordoba@yahoo.com>
To:        Sebastian Hyrwall <sh@keff.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: FreeBSD 7.2 vs Linux in routing performance
Message-ID:  <965936.5529.qm@web63903.mail.re1.yahoo.com>
In-Reply-To: <4B504290.5020506@keff.org>

next in thread | previous in thread | raw e-mail | index | archive | help
=0A=0A--- On Fri, 1/15/10, Sebastian Hyrwall <sh@keff.org> wrote:=0A=0A> Fr=
om: Sebastian Hyrwall <sh@keff.org>=0A> Subject: FreeBSD 7.2 vs Linux in ro=
uting performance=0A> To: freebsd-net@freebsd.org=0A> Date: Friday, January=
 15, 2010, 5:25 AM=0A> Hi=0A> =0A> I have to identical x86 routers with the=
 following=0A> specifications,=0A> =0A> hw.model: Intel(R) Atom(TM) CPU=A0=
=0A> 330=A0=A0=A0@ 1.60GHz=0A> hw.physmem: 2132996096=0A> hw.usermem: 17872=
52736=0A> hw.realmem: 2146041856=0A> 2x re0: <RealTek=0A> 8168/8168B/8168C/=
8168CP/8168D/8111B/8111C/8111CP PCIe=0A> Gigabit Ethernet> port 0xd800-0xd8=
ff mem=0A> 0xfeaff000-0xfeafffff,0xfdef0000-0xfdefffff irq 16 at device=0A>=
 0.0 on pci2=0A> =0A> I know it's not really the best equipment to use in=
=0A> gbit-enviroments but that is irrelevant here.=0A> =0A> One of these ru=
ns FreeBSD 7.2 (R-p4) and the other Linux=0A> 2.6.31.5.=0A> =0A> Without pf=
/iptables loaded the FreeBSD-server maxes out at=0A> 35MB/s when it comes t=
o forwarding between the two NICs=0A> (simple http-transfer used for testin=
g).=0A> The Linux-server pushes 90-100MB/s between the NICs with=0A> the sa=
me test. Both servers are connected the same way to=0A> the network (I swap=
 them between the testing).=0A> =0A> Any suggestions on where the gigantic =
performance loss=0A> might be and how to fix it?=0A> =0A> I intend to switc=
h FreeBSD 8 in the coming month and maybe=0A> that will fix the problem but=
 I am hoping it's also fixable=0A> in 7.2.=0A> =0A=0AThe equipment really I=
S relevant. The FreeBSD realtek driver is=0Aparticularly sucky. As with any=
 free OS, some drivers are good, =0Aand most are not. So try something else=
. Anything written by=0ABill Paul is assembly-line quality by definition.=
=0A=0A=0ABarney=0A=0A=0A      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?965936.5529.qm>