From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id E7EA72A9 for ; Tue, 2 Dec 2014 11:01:31 +0100 (CET) Received: by mail-wg0-f54.google.com with SMTP id l2so16516898wgh.13 for ; Tue, 02 Dec 2014 02:01:31 -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=jibw4ff2OztG7WuqJNQdqmEZKq14ZWZF2e5euytQX/g=; b=U8CxfopZcl61celR5e1rYXOYgIGEKatKXefxe4boRF89lHR0NM9JrqYLdjIQM3zMyI /MmGDv+mfdAowcrRcZeGn05np+NLe+nf4Yaz0qgXYiHKARDCEeul5Yb+Srf2w/oOxQOY wnwJsG/RJq7aEvPL83UbtX8YuFsJHtnwAdZST2g1ma5aaJV8HRGx6i6Ti63jLt6HUHGT Ed/DqVZ9nnSTv0sXu8EQmO/3dgShY3EF7u2xhzyqMuj43vxsgHg0DlgNg4vO9JDwqhLK qQS94dXrlC/qU6Kq3p0pU+pxEf3FwQnzGA2HWT40/Km8Udfh7JFKDE2X4nFi2kUPCuqr uiCw== X-Gm-Message-State: ALoCoQmNxw+LL3MjlnTnMtBWVPy/uZ+MBOpfsKrfoNG+eKA0kqEXxdYJFkIv1SMI/D9jk321L9QG X-Received: by 10.194.133.66 with SMTP id pa2mr56487643wjb.134.1417514491718; Tue, 02 Dec 2014 02:01:31 -0800 (PST) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id gi5sm31217172wjd.26.2014.12.02.02.01.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Dec 2014 02:01:31 -0800 (PST) From: Thomas Monjalon To: "Chi, Xiaobo (NSN - CN/Hangzhou)" Date: Tue, 02 Dec 2014 11:01:03 +0100 Message-ID: <2039360.IUUcaknktz@xps13> Organization: 6WIND User-Agent: KMail/4.14.3 (Linux/3.17.4-1-ARCH; KDE/4.14.3; x86_64; ; ) In-Reply-To: References: <1417513268-6040-1-git-send-email-xiaobo.chi@nsn.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] add one option memory-only for those secondary PRBs 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: Tue, 02 Dec 2014 10:01:32 -0000 Hi, 2014-12-02 09:55, Chi, Xiaobo: > Problem: > Here, these DPDK based SECONDARY processes need only the DPDK's hugepage > based sharememory mechanism and it's upper libs (such as ring, mempool, > etc.), they need not cpu core pinning, iopl privilege changing , pci device, > timer, alarm, interrupt, shared_driver_list, core_info, threads for each > core, etc. Then, for such kind of SECONDARY processes, the current > rte_eal_init() is too heavy. > I have seen some others also met similar troubles. > > Solution: > One new EAL initializing argument, --memory-only, is added. It is only for > those SECONDARY processes which only want to share memory with primary > process. When this argument is defined, users need not define those > madentory arguments, such as "-c xx -n xx", due to we don't want to pin such > kind of processes to any CPUs. That's exactly the type of things that you should put in the commit log. It misses also a Signed-off-by. All guidelines are explained in this page: http://dpdk.org/dev#send Please check your patch with checkpatch for indentation and other details. -- Thomas