[dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify master lcore id

2014-11-05 Thread Aaron Campbell
> On Nov 4, 2014, at 3:00 PM, Thomas Monjalon > wrote: > > 2014-11-03 13:02, Aaron Campbell: >>> On Jul 8, 2014, at 5:28 AM, Simon Kuenzer >>> wrote: >>> >>> + else if (!strcmp(lgopts[option_index].name, >>> OPT_MASTER_LCORE)) { >>> + if (!coremask

[dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify master lcore id

2014-11-04 Thread Thomas Monjalon
2014-11-03 13:02, Aaron Campbell: > > On Jul 8, 2014, at 5:28 AM, Simon Kuenzer > > wrote: > > > > + else if (!strcmp(lgopts[option_index].name, > > OPT_MASTER_LCORE)) { > > + if (!coremask_ok) { > > + RTE_LOG(ERR, EA

[dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify master lcore id

2014-11-03 Thread Thomas Monjalon
else could confirm my statement. > > > > Thanks, > > > > Simon > > > > On 23.07.2014 10:53, Hiroshi Shimamoto wrote: > >> Hi, > >> > >>> Subject: Re: [dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify > >>> m

[dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify master lcore id

2014-11-03 Thread Aaron Campbell
statement. > > Thanks, > > Simon > > On 23.07.2014 10:53, Hiroshi Shimamoto wrote: >> Hi, >> >>> Subject: Re: [dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify >>> master lcore id >>> >>> Hi Hiroshi, >>> >

[dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify master lcore id

2014-11-03 Thread Aaron Campbell
> On Jul 8, 2014, at 5:28 AM, Simon Kuenzer wrote: > > + else if (!strcmp(lgopts[option_index].name, > OPT_MASTER_LCORE)) { > + if (!coremask_ok) { > + RTE_LOG(ERR, EAL, "please specify the > master " > +

[dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify master lcore id

2014-08-04 Thread Hiroshi Shimamoto
Hi, > Subject: Re: [dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify master > lcore id > > 2014-07-23 08:53, Hiroshi Shimamoto: > > 2014-07-23 09:50, Thomas Monjalon: > > > 2014-07-22 23:40, Hiroshi Shimamoto: > > > > does anyone have interest i

[dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify master lcore id

2014-07-23 Thread Simon Kuenzer
". However, as far I could check it, the DPDK framework seems to cope with it correctly. It would be nice if somebody else could confirm my statement. Thanks, Simon On 23.07.2014 10:53, Hiroshi Shimamoto wrote: > Hi, > >> Subject: Re: [dpdk-dev] [PATCH] eal/linuxapp: Add paramete

[dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify master lcore id

2014-07-23 Thread Simon Kuenzer
On 23.07.2014 11:04, Thomas Monjalon wrote: > 2014-07-23 08:53, Hiroshi Shimamoto: >> 2014-07-23 09:50, Thomas Monjalon: >>> 2014-07-22 23:40, Hiroshi Shimamoto: does anyone have interest in this functionality? I think this is important and useful. Since we should care about cor

[dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify master lcore id

2014-07-23 Thread Thomas Monjalon
2014-07-23 08:53, Hiroshi Shimamoto: > 2014-07-23 09:50, Thomas Monjalon: > > 2014-07-22 23:40, Hiroshi Shimamoto: > > > does anyone have interest in this functionality? > > > > > > I think this is important and useful. > > > Since we should care about core assignment to get high performance > > >

[dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify master lcore id

2014-07-23 Thread Thomas Monjalon
Hi Hiroshi, 2014-07-22 23:40, Hiroshi Shimamoto: > does anyone have interest in this functionality? > > I think this is important and useful. > Since we should care about core assignment to get high performance > and the master lcore thread is special in DPDK, we will want to > assign the master

[dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify master lcore id

2014-07-23 Thread Hiroshi Shimamoto
Hi, > Subject: Re: [dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify master > lcore id > > Hi Hiroshi, > > 2014-07-22 23:40, Hiroshi Shimamoto: > > does anyone have interest in this functionality? > > > > I think this is important and useful.

[dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify master lcore id

2014-07-23 Thread Gray, Mark D
> Hi all, > > does anyone have interest in this functionality? Yes, I think this is useful for DPDK vSwitch. > > I think this is important and useful. > Since we should care about core assignment to get high performance and the > master lcore thread is special in DPDK, we will want to assign the

[dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify master lcore id

2014-07-22 Thread Hiroshi Shimamoto
I'd like to make a pair of packet processing threads into one physical core and separate the master thread which does some management. thanks, Hiroshi > Subject: Re: [dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify master > lcore id > > Comments? > > On 08.07.20

[dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify master lcore id

2014-07-21 Thread Simon Kuenzer
Comments? On 08.07.2014 11:42, Simon Kuenzer wrote: > Here are some comments about the use case of this patch: > > This patch is especially useful in cases where DPDK applications scale > their CPU resources at runtime via starting and stopping slave lcores. > Since the coremask defines the maximu

[dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify master lcore id

2014-07-08 Thread Simon Kuenzer
Here are some comments about the use case of this patch: This patch is especially useful in cases where DPDK applications scale their CPU resources at runtime via starting and stopping slave lcores. Since the coremask defines the maximum scale-out for such a application, the master lcore become

[dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify master lcore id

2014-07-08 Thread Simon Kuenzer
This commit enables users to specify the lcore id that is used as master lcore. Signed-off-by: Simon Kuenzer --- lib/librte_eal/linuxapp/eal/eal.c | 33 + 1 file changed, 33 insertions(+) diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp