Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752837AbbDXBRt (ORCPT ); Thu, 23 Apr 2015 21:17:49 -0400 Received: from mga14.intel.com ([192.55.52.115]:63420 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752254AbbDXBRr convert rfc822-to-8bit (ORCPT ); Thu, 23 Apr 2015 21:17:47 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,636,1422950400"; d="scan'208";a="484940205" From: "Zhang, Yang Z" To: "H. Peter Anvin" , "Hansen, Dave" , "Li, Liang Z" , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: "gleb@kernel.org" , "pbonzini@redhat.com" , "mtosatt@redhat.com" , "tglx@linutronix.de" , "mingo@redhat.com" , "x86@kernel.org" , "joro@8bytes.org" , "Hao, Xudong" Subject: RE: [v6] kvm/fpu: Enable fully eager restore kvm FPU Thread-Topic: [v6] kvm/fpu: Enable fully eager restore kvm FPU Thread-Index: AQHQfdokB57Ycwhg7kWLEJUBKNm8Jp1ahjWAgADVAlA= Date: Fri, 24 Apr 2015 01:16:08 +0000 Message-ID: References: <1429823583-3226-1-git-send-email-liang.z.li@intel.com> <55390F9A.2070808@intel.com> <553955D9.3030600@zytor.com> In-Reply-To: <553955D9.3030600@zytor.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 936 Lines: 28 H. Peter Anvin wrote on 2015-04-24: > On 04/23/2015 08:28 AM, Dave Hansen wrote: >> On 04/23/2015 02:13 PM, Liang Li wrote: >>> When compiling kernel on westmere, the performance of eager FPU is >>> about 0.4% faster than lazy FPU. >> >> Do you have an theory why this is? What does the regression come from? >> > > This is interesting since previous measurements on KVM have had the > exact opposite results. I think we need to understand this a lot more. What I can tell is that vmexit is heavy. So it is reasonable to see the improvement under some cases, especially kernel is using eager FPU now which means each schedule may trigger a vmexit. > > -hpa > Best regards, Yang -- 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/