From: Konrad Rzeszutek Wilk Subject: Re: probable vm exit latency issue? Date: Fri, 15 Dec 2017 15:08:13 -0500 Message-ID: <20171215200813.GB11465@char.us.oracle.com> References: <5A342458.9010403@cox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Joe Buehler Return-path: Received: from aserp2130.oracle.com ([141.146.126.79]:44638 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756100AbdLOUI1 (ORCPT ); Fri, 15 Dec 2017 15:08:27 -0500 Content-Disposition: inline In-Reply-To: <5A342458.9010403@cox.net> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Dec 15, 2017 at 02:36:56PM -0500, Joe Buehler wrote: > I am debugging large latency issues in a realtime KVM instance, trying to make an existing VM (debugged on another type of box) run on an HP proliant now. > > cyclictest came up with the following snippet: > > kworker/-71 0.....11 13483223us : ata_sff_exec_command <-ata_bmdma_setup > kworker/-71 0.....11 13483228us : ata_sff_sync <-ata_sff_exec_command > kworker/-71 0.....11 13483231us : delay_tsc <-__const_udelay > kworker/-71 0.....11 13483231us*: ata_bmdma_start <-ata_bmdma_qc_issue > kworker/-71 0d....11 13496181us : smp_apic_timer_interrupt <-apic_timer_interrupt > kworker/-71 0d....11 13496181us : irq_enter <-smp_apic_timer_interrupt > kworker/-71 0d....11 13496182us : rcu_irq_enter <-irq_enter > > I don't have a lot of experience with this; is this a DMA start for disk I/O, presumably causing an exit from the VM? For almost 13 milliseconds???? > > I haven't been able to find much obvious about eliminating this -- any suggestions? I set caching to writeback without effect. > > > > > > > > > > > >
> Um. Don't use IDE? Use VirtIO. > > Joe Buehler