WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Can we remove the logic of preventing MSI irq storms

To: Keir Fraser <keir@xxxxxxx>
Subject: [Xen-devel] Can we remove the logic of preventing MSI irq storms
From: Haitao Shan <maillists.shan@xxxxxxxxx>
Date: Thu, 14 Jul 2011 14:43:58 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 13 Jul 2011 23:44:45 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=SAVkphEJvMvyXcwMaFRGYWCmxQ6i9+g0vIa56w6w6Fk=; b=dFXYyqbhYyazh/FObFV+iPku72yNxyEVh93pHY5pTkGQ7HIW+Tv6ZvKZh1mMqiika5 0H6rN5HKyEJGdK5ZhMBucInFCCxjLz/TkxERVOtXw3JDOHMf7XqtfaF6s4Opw7q+Imcp yPEuTBKfYH18V42tHwW462pAeSUyR+jh+QkSk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, Keir,

As you may remember (see c/s 17960), Xen implemented the logic of
preventing MSI irq storms. The reason of the IRQ storm at that time is
still unknown. But the logic is definitely needed at that time since
that NIC is the only device at my hand to test MSI.
The idea is simple: mask the second MSI interrupt when the first one
is still in processing. For HVM guests, we hooked at guest EOI write
to determime whether the first MSI is serviced already.

However, recently we find the logic has negative impact on 10G NIC
performance (assigned to guest). The logic lowers the interrupt
frequency that Xen can handle. It is a problem when the device is
generating too many interrupts as seen in this 10G NIC.

And now there is IRQ rate limit logic in Xenm which can also help to
prevent IRQ storms.

Given all the above, do you think it is time to remove the logic of
preventing MSI IRQ storm?

Shan Haitao

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>