From: Stephen Hurd <shurd@broadcom.com>
To: Bruce Richardson <bruce.richardson@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v2] app/testpmd Fix max_socket detection
Date: Fri, 15 Jan 2016 00:59:37 +0000 [thread overview]
Message-ID: <156984479488CD49A184F5CAB4AF9346071A39E8@IRVEXCHMB14.corp.ad.broadcom.com> (raw)
In-Reply-To: <20160114134418.GA18000@bricha3-MOBL3>
Yes, this is cause a bug which prevents cross-socket testing... per michael.qiu@intel.com on Fri 12/18/2015 5:33 PM (unable to find email on the list)
>> Hi, Stephen
>>
>> I just see this patch and found some issue with it.
>>
>> When I start testpmd with -c 0x3 but with socket-num 1, that means run
>> lcore in socket 0, but want hugepage allocated in socket 1, in previous,
>> it works, I don't know why you force it in the socket lcore locates.I
>> would like to give a warning instead of failure. just like before:
>>
>> EAL: Requesting 512 pages of size 2MB from socket 1
>> EAL: TSC frequency is ~2294689 KHz
>> EAL: WARNING: Master core has no memory on local socket!
>>
>> After your patch:
>>
>> EAL: No probed ethernet devices
>> Interactive-mode selected
>> EAL: Error - exiting with code: 1
>> Cause: The socket number should be < 1
>>
His example command was:
./testpmd -c 0x3 -n 4 -- -i -socket-num=1
-- Stephen Hurd
-----Original Message-----
From: Bruce Richardson [mailto:bruce.richardson@intel.com]
Sent: Thursday, January 14, 2016 5:44 AM
To: Stephen Hurd
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v2] app/testpmd Fix max_socket detection
On Wed, Jan 13, 2016 at 02:23:36PM -0800, Stephen Hurd wrote:
> Previously, max_socket was set to the highest numbered socket with
> an enabled lcore. The intent is to set it to the highest socket
> regardless of it being enabled.
>
Can you clarify why this changes is necessary? Is it causing a bug somewhere?
thanks,
/Bruce
next prev parent reply other threads:[~2016-01-15 0:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <533710CFB86FA344BFBF2D6802E6028621BAF050@SHSMSX101.ccr.corp.intel.com>
[not found] ` <156984479488CD49A184F5CAB4AF93460719DEC4@IRVEXCHMB14.corp.ad.broadcom.com>
[not found] ` <533710CFB86FA344BFBF2D6802E6028621BAF45F@SHSMSX101.ccr.corp.intel.com>
[not found] ` <156984479488CD49A184F5CAB4AF93460719E1D1@IRVEXCHMB14.corp.ad.broadcom.com>
2015-12-19 1:33 ` [dpdk-dev] Issue with patch "app/testpmd: detect numa socket count" Qiu, Michael
2016-01-13 22:20 ` [dpdk-dev] [PATCH] app/testpmd Fix max_socket detection Stephen Hurd
2016-01-13 22:23 ` [dpdk-dev] [PATCH v2] " Stephen Hurd
2016-01-14 13:44 ` Bruce Richardson
2016-01-15 0:59 ` Stephen Hurd [this message]
2016-01-15 1:01 ` Stephen Hurd
2016-01-15 10:42 ` Bruce Richardson
2016-03-02 11:04 ` De Lara Guarch, Pablo
2016-03-05 19:10 ` Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=156984479488CD49A184F5CAB4AF9346071A39E8@IRVEXCHMB14.corp.ad.broadcom.com \
--to=shurd@broadcom.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).