From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gproxy1-pub.mail.unifiedlayer.com (gproxy1-pub.mail.unifiedlayer.com [69.89.25.95]) by lists.ozlabs.org (Postfix) with SMTP id 4658F1A0739 for ; Mon, 12 Jan 2015 11:37:27 +1100 (AEDT) Received: from [66.214.75.151] (port=61194 helo=[192.168.1.8]) by box925.bluehost.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82) (envelope-from ) id 1YAT0N-0003oC-FE for linuxppc-dev@lists.ozlabs.org; Sun, 11 Jan 2015 17:37:15 -0700 From: Bill Cribbs Content-Type: multipart/alternative; boundary="Apple-Mail=_463738C8-5A7F-49DE-B071-3F7C731D9C85" Subject: ppc + netfilter rx performance issues Message-Id: Date: Sun, 11 Jan 2015 16:37:12 -0800 To: "linuxppc-dev@lists.ozlabs.org" Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --Apple-Mail=_463738C8-5A7F-49DE-B071-3F7C731D9C85 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Folks, Hope to humbly ask for some advice if this list is still active. I=E2=80=99= m supporting a legacy product and looking to improve networking = performance. It is a PPC460GT used as a bridge device with an ethernet = 1Gb (marvell), that routes packets to a pci network card (using igb). Going in the pci interface and out tx to the network, we get a nominal = 700Mb, however=E2=80=A6 RX - to the marvell we see two things: 1. 300Mbps 2. sys =3D 100% Any ideas? I=E2=80=99m suspicious that packets are not being handled at = a low level and getting copied through iptables rules to userspace. = Maybe there is a way to enable DMA to the benefit of incoming packets? Linux mbu-100 2.6.33.1 #245 Fri Nov 1 17:41:21 PDT 2013 ppc GNU/Linux Glacier=20 Thanks! Bill --Apple-Mail=_463738C8-5A7F-49DE-B071-3F7C731D9C85 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = Folks,

Hope to humbly ask for some advice = if this list is still active.  I=E2=80=99m supporting a legacy = product and looking to improve networking performance.  It is a = PPC460GT used as a bridge device with an ethernet 1Gb (marvell), that = routes packets to a pci network card (using igb).
Going in the pci = interface and out tx to the network, we get a nominal 700Mb, = however=E2=80=A6

RX - to the marvell we see two = things:
1. 300Mbps
2. sys =3D 100%

Any ideas?  I=E2=80=99m suspicious that packets are = not being handled at a low level and getting copied through iptables = rules to userspace.  Maybe there is a way to enable DMA to the = benefit of incoming packets?

Linux mbu-100 2.6.33.1 #245 Fri Nov 1 17:41:21 PDT = 2013 ppc GNU/Linux
Glacier 

Thanks!
Bill





= --Apple-Mail=_463738C8-5A7F-49DE-B071-3F7C731D9C85--