From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754329Ab2CYNbQ (ORCPT ); Sun, 25 Mar 2012 09:31:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10900 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752725Ab2CYNbP (ORCPT ); Sun, 25 Mar 2012 09:31:15 -0400 Date: Sun, 25 Mar 2012 15:30:27 +0200 From: Andrea Arcangeli To: Dan Smith Cc: Peter Zijlstra , Linus Torvalds , Andrew Morton , Thomas Gleixner , Ingo Molnar , Paul Turner , Suresh Siddha , Mike Galbraith , "Paul E. McKenney" , Lai Jiangshan , Bharata B Rao , Lee Schermerhorn , Rik van Riel , Johannes Weiner , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Hillf Danton Subject: Re: [RFC] AutoNUMA alpha6 Message-ID: <20120325133027.GG5906@redhat.com> References: <20120321021239.GQ24602@redhat.com> <87fwd2d2kp.fsf@danplanet.com> <20120321124937.GX24602@redhat.com> <87limtboet.fsf@danplanet.com> <20120321225242.GL24602@redhat.com> <20120322001722.GQ24602@redhat.com> <873990buuy.fsf@danplanet.com> <20120322142735.GE24602@redhat.com> <20120322184925.GT24602@redhat.com> <87limsa2hm.fsf@danplanet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87limsa2hm.fsf@danplanet.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 22, 2012 at 11:56:37AM -0700, Dan Smith wrote: > I dunno about everyone else, but I think the thing I'd like to see most > (other than more interesting benchmarks) is a broken out and documented > set of patches instead of the monolithic commit you have now. I know you > weren't probably planning to do that until numasched came along, but it > sure would help me digest the differences in the two approaches. Ok this is a start. I'll have to review it again tomorrow and add more docs before I can do proper submit by email. If you're willing to contribute you can review it already using "git format-patch 9ca11f1" after fetching the repo. Comments welcome! git clone --reference linux -b autonuma-dev-smt git://git.kernel.org/pub/scm/linux/kernel/git/andaa.git The last patch in that branch is the last feature I worked on yesterday and it fixes the SMT load with numa02.c modified to use only 1 thread per core, which means changing THREADS from 24 to 12 in the numa02.c source at the top (and then building it again in the -DHARD_BIND and -DHARD_BIND -DINVERSE_BIND versions to compare with autonuma on and off). It also fixes building the kernel in a loop in KVM with 12 vcpus (now the load spreads over the two nodes). echo 0 >/sys/kernel/mm/autonuma/scheduler/smt would disable the SMT awareness.