Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932146AbWEHHkf (ORCPT ); Mon, 8 May 2006 03:40:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932135AbWEHHkf (ORCPT ); Mon, 8 May 2006 03:40:35 -0400 Received: from mga02.intel.com ([134.134.136.20]:57365 "EHLO orsmga101-1.jf.intel.com") by vger.kernel.org with ESMTP id S932146AbWEHHke (ORCPT ); Mon, 8 May 2006 03:40:34 -0400 X-IronPort-AV: i="4.05,100,1146466800"; d="scan'208"; a="32985120:sNHT31048780" Subject: Re: [PATCH 0/10] bulk cpu removal support From: Shaohua Li To: Nathan Lynch Cc: lkml , Zwane Mwaikambo , Srivatsa Vaddagiri , Ashok Raj , Andrew Morton In-Reply-To: <20060508062905.GA9344@localdomain> References: <1147067137.2760.77.camel@sli10-desk.sh.intel.com> <20060508062905.GA9344@localdomain> Content-Type: text/plain Date: Mon, 08 May 2006 15:39:19 +0800 Message-Id: <1147073960.2760.104.camel@sli10-desk.sh.intel.com> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 (2.2.2-5) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1322 Lines: 26 On Mon, 2006-05-08 at 01:29 -0500, Nathan Lynch wrote: > Shaohua Li wrote: > > CPU hotremove will migrate tasks and redirect interrupts off dead cpu. > > To remove multiple CPUs, we should iteratively do single cpu removal. > > If tasks and interrupts are migrated to a cpu which will be soon > > removed, then we will trash tasks and interrupts again. The following > > patches allow remove several cpus one time. It's fast and avoids > > unnecessary repeated trash tasks and interrupts. This will help NUMA > > style hardware removal and SMP suspend/resume. Comments and suggestions > > are appreciated. > > Some quantification of the benefits of adding this complexity would be > appreciated. Like, how long does it take to offline all the cpus in a > node serially, and how much faster is the bulk method? This depends on the workload and I haven't a data at hand, sorry. Fast (less tasks/timers/softirqs migration) is one benefit. The method also means less time in stop_machine_run and less interrupt redirection, so smaller impact to the whole system. Thanks, Shaohua - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/