Soft Patch Panel
 help / color / Atom feed
* [spp] [Bug 442] disable ASLR is been highly recommended
@ 2020-04-06  6:19 bugzilla
  2020-04-08  1:04 ` bugzilla
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla @ 2020-04-06  6:19 UTC (permalink / raw)
  To: spp

https://bugs.dpdk.org/show_bug.cgi?id=442

            Bug ID: 442
           Summary: disable ASLR is been highly recommended
           Product: SPP
           Version: unspecified
          Hardware: All
               URL: http://doc.dpdk.org/spp/setup/getting_started.html
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: main
          Assignee: yasufum.o@gmail.com
          Reporter: vipin.varghese@intel.com
                CC: spp@dpdk.org
  Target Milestone: ---

section: 1.1.3
reason: running primary-secondary recommendation is stated as `disable ASLR`

the recommended way should be to try `--base-virtaddr and
--single-file-segments`

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [spp] [Bug 442] disable ASLR is been highly recommended
  2020-04-06  6:19 [spp] [Bug 442] disable ASLR is been highly recommended bugzilla
@ 2020-04-08  1:04 ` bugzilla
  2020-04-08  2:37 ` bugzilla
  2020-04-08  2:40 ` bugzilla
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla @ 2020-04-08  1:04 UTC (permalink / raw)
  To: spp

https://bugs.dpdk.org/show_bug.cgi?id=442

Itsuro Oda (oda@valinux.co.jp) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oda@valinux.co.jp

--- Comment #1 from Itsuro Oda (oda@valinux.co.jp) ---
It is a work around that is necessary to use vhost PMD from secondary processes
at the moment.
There is a case that a secondary process try to free a mempool that was created
by another secondary process (although it is not intentional). The free
function address that is registered at the creation is used to free mempool. If
the free function address is different among secondary processes, segmentation
fault will occur at freeing mempool.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [spp] [Bug 442] disable ASLR is been highly recommended
  2020-04-06  6:19 [spp] [Bug 442] disable ASLR is been highly recommended bugzilla
  2020-04-08  1:04 ` bugzilla
@ 2020-04-08  2:37 ` bugzilla
  2020-04-08  2:40 ` bugzilla
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla @ 2020-04-08  2:37 UTC (permalink / raw)
  To: spp

https://bugs.dpdk.org/show_bug.cgi?id=442

--- Comment #2 from Vipin Varghese (vipin.varghese@intel.com) ---
here are my thoughts

There are 3 mentioned use cases with SPP

a. RING - can work with base-virtaddr
b. PCAP - can work with base-virtaddr
c. VHOST - primary-secondary on the same os works with base-virtaddr

explained use case:
a. vhost - primary on host os and secondary on host os. 

why not look for MEM-IF copy/zero-copy mode instead of VHOST PMD is not used in
guest (in your use cases).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [spp] [Bug 442] disable ASLR is been highly recommended
  2020-04-06  6:19 [spp] [Bug 442] disable ASLR is been highly recommended bugzilla
  2020-04-08  1:04 ` bugzilla
  2020-04-08  2:37 ` bugzilla
@ 2020-04-08  2:40 ` bugzilla
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla @ 2020-04-08  2:40 UTC (permalink / raw)
  To: spp

https://bugs.dpdk.org/show_bug.cgi?id=442

--- Comment #3 from Vipin Varghese (vipin.varghese@intel.com) ---
If the argument is usign VHOST between primary on host and secondary on guest,
please explain.

1. how does ASLR on primary (host) affect secondary (guest)? 
2. is not zero-copy disabled on RX side in guest for security reason?
3. there are no mention in
`https://doc.dpdk.org/spp/setup/performance_opt.html#optimizing-qemu-performance`
for rx zero copy or tx zero copy.

can you please explain the context please.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ 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-04-06  6:19 [spp] [Bug 442] disable ASLR is been highly recommended bugzilla
2020-04-08  1:04 ` bugzilla
2020-04-08  2:37 ` bugzilla
2020-04-08  2:40 ` bugzilla

Soft Patch Panel

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/spp/0 spp/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 spp spp/ http://inbox.dpdk.org/spp \
		spp@dpdk.org
	public-inbox-index spp


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


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