[spp] [Bug 443] spp primary takes up the complete hugepages

bugzilla at dpdk.org bugzilla at dpdk.org
Thu Apr 23 04:23:48 CEST 2020


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

--- Comment #11 from Vipin Varghese (vipin.varghese at intel.com) ---
Hi Hideyuki,

thanks for your updates. Summarizing your findings

1. The issue can be reproduced.
2. The parameter ```--socket-mem=100,100 --socket-limit=10,10 ``` did not make
difference for you.

My Answers

1. you can move the status of the bug to `confirmed`.
2. The parameter usage ```--socket-mem=100,100 --socket-limit=10,10``` is not
correct.

Let me explain:

a. option ```socket-mem`` defines the minimum amount memory to be used form
huge page.
b. option ```socket-limit``` defines the max limit the memory to be used from
huge page.

Hence if you want to use memory from 
1. NUMA-0, it should be ```--socket-limit=100,1 --socket-mem=1024,1```
2. NUMA-1, it should be ```--socket-limit=1,100 --socket-mem=1,1024```
3. NUMA-0 and NUMA-1, it should be ```--socket-limit=100,100
--socket-mem=1024,1024```

This prevents primary or secondaries hijacking huge pages beyond
```socket-limit```

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


More information about the spp mailing list