Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion nfsd crashing with 3.6.0-rc7 on PowerPC

Received: by 10.180.8.233 with SMTP id u9mr2535838wia.3.1349710846856;
        Mon, 08 Oct 2012 08:40:46 -0700 (PDT)
Path: q10ni65049257wif.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newspeer1.nac.net!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!novia!news-hub.siol.net!news.mi.ras.ru!goblin-spool!goblin3!goblin.stu.neva.ru!gin-ad1-unet1.teleglobe.net!news.asdasd.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Benjamin Herrenschmidt <b...@kernel.crashing.org>
Newsgroups: linux.kernel
Subject: Re: [REGRESSION] nfsd crashing with 3.6.0-rc7 on PowerPC
Date: Tue, 02 Oct 2012 03:10:04 +0200
Message-ID: <jPZ9O-1B7-57@gated-at.bofh.it>
References: <jOy1Y-4b8-17@gated-at.bofh.it> <jOybE-4uP-1@gated-at.bofh.it> <jOyuZ-4IG-13@gated-at.bofh.it> <jOKwb-51k-21@gated-at.bofh.it> <jPOR3-2DX-7@gated-at.bofh.it>
X-Original-To: Alexander Graf <ag...@suse.de>
X-Mailer: Evolution 3.2.3-0ubuntu6
MIME-Version: 1.0
Sender: robo...@news.nic.it
List-ID: <linux-kernel.vger.kernel.org>
X-Mailing-List: linux-kernel@vger.kernel.org
Approved: robo...@news.nic.it
Lines: 58
Organization: linux.* mail to news gateway
X-Original-Cc: "J. Bruce Fields" <bfie...@fieldses.org>,
	Linus Torvalds <torva...@linux-foundation.org>,
	LKML List <linux-ker...@vger.kernel.org>,
	linuxppc-dev <linuxppc-...@lists.ozlabs.org>,
	linux-...@vger.kernel.org, Jan Kara <j...@suse.cz>,
	skinsbur...@parallels.com, bfie...@redhat.com, an...@samba.org
X-Original-Date: Tue, 02 Oct 2012 10:58:29 +1000
X-Original-Message-ID: <1349139509.3847.2.camel@pasglop>
X-Original-References: <3BDA9E62-7031-42D6-8CA9-5327B6170...@suse.de>
	 <CA+55aFyXwB1QcXE4Z_FAGnXROSgvP2x2+wjnX9OWPa4Dfaa...@mail.gmail.com>
	 <DC545CD9-8745-47DD-B13B-3385C0EB5...@suse.de>
	 <20120928151043.GA19...@fieldses.org>
	 <2A52FC96-148C-4F7A-9950-E152E0C66...@suse.de>
X-Original-Sender: linux-kernel-ow...@vger.kernel.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit

On Mon, 2012-10-01 at 16:03 +0200, Alexander Graf wrote:
> Phew. Here we go :). It looks to be more of a PPC specific problem than it appeared as at first:

Ok, so I suspect the problem is the pushing down of the locks which
breaks with iommu backends that have a separate flush callback. In
that case, the flush moves out of the allocator lock.

Now we do call flush before we return, still, but it becomes racy
I suspect, but somebody needs to give it a closer look. I'm hoping
Anton or Nish will later today.

Cheers,
Ben.

> 
> b4c3a8729ae57b4f84d661e16a192f828eca1d03 is first bad commit
> commit b4c3a8729ae57b4f84d661e16a192f828eca1d03
> Author: Anton Blanchard <an...@samba.org>
> Date:   Thu Jun 7 18:14:48 2012 +0000
> 
>     powerpc/iommu: Implement IOMMU pools to improve multiqueue adapter performance
>     
>     At the moment all queues in a multiqueue adapter will serialise
>     against the IOMMU table lock. This is proving to be a big issue,
>     especially with 10Gbit ethernet.
>     
>     This patch creates 4 pools and tries to spread the load across
>     them. If the table is under 1GB in size we revert back to the
>     original behaviour of 1 pool and 1 largealloc pool.
>     
>     We create a hash to map CPUs to pools. Since we prefer interrupts to
>     be affinitised to primary CPUs, without some form of hashing we are
>     very likely to end up using the same pool. As an example, POWER7
>     has 4 way SMT and with 4 pools all primary threads will map to the
>     same pool.
>     
>     The largealloc pool is reduced from 1/2 to 1/4 of the space to
>     partially offset the overhead of breaking the table up into pools.
>     
>     Some performance numbers were obtained with a Chelsio T3 adapter on
>     two POWER7 boxes, running a 100 session TCP round robin test.
>     
>     Performance improved 69% with this patch applied.
>     
>     Signed-off-by: Anton Blanchard <an...@samba.org>
>     Signed-off-by: Benjamin Herrenschmidt <b...@kernel.crashing.org>
> 
> :040000 040000 039ae3cbdcfded9c6b13e58a3fc67609f1b587b0 6755a8c4a690cc80dcf834d1127f21db925476d6 M	arch
> 
> 
> Alex


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/