From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ig0-f181.google.com (mail-ig0-f181.google.com [209.85.213.181]) by dpdk.org (Postfix) with ESMTP id 96EC79AAF for ; Wed, 25 Feb 2015 08:36:50 +0100 (CET) Received: by mail-ig0-f181.google.com with SMTP id hn18so3712882igb.2 for ; Tue, 24 Feb 2015 23:36:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=YbmMabyJBdpKZfBO3U6CVICq7UugiXIKJKIVMh4p14k=; b=mRJRddyXcjngIYkGmdhhLCLqA06VSb1RPnnKncvZERrQRhthad1MIvMSDz8HXI8szc NIWs+WKhuks7xNuiBR9a9BXSal9YjKe6gd82/6+VMMN8+hL3zdQUZt3jG31xnTr7EV9z 3Zc4Oi0sraPE1f7Qa9xxHIcXdK/v4VYa+EczZeCZjxoZU3gB5qFPBbUbAdPyWvGwecxa kvQbzIo/8lrerEzqAZ31zVA2pCl8q3zA22ODIG2qNpIh/h0Cj6DBKIm5pOYf0X5yr0HA 1/3d0rlJ/H/hPXBhb8NkZzS+zRJVQAxLIu7WHG8fNNlx6dKtRT4zlyKkbO76qP2Ed/1m 6Vkw== X-Gm-Message-State: ALoCoQnmuvxL4zZJOOPGD6WKErIBFvfad/SZCcCcJdsk6mbDPksk5tY317lgoR0pBlwi/ei5NTAJ X-Received: by 10.42.71.194 with SMTP id l2mr2256477icj.71.1424849809870; Tue, 24 Feb 2015 23:36:49 -0800 (PST) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id o198sm19101436ioo.34.2015.02.24.23.36.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Feb 2015 23:36:49 -0800 (PST) Date: Tue, 24 Feb 2015 23:36:51 -0800 From: Stephen Hemminger To: "Liang, Cunming" Message-ID: <20150224233651.5e27e791@urahara> In-Reply-To: References: <20150224161609.15f590df@urahara> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "Nemeth, Balazs" , "dev@dpdk.org" Subject: Re: [dpdk-dev] ixgbe vector mode not working. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2015 07:36:51 -0000 On Wed, 25 Feb 2015 04:55:09 +0000 "Liang, Cunming" wrote: > Hi Stephen, > > I tried on the latest mater branch with testpmd. > 2 rxq and 2 txq as below, vector pmd on both rx and tx. I can't reproduced it. > I checked your log, on tx side, it looks the tx vector haven't enabled. (it shows vpmd on rx, spmd on tx). > Would you help to share the below params in your app ? > RX desc=128 - RX free threshold=32 > TX desc=512 - TX free threshold=32 > TX RS bit threshold=32 - TXQ flags=0xf01 > As in your case which using 2 rxq and 1 txq, would you explain the traffic flow between them. > One thread polling packets from each rxq and send to the specified txq ? Basic thread model of application is same as examples/qos_sched. On ixgbe: RX desc = 4000 - RX free threshold=32 TX desc = 512 - TX free threshold=0 so driver sets default of 32 I was setting rx/tx conf but since examples don't went away from that. The whole RX/TX tuning parameters are a very poor programming model only a hardware engineer could love. Requiring the application to look at driver string and choose the magic parameter settings, is in my opnion an indication of using incorrect abstraction.