From: Joao Martins Date: Thu, 16 Nov 2017 11:44:32 +0000 (+0000) Subject: xen-netback: enable skip_guestrx_thread by default X-Git-Tag: v4.1.12-117.0_27200813_3~19 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=84865b0981aacd5c9e83a25d9211f44a2eac18e6;p=users%2Fjedix%2Flinux-maple.git 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 --- 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