DPDK usage discussions
 help / color / Atom feed
* [dpdk-users]  DPDK 19.11 can't work in a multi PRIMARY mode
@ 2020-07-05 14:49 Yan Fridland
  2020-07-05 15:45 ` Cliff Burdick
  0 siblings, 1 reply; 4+ messages in thread
From: Yan Fridland @ 2020-07-05 14:49 UTC (permalink / raw)
  To: users

Hi Guys,

I am trying to use the --file-prefix to run several independent PRIMARY processes on the same VM (--proc-type=primary for all the processes). 
The problem is that it doesn’t work and I am getting the following error:

"EAL: Cannot create lock on '/var/run/dpdk/rte/config'. Is another primary process running?"

Can anyone assist in resolving this issue ?


Thanks
Yan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] DPDK 19.11 can't work in a multi PRIMARY mode
  2020-07-05 14:49 [dpdk-users] DPDK 19.11 can't work in a multi PRIMARY mode Yan Fridland
@ 2020-07-05 15:45 ` Cliff Burdick
  2020-07-05 18:03   ` Yan Fridland
  2020-07-06 13:52   ` Yan Fridland
  0 siblings, 2 replies; 4+ messages in thread
From: Cliff Burdick @ 2020-07-05 15:45 UTC (permalink / raw)
  To: Yan Fridland; +Cc: users

Can you paste the whole command you're running? --file-prefix with
unique strings afterward should allow you to do that.

On Sun, Jul 5, 2020 at 7:49 AM Yan Fridland <yan@asocscloud.com> wrote:

> Hi Guys,
>
> I am trying to use the --file-prefix to run several independent PRIMARY
> processes on the same VM (--proc-type=primary for all the processes).
> The problem is that it doesn’t work and I am getting the following error:
>
> "EAL: Cannot create lock on '/var/run/dpdk/rte/config'. Is another primary
> process running?"
>
> Can anyone assist in resolving this issue ?
>
>
> Thanks
> Yan
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] DPDK 19.11 can't work in a multi PRIMARY mode
  2020-07-05 15:45 ` Cliff Burdick
@ 2020-07-05 18:03   ` Yan Fridland
  2020-07-06 13:52   ` Yan Fridland
  1 sibling, 0 replies; 4+ messages in thread
From: Yan Fridland @ 2020-07-05 18:03 UTC (permalink / raw)
  To: Cliff Burdick; +Cc: users

Hi Cliff,

Sure, here it is:

-l ‘1-3’-n 4 --proc-type=primary --file-prefix=rte_10000 --socket-mem=2000


Thanks,
Yan

From: Cliff Burdick <shaklee3@gmail.com>
Sent: Sunday, July 5, 2020 6:45 PM
To: Yan Fridland <yan@asocscloud.com>
Cc: users <users@dpdk.org>
Subject: Re: [dpdk-users] DPDK 19.11 can't work in a multi PRIMARY mode

Can you paste the whole command you're running? --file-prefix with unique strings afterward should allow you to do that.

On Sun, Jul 5, 2020 at 7:49 AM Yan Fridland <yan@asocscloud.com<mailto:yan@asocscloud.com>> wrote:
Hi Guys,

I am trying to use the --file-prefix to run several independent PRIMARY processes on the same VM (--proc-type=primary for all the processes).
The problem is that it doesn’t work and I am getting the following error:

"EAL: Cannot create lock on '/var/run/dpdk/rte/config'. Is another primary process running?"

Can anyone assist in resolving this issue ?


Thanks
Yan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] DPDK 19.11 can't work in a multi PRIMARY mode
  2020-07-05 15:45 ` Cliff Burdick
  2020-07-05 18:03   ` Yan Fridland
@ 2020-07-06 13:52   ` Yan Fridland
  1 sibling, 0 replies; 4+ messages in thread
From: Yan Fridland @ 2020-07-06 13:52 UTC (permalink / raw)
  To: Cliff Burdick; +Cc: users

I’ve noticed that the string “--in-memory” is mandatory in this mode. However, it was not mentioned in the documentation in the website and the description was a bit not clear:
“Do not create any shared data structures and run entirely in memory.”

I must say that in EAL help its much clearer: “Operate entirely in memory. This will disable secondary process support”

Thanks,
Yan

From: Cliff Burdick <shaklee3@gmail.com>
Sent: Sunday, July 5, 2020 6:45 PM
To: Yan Fridland <yan@asocscloud.com>
Cc: users <users@dpdk.org>
Subject: Re: [dpdk-users] DPDK 19.11 can't work in a multi PRIMARY mode

Can you paste the whole command you're running? --file-prefix with unique strings afterward should allow you to do that.

On Sun, Jul 5, 2020 at 7:49 AM Yan Fridland <yan@asocscloud.com<mailto:yan@asocscloud.com>> wrote:
Hi Guys,

I am trying to use the --file-prefix to run several independent PRIMARY processes on the same VM (--proc-type=primary for all the processes).
The problem is that it doesn’t work and I am getting the following error:

"EAL: Cannot create lock on '/var/run/dpdk/rte/config'. Is another primary process running?"

Can anyone assist in resolving this issue ?


Thanks
Yan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-05 14:49 [dpdk-users] DPDK 19.11 can't work in a multi PRIMARY mode Yan Fridland
2020-07-05 15:45 ` Cliff Burdick
2020-07-05 18:03   ` Yan Fridland
2020-07-06 13:52   ` Yan Fridland

DPDK usage discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/ public-inbox