From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Honig Subject: Re: [RFC PATCH 1/4] KVM: x86: Split the APIC from the rest of IRQCHIP. Date: Thu, 14 May 2015 12:29:21 -0700 Message-ID: References: <1431481652-27268-1-git-send-email-srutherford@google.com> <555303CC.5030507@redhat.com> <20150513221001.GA23867@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Steve Rutherford , Paolo Bonzini , "kvm@vger.kernel.org" To: "Wu, Feng" Return-path: Received: from mail-vn0-f43.google.com ([209.85.216.43]:42515 "EHLO mail-vn0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964901AbbENT3m (ORCPT ); Thu, 14 May 2015 15:29:42 -0400 Received: by vnbf129 with SMTP id f129so5889260vnb.9 for ; Thu, 14 May 2015 12:29:42 -0700 (PDT) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: > > BTW, what is the purpose of this series. If I understand it correctly, you only want to > use the in-kernel lapic and leave the others (pic, ioapic) in userspace, what is the > benefit of it? The purpose is to achieve the security benefit of removing some of the interrupt handling into userspace, without incurring a significant performance penalty. If you move the entire IRQCHIP into userspace, we've seen perf impacts from 15-200% depending on the workload. With this patch series, we're seeing perf penalty <1% on our tests (TCP_RR latency, TCP throughput, and Disk I/O). See (https://lwn.net/Articles/619332/) > > Thanks, > Feng > >>