From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755820AbaE1WLX (ORCPT ); Wed, 28 May 2014 18:11:23 -0400 Received: from ipmail05.adl6.internode.on.net ([150.101.137.143]:13419 "EHLO ipmail05.adl6.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754503AbaE1WLW (ORCPT ); Wed, 28 May 2014 18:11:22 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArhPAE5ehlN5LL1sPGdsb2JhbABagweDRIUIom0BAQEBAQEGmB0BgQ8XAwEBAQE4NYIlAQEFOhwjEAgDGAklDwUlAwcaE4hB2B8XFoU/iH0HhEABA5l0ixiLWis Date: Thu, 29 May 2014 08:11:18 +1000 From: Dave Chinner To: "H. Peter Anvin" Cc: Steven Rostedt , Minchan Kim , Linus Torvalds , linux-kernel@vger.kernel.org, Andrew Morton , linux-mm@kvack.org, Ingo Molnar , Peter Zijlstra , Mel Gorman , Rik van Riel , Johannes Weiner , Hugh Dickins , rusty@rustcorp.com.au, mst@redhat.com, Dave Hansen Subject: Re: [RFC 2/2] x86_64: expand kernel stack to 16K Message-ID: <20140528221118.GN8554@dastard> References: <1401260039-18189-1-git-send-email-minchan@kernel.org> <1401260039-18189-2-git-send-email-minchan@kernel.org> <20140528101401.43853563@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 28, 2014 at 07:23:23AM -0700, H. Peter Anvin wrote: > We tried for 4K on x86-64, too, for b quite a while as I recall. > The kernel stack is a one of the main costs for a thread. I would > like to decouple struct thread_info from the kernel stack (PJ > Waskewicz was working on that before he left Intel) but that > doesn't buy us all that much. > > 8K additional per thread is a huge hit. XFS has indeed always > been a canary, or troublespot, I suspect because it originally > came from another kernel where this was not an optimization > target. Always blame XFS for stack usage problems. Even when the reported problem is from IO to an ext4 filesystem. Cheers, Dave. -- Dave Chinner david@fromorbit.com