Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2698003yba; Mon, 8 Apr 2019 02:45:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqyws5fJewE+azsNOfJKSm+zjw/uhCwg1ltTSnawhLij+90cxHnThuoWGn5ZYah9eMD+MMvO X-Received: by 2002:a63:6cc7:: with SMTP id h190mr27881079pgc.350.1554716721007; Mon, 08 Apr 2019 02:45:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554716721; cv=none; d=google.com; s=arc-20160816; b=niGaQwbf5kftwwoA2uJ82SmDaXYhztCxEEK7xN+SjC5T4mhjUi/EAOmzd787lraMhr iIWIb1JGV3Wv/rp+sOIJlj+1WcK65q1gXMdeFoYyIij9AWty6xEzDFCdzyJ4UovVK5eC 0TP6/1DqP6vNaSreLU6fXOTy8tXyE6SDy/YVGCpauTyNvl1XLP1BqnbgY4HSGf7P8Gpi 53Q2OfBQqrnvjTKmDHiUCNq9wVzqbOqfLGWpDiGesmlmFWsEpL41IF+YKBGwKOGXGjos QzLaLsk3/jyis7+Oj0mbFM1YzKOXaapzUeT4UZLAt4UqhOBy5nCjB2zXlMhoLLjDcThj vpwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=tuSFNHSchUTomdLwvqmLmpCKYDK4CubDxGDLtVcuhZM=; b=jgMxrq16YeFr3rjKYJV5hc4SVBJcqPqSSmzSn2uvMcVe7+hKppFA6mciaQPAXGLVdS O6sRPML9pmehZ9qijTk7NMd8LukHCozysvvDrK6B5Eh8l4WLBSbKnwhaxkdglrlfWQ7h Oplga9FJo6WnIr73vm6CpyIQJXaVNJ2Yi2yBcCxQBdsiUM5pZxvdXAs7tbOW9nzPdQgH fZgZ17V1ActWaYIBYqBmwr5wQ81kox1BpTPIQVDSWONBqgcgLpP024hbu9Pfs374jF8W pdqnbm0fp31IcEbQPQ9OXWs900PMMfVC3R+BaRDF/m1n26pYfzzPgMj7d1wAQY+0gAjW xeqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l39si27088091plb.143.2019.04.08.02.45.05; Mon, 08 Apr 2019 02:45:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726682AbfDHJoU (ORCPT + 99 others); Mon, 8 Apr 2019 05:44:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53356 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726253AbfDHJoT (ORCPT ); Mon, 8 Apr 2019 05:44:19 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C79AE5944C; Mon, 8 Apr 2019 09:44:19 +0000 (UTC) Received: from localhost (ovpn-116-217.ams2.redhat.com [10.36.116.217]) by smtp.corp.redhat.com (Postfix) with ESMTP id EF1DE1A7E9; Mon, 8 Apr 2019 09:44:16 +0000 (UTC) Date: Mon, 8 Apr 2019 10:44:16 +0100 From: Stefan Hajnoczi To: Jason Wang Cc: Stefano Garzarella , netdev@vger.kernel.org, "Michael S. Tsirkin" , kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, "David S. Miller" Subject: Re: [PATCH RFC 0/4] vsock/virtio: optimizations to increase the throughput Message-ID: <20190408094416.GQ15001@stefanha-x1.localdomain> References: <20190404105838.101559-1-sgarzare@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sBcizk6cgRZY6rnJ" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Mon, 08 Apr 2019 09:44:19 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --sBcizk6cgRZY6rnJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Apr 08, 2019 at 02:43:28PM +0800, Jason Wang wrote: > Another thing that may help is to implement sendpage(), which will greatly > improve the performance. I can't find documentation for ->sendpage(). Is the idea that you get a struct page for the payload and can do zero-copy tx? (And can userspace still write to the page, invalidating checksums in the header?) Stefan --sBcizk6cgRZY6rnJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJcqxfvAAoJEJykq7OBq3PIpPEIAIPydRh9MmTxWJHiLCIdcVZB YTFjrwJFHuWU1MSyz9onJyJxcranVbekSDh+RaESeGRrg1xSyNZBqqwNUfzm23XP jQv1xTzq9qCC6ZB81lHgFclJjT5h1/KFVKzG3Wv2dMffDW+7/Y54wOdvPsYGIQdh ZaeT3vH1BIoIz9xA7Ajt1H3p4XjqCQyOc8LPXzHi11zpg+UgEV6AIbSNq2hjEOuK 1n4tJ/tRaGVsrhfHcg65GzY3mA/z4X6xfpw+dgZ5ZlWRKqfqNbFr4q8Sxpwla3DF aGElG+Dsc/4SkbOLzD4WfN+JmM/pvsk1pH6RMb/OHlaD9K6fMDlL9cliH2ovmY8= =y3qN -----END PGP SIGNATURE----- --sBcizk6cgRZY6rnJ--