Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757509AbbKFRit (ORCPT ); Fri, 6 Nov 2015 12:38:49 -0500 Received: from g1t6213.austin.hp.com ([15.73.96.121]:45493 "EHLO g1t6213.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755836AbbKFRis (ORCPT ); Fri, 6 Nov 2015 12:38:48 -0500 Message-ID: <563CE5A6.8080409@hpe.com> Date: Fri, 06 Nov 2015 12:38:46 -0500 From: Waiman Long User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130109 Thunderbird/10.0.12 MIME-Version: 1.0 To: Ling Ma CC: Peter Zijlstra , mingo@redhat.com, linux-kernel@vger.kernel.org, Ling Subject: Re: Improve spinlock performance by moving work to one core References: <563B8E85.6090104@hpe.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 785 Lines: 28 On 11/05/2015 11:28 PM, Ling Ma wrote: > Longman > > Thanks for your suggestion. > We will look for real scenario to test, and could you please introduce > some benchmarks on spinlock ? > > Regards > Ling > > The kernel has been well optimized for most common workloads that spinlock contention is usually not a performance bottleneck. There are still corner cases where there is heavy spinlock contention. I used a spinlock loop microbenchmark like what you are doing as well as AIM7 for application level testing. Cheers, Longman -- 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/