From owner-freebsd-virtualization@FreeBSD.ORG Sat Jun 7 21:53:06 2014 Return-Path: Delivered-To: virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B50ED2ED; Sat, 7 Jun 2014 21:53:06 +0000 (UTC) Received: from mail-qg0-x22d.google.com (mail-qg0-x22d.google.com [IPv6:2607:f8b0:400d:c04::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 574A62611; Sat, 7 Jun 2014 21:53:06 +0000 (UTC) Received: by mail-qg0-f45.google.com with SMTP id z60so7176368qgd.32 for ; Sat, 07 Jun 2014 14:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9+X3snbGpsACLP9EHOBzAelD3HaaujyOgc4gFT/MJlk=; b=HWGR4YCj8MxWQ+z8zqQ9wff8kt0sMwFMHA0L5BdmAkE/VX6L+dOUiZEFBxUuKEd6qj KIHMFSHVrgypg3l4oD0+ZE+RlUwmxGMDiVRje/pYDDL/ywnAMfH4Bx+HaAf7p7trqHG9 9Q9kR74Cfh+P6Taso+hEoKQCmMgCwVD/NDaArJW0mQ8gGFWWq+nA3tQ73MDBVTFTRvTb HQ8ZAH0BurMBQiSBJzABlJMe7Aatyr4Pbh3lqbJ4AqxC0miqCohS49NgAg4umS5nWVwO yUi8c0teFuURc9H9GyEXP4w1YnjD11LMstY439bFkrnkZUWbKqfOYAVH+2HTsxlKhi7p OgpA== MIME-Version: 1.0 X-Received: by 10.224.28.65 with SMTP id l1mr20894605qac.81.1402177985397; Sat, 07 Jun 2014 14:53:05 -0700 (PDT) Received: by 10.140.48.37 with HTTP; Sat, 7 Jun 2014 14:53:05 -0700 (PDT) In-Reply-To: <539383F3.2060307@freebsd.org> References: <20140607212440.GB3163@mouf.net> <539383F3.2060307@freebsd.org> Date: Sat, 7 Jun 2014 14:53:05 -0700 Message-ID: Subject: Re: interrupt storm on ahci From: Neel Natu To: Peter Grehan Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2014 21:53:06 -0000 Hi Steve, On Sat, Jun 7, 2014 at 2:28 PM, Peter Grehan wrote: > Hi Steve, > > >> I'm running a FreeBSD guest in bhyve on a FreeBSD host. Both are running >> FreeBSD CURRENT, r266947. I've gotten this message about 12 times since >> boot: >> >> interrupt storm detected on "irq268:"; throttling interrupt source >> >> vmstat -i shows: >> >> irq268: ahci1 236514222 839 >> >> ahci1 is the second disk connected to the system: >> >> ahci1: mem 0xc0002400-0xc00027ff irq 18 >> at device 4.0 on pci0 >> >> The VM itself runs poudriere and was building a bunch of packages. At the >> moment, the VM seems to be in a rather odd state. The poudriere jails are >> running, but not doing anything. Ideas? > > > Is this an 8.* host ? I don't believe AHCI has MSI support on that version, > and AHCI legacy interrupts haven't had a huge amount of testing under load. > > If it is 8.*, I'd recommend using virtio-blk for the block device until we > can work out what's going wrong. > The KTR trace would be useful to figure out what's happening. To do that you can compile the host kernel and vmm.ko with the following options: options KTR options KTR_MASK=(KTR_GEN) options KTR_ENTRIES=(4*1024*1024) And when you see the interrupt storm message in the guest you can execute: sudo ktrdump -cto /tmp/ktrdump.out best Neel > later, > > Peter. > > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to > "freebsd-virtualization-unsubscribe@freebsd.org"