From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Galbraith Subject: Re: unixbench context switch perfomance & cpu topology Date: Tue, 23 Jan 2018 14:49:18 +0100 Message-ID: <1516715358.8747.27.camel@gmx.de> References: <1516622939.24679.5.camel@gmx.de> <1516628254.7500.19.camel@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, kvm , Paolo Bonzini , Peter Zijlstra , Radim Krcmar , Frederic Weisbecker , Thomas Gleixner , Ingo Molnar To: Wanpeng Li Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Tue, 2018-01-23 at 18:36 +0800, Wanpeng Li wrote: > > Thanks for having a try, Mike. :) Actually the two context1 tasks > don't stack up on one logical cpu at the most of time which is > observed by kernelshark. Do you have any idea why there is 4.5 times > RESCHED IPIs which is mentioned in another reply for this thread? See resched_curr(). -Mike