From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753773AbcFPHIv (ORCPT ); Thu, 16 Jun 2016 03:08:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33221 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751300AbcFPHIt (ORCPT ); Thu, 16 Jun 2016 03:08:49 -0400 Subject: Re: [PATCH net-next V2] tun: introduce tx skb ring To: Jamal Hadi Salim , mst@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, davem@davemloft.net References: <1465979897-4445-1-git-send-email-jasowang@redhat.com> <5761418F.2050407@mojatatu.com> <5761422F.3010303@mojatatu.com> Cc: eric.dumazet@gmail.com, brouer@redhat.com From: Jason Wang Message-ID: <5762507A.4030801@redhat.com> Date: Thu, 16 Jun 2016 15:08:42 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <5761422F.3010303@mojatatu.com> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Thu, 16 Jun 2016 07:08:48 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2016年06月15日 19:55, Jamal Hadi Salim wrote: > On 16-06-15 07:52 AM, Jamal Hadi Salim wrote: >> On 16-06-15 04:38 AM, Jason Wang wrote: >>> We used to queue tx packets in sk_receive_queue, this is less >>> efficient since it requires spinlocks to synchronize between producer >> So this is more exercising the skb array improvements. For tun >> it would be useful to see general performance numbers on user/kernel >> crossing (i.e tun read/write). >> If you have the cycles can you run such tests? >> > Ignore my message - you are running pktgen from a VM towards the host. Actually reversed, test were done from an external host to VM. Thanks > So the numbers you posted are what i was interested in. > Thanks for the good work. > > cheers, > jamal >