Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 1 Oct 2002 01:22:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 1 Oct 2002 01:22:11 -0400 Received: from e32.co.us.ibm.com ([32.97.110.130]:27859 "EHLO e32.co.us.ibm.com") by vger.kernel.org with ESMTP id ; Tue, 1 Oct 2002 01:22:11 -0400 Date: Tue, 1 Oct 2002 11:03:05 +0530 From: Dipankar Sarma To: Ingo Molnar Cc: george anzinger , Linus Torvalds , linux-kernel@vger.kernel.org, William Lee Irwin III , Alexey Kuznetsov , "David S. Miller" Subject: Re: [patch] smptimers, old BH removal, tq-cleanup, 2.5.39 Message-ID: <20021001110305.B693@in.ibm.com> Reply-To: dipankar@in.ibm.com References: <3D98C60B.9C1EA90B@mvista.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from mingo@elte.hu on Tue, Oct 01, 2002 at 05:51:45AM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1441 Lines: 33 On Tue, Oct 01, 2002 at 05:51:45AM +0200, Ingo Molnar wrote: > the smp_processor_id()/(HZ*num_cpus) 'interleaving' of every APIC clock > was an SMP scalability issue, and it was done as part of the smptimers > patch. It just got into the kernel much earlier. > > but these days, with the removal of BHs, it might be less of a factor, > mainly because timers have no global synchronization anymore, so we can > again try to not interleave the APIC clocks. Only testing will tell, > because there might be some interaction between timer-generated code > still. Yes, with earlier versions of smptimers where global_bh_lock was still being acquired to serialize with BHs, local timer clocks needed to be spaced over a HZ to reduce contention. Archs that didn't space the clocks perfromed poorly with smptimers as Anton found out with ppc64 and had to change. > > Dipankar, wli, would it be possible to try the attached simple patch with > some of the more complex networking loads? The patch gets rid of the APIC > timer interleaving. I will give it a spin. Thanks -- Dipankar Sarma http://lse.sourceforge.net Linux Technology Center, IBM Software Lab, Bangalore, India. - 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/