From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 587699AAD for ; Wed, 25 Feb 2015 10:19:33 +0100 (CET) Received: by wgha1 with SMTP id a1so2322479wgh.5 for ; Wed, 25 Feb 2015 01:19:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=tuViL0mtPu5RDr9o7Mp0E6Ubp8k8+7lTxmSdldc7lVE=; b=JDuPFWleKNnR3udyM9ZoEE47/MYMQHx1FQDBJH09MHOQeAterfYKLp+MTn4253uNzC BTADAG0bl1lKmqUUOZ1YI1jIWvYYYXK1ZyWOsAs0ULTxUIvCp9MURU4L9GyoErJs28KS Sphc3FWnDPhU5plCyD/kcivMfjSaiNCEWI3UWFdtWsG54juAoZoDICR3AqXspEV7A8jF 10UemdcWfJgdK45JGZtnLwpF0tSFRBo45b1DpmkkkAATBnd34DuSU+O8abmz3WilaHu3 Ik/BiT8R7pMl4WyNvk0ZDPM6GWR2WKimBmQxxrPKz6ob4Mgyl89FvHYItcztAeMONmGp W/Hw== X-Gm-Message-State: ALoCoQnh0+2ocG3YQ8mBJMkzyN+K1RAN3ink/tBfA8HRaqxKQix7aljr4bck6EHiUTGjTDcn4cjh X-Received: by 10.194.239.129 with SMTP id vs1mr4272213wjc.158.1424855973163; Wed, 25 Feb 2015 01:19:33 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id cb9sm7616570wib.10.2015.02.25.01.19.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Feb 2015 01:19:32 -0800 (PST) From: Thomas Monjalon To: Stephen Hemminger Date: Wed, 25 Feb 2015 10:18:58 +0100 Message-ID: <203551478.oOl1MzYCiU@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: <20150224233651.5e27e791@urahara> References: <20150224161609.15f590df@urahara> <20150224233651.5e27e791@urahara> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, "Nemeth, Balazs" 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 09:19:33 -0000 2015-02-24 23:36, Stephen Hemminger: > 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. Yes, improvements are welcome.