From 84865b0981aacd5c9e83a25d9211f44a2eac18e6 Mon Sep 17 00:00:00 2001 From: Joao Martins Date: Thu, 16 Nov 2017 11:44:32 +0000 Subject: [PATCH] xen-netback: enable skip_guestrx_thread by default Given that there's almost no grant ops being done, there's no need to amortize grant hypercall cost through the guestrx kthread. This option then skips it enterily (only with staging grants) and gets to remove the contention on queue->wq and queue->rx_lock. Exadata chatty select tests show an improvement of 14% as depicted in the bug. Orabug: 27125766 Signed-off-by: Joao Martins Acked-by: Konrad Rzeszutek Wilk --- drivers/net/xen-netback/netback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netback/netback.c index 10de6657cea6..068195c9a915 100644 --- a/drivers/net/xen-netback/netback.c +++ b/drivers/net/xen-netback/netback.c @@ -60,7 +60,7 @@ module_param(separate_tx_rx_irq, bool, 0644); * this might improve performance on cases where frontend is a * copybreak interface or is fully recycling pages. */ -bool skip_guestrx_thread; +bool skip_guestrx_thread = true; module_param(skip_guestrx_thread, bool, 0644); /* The time that packets can stay on the guest Rx internal queue -- 2.50.1