|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Lockup/High ksoftirqd when rate-limiting is enabled
Thanks for this quick patch. I was able to test it today, and the high ksoftirqd cpu usage is gone. Great!Is there a chance this can get pushed into stable kernel versions (3.18.x, 4.4.x, etc)? There is not really a backport work, as the netback driver hasn't changed alot recently. Tested-by: Jean-Louis Dupond <jean-louis@xxxxxxxxx> Op 2017-06-20 13:18, schreef Wei Liu: On Tue, Jun 20, 2017 at 11:31:02AM +0200, Jean-Louis Dupond wrote:Hi,As requested via IRC i'm sending this to xen-devel & netback maintainers.We are using Xen 4.4.4-23.el6 with kernel 3.18.44-20.el6.x86_64. Now recently we're having issues with rate-limiting enabled.When we enable rate limiting in Xen, and then do alot of outbound traffic onthe domU, we notice a high ksoftirqd load. But in some cases the system locks up completely.Can you give this patch a try? ---8<-- From a242d4a74cc4ec46c5e3d43dd07eb146be4ca233 Mon Sep 17 00:00:00 2001 From: Wei Liu <wei.liu2@xxxxxxxxxx> Date: Tue, 20 Jun 2017 11:49:28 +0100 Subject: [PATCH] xen-netback: correctly schedule rate-limited queues Add a flag to indicate if a queue is rate-limited. Test the flag in NAPI poll handler and avoid rescheduling the queue if true, otherwise we risk locking up the host. The rescheduling shall be done when replenishing credit. Reported-by: Jean-Louis Dupond <jean-louis@xxxxxxxxx> Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> --- drivers/net/xen-netback/common.h | 1 + drivers/net/xen-netback/interface.c | 6 +++++- drivers/net/xen-netback/netback.c | 6 +++++- 3 files changed, 11 insertions(+), 2 deletions(-)diff --git a/drivers/net/xen-netback/common.h b/drivers/net/xen-netback/common.hindex 530586be05b4..5b1d2e8402d9 100644 --- a/drivers/net/xen-netback/common.h +++ b/drivers/net/xen-netback/common.h@@ -199,6 +199,7 @@ struct xenvif_queue { /* Per-queue data for xenvif */ _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |