Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jun 2014 14:53:05 -0700
From:      Neel Natu <neelnatu@gmail.com>
To:        Peter Grehan <grehan@freebsd.org>
Cc:        "freebsd-virtualization@freebsd.org" <virtualization@freebsd.org>
Subject:   Re: interrupt storm on ahci
Message-ID:  <CAFgRE9HjUZE8T3djwD6_Mtw=riqdvM1VzZP0nfAn=F2jEonnAg@mail.gmail.com>
In-Reply-To: <539383F3.2060307@freebsd.org>
References:  <20140607212440.GB3163@mouf.net> <539383F3.2060307@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Steve,

On Sat, Jun 7, 2014 at 2:28 PM, Peter Grehan <grehan@freebsd.org> 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: <Intel ICH8 AHCI SATA controller> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFgRE9HjUZE8T3djwD6_Mtw=riqdvM1VzZP0nfAn=F2jEonnAg>