Received: with ECARTIS (v1.0.0; list netdev); Wed, 08 Oct 2003 12:00:55 -0700 (PDT) Received: from Cantor.suse.de (ns.suse.de [195.135.220.2]) by oss.sgi.com (8.12.10/8.12.10) with SMTP id h98J0B25025011 for ; Wed, 8 Oct 2003 12:00:12 -0700 Received: from Hermes.suse.de (Hermes.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 4221A16C7E66; Wed, 8 Oct 2003 20:37:43 +0200 (CEST) Date: Wed, 8 Oct 2003 20:37:42 +0200 From: Andi Kleen To: Steve Modica Cc: "David S. Miller" , johnip@sgi.com, netdev@oss.sgi.com, jgarzik@pobox.com, jes@sgi.com Subject: Re: Tigon3 5701 PCI-X recv performance problem Message-ID: <20031008183742.GA24822@wotan.suse.de> References: <3F844578.40306@sgi.com> <20031008101046.376abc3b.davem@redhat.com> <3F8455BE.8080300@sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F8455BE.8080300@sgi.com> X-archive-position: 673 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: ak@suse.de Precedence: bulk X-list: netdev > The problem is that on the Altix platform they have to deal with unaligned > accesses via an exception handler. This causes them to run through > hundreds of instructions. There's evidntally another mechanism in the cpu > that's more efficient in daling with unaligned accesses, but we can't use > that for some reason (atomicity I think, but I don't recall). Atomicity should not be needed to access a private skb. Maybe you didn't want to change the core stack to use the unaligned access mechanism? In that case it may be better to fix the stack with some macro that expands to the unaligned access on IA64 and a normal load on other architectures. -Andi