From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: Interested in Contributing to Kvm-kernel [ Networking project: reduce networking latency ] Date: Mon, 21 Nov 2016 18:19:15 +0200 Message-ID: <20161121181822-mutt-send-email-mst@kernel.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: kvm@vger.kernel.org To: Abhinav Gupta Return-path: Received: from mx1.redhat.com ([209.132.183.28]:53386 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932105AbcKUQTQ (ORCPT ); Mon, 21 Nov 2016 11:19:16 -0500 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Sat, Nov 19, 2016 at 01:15:53PM +0530, Abhinav Gupta wrote: > Hello, >    I'm interested in taking ownership for the project reduce networking latency > as mentioned on  > > http://www.linux-kvm.org/page/NetworkingTodo#projects_in_need_of_an_owner > > > • reduce networking latency: > > allow handling short packets from softirq or VCPU context > Plan: > We are going through the scheduler 3 times > (could be up to 5 if softirqd is involved) > Consider RX: host irq -> io thread -> VCPU thread -> > guest irq -> guest thread. > This adds a lot of latency. > We can cut it by some 1.5x if we do a bit of work > either in the VCPU or softirq context. > Testing: netperf TCP RR - should be improved drastically > netperf TCP STREAM guest to host - no regression > Contact: MST > > > I have a sound understanding of networking and c. > > Please can anyone recommend where I can start from in the source tree. > > Thanks, > Abhinav Gupta I'd start looking at vhost and tun drivers, ioeventfd and irqfd in kvm. -- MST