From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f170.google.com (mail-wr0-f170.google.com [209.85.128.170]) by dpdk.org (Postfix) with ESMTP id 5E9CE11DE for ; Thu, 16 Mar 2017 19:13:20 +0100 (CET) Received: by mail-wr0-f170.google.com with SMTP id l37so37752592wrc.1 for ; Thu, 16 Mar 2017 11:13:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=YBh2KLeLLke+Jk8KpM58OLwVF0Eg8mBW5/Wdz59QTxk=; b=mJMqPK2wtjVH+Jgs4eU0DUitE8KtoG27C+3I8iE0Tr9vHLmiUHvAdR/rLPS+e08Lmj wvj+/28hMv1rkv9nfSF/t6/t8Zn+OMS04k8vDnWmpCxDDrXLdWvk8xLh5KppgycaMyoQ gkhotYptLuiPykAVobL4c5c3IHjLYbq9ZeFxMBViQ5HTprM4Zc4NpwBqiRc/aFLKQsHB AQLpEGGHEGpucpyiKGl8nIyBeHiaKnH+Hgf5nZWQvn6ETUQ4XA9U8OKsXOagUPr8Yc64 vFOrcaRP+pmgzg5IF3NO+hUTrVJ+tit757DHTIcSEqWNb/bpRUPb7erFjUeg4nhWmCD2 UUrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=YBh2KLeLLke+Jk8KpM58OLwVF0Eg8mBW5/Wdz59QTxk=; b=fZtnShNjH9LVwoMbhPi0deQx5dcGG/3YHLrq30gu1A7CbcGnFrkimSXPPoEtSFnFoz SnOpDnp3/v+wNlrEYJ96GIIIMmvRIZVE2oX35gYkN+Vockb/RRnq2n+8aAMYZXhXSWhU OTaA0bjsyfhxZAslgaa57GYgcape60laEgrJx+vHLqRdvij9a3ivZFbC4g9nFmpRJiLQ 2x9Ukk4NOWNbddcu2O9vTNczNuikGvS52E9RqvidgYD3dFndx/K+nQuyyX/vRfEQlV4t Yeve8upPyBTh55hchOoX+LXHM63REMM9dtUvGKpn9KkTmqLQztdRS3vqDqNz0h6BFFxy UoAA== X-Gm-Message-State: AFeK/H1a9Qq1pdXNGV6nY2gD7oMvtcwyTD9Y4nKjoo/B0OhCSI8uzNAvxqnDI47lwktY0Oq5 X-Received: by 10.223.135.85 with SMTP id 21mr9382850wrz.93.1489687999954; Thu, 16 Mar 2017 11:13:19 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id g23sm5174343wme.8.2017.03.16.11.13.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Mar 2017 11:13:19 -0700 (PDT) From: Thomas Monjalon To: Christian Ehrhardt , Luca Boccassi Cc: dev@dpdk.org, Stefan Bader , Bruce Richardson Date: Thu, 16 Mar 2017 19:13:18 +0100 Message-ID: <3213326.Aurjhl68Q7@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1481570642-15138-1-git-send-email-lboccass@brocade.com> <3810875.kgVK3RKdmy@xps13> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] SDK: Add scripts to initialize DPDK runtime X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2017 18:13:20 -0000 2017-01-12 15:43, Christian Ehrhardt: > On Mon, Dec 19, 2016 at 4:15 PM, Thomas Monjalon > wrote: > > > Thanks for sending your Debian/Ubuntu work. > > > > 2016-12-13 16:47, Luca Boccassi: > > > From: Christian Ehrhardt > > > > > > A tools/init directory is added with dpdk-init, a script that can be > > > used to initialize a DPDK runtime environment. 2 config files with > > > default options, dpdk.conf and interfaces, are provided as well > > > together with a SysV init script and a systemd service unit. > > > > I have 2 concerns: > > > > - What does exactly mean "initialize a DPDK runtime environment"? > > Should it be documented somewhere? > > > > Sorry for the late reply, Luca made me aware that this was lost in the > Christmas hole. > It means that you make a system config ready to be used in a persistent way > e.g. cross reboots. > > The common steps to prep a system in that regard are assigning a set of > cards to dpdk (=>dpdk-devbind) and furthermore to set up hugepages as > needed. > The latter is only a simple helper for the convenience of the admin. It can > suit 95% of the cases but if someone has something very specific in mind a > manual hugepage setup might be needed. > > The conf files themself have comment on their usage. > I'm not sure how much more (on top of the comments in the config files) a > doc might be useful. > But then that might just be because I happen to know about that stuff. > We could hapilly copy the bit we have about it at > https://help.ubuntu.com/16.04/serverguide/DPDK.html#dpdk-config-dev > https://help.ubuntu.com/16.04/serverguide/DPDK.html#dpdk-config-hp > > Luca/Thomas - what do you think about that? I was just thinking about indicating in the Linux starting guide that the DPDK environment can be configured in some system files. While I see the benefit of such configuration, I am not sure we should configure the DPDK itself. We could have several applications using DPDK with different configurations. Do you think you could rework it in a way it can be integrated by applications in their own configuration? More opinions from users and integrators would be welcome here.