DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Memory allocation limits
@ 2021-09-26 15:52 Mohammad Masumi
  2021-09-29  9:58 ` Thomas Monjalon
  0 siblings, 1 reply; 8+ messages in thread
From: Mohammad Masumi @ 2021-09-26 15:52 UTC (permalink / raw)
  To: users

Hi

I have HP server with 768GB memory 384GB in each Numa but I can't allocate
more than 64GB by rte_malloc by changing some parameters in rte_config.h it
increased to 128GB
How to increase heap size?

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: [dpdk-users] Memory allocation limits
@ 2022-04-01 20:43 Dave Sclarsky
  0 siblings, 0 replies; 8+ messages in thread
From: Dave Sclarsky @ 2022-04-01 20:43 UTC (permalink / raw)
  To: users

[-- Attachment #1: Type: text/plain, Size: 703 bytes --]

Hi, I'm have a similar problem (but with a dell server with 512GB memory, 256 in each numa).
I can only allocate 128GB, 64 from each NUMA.  If I try 130GB (65 from each numa), I get "eal_memalloc_alloc_seg_bulk(): couldn't find suitable memseg_list".
I tried changing the config variables mentioned in "3.1.4.5 Maximum Amount of Memory" , but no matter what I do to the RTE_MAX_MEMxxx values in rte_config.h the limit seems to be the same.  I tried multiplying all of them by 4,8,16...nothing helped. I also see that RTE_MAX_MEM_MB is "hard coded" to 524288 for ARCH_64 in meson.build, which should be enough so I didn't try to change that one.

Has anyone succeeded in allocating more than 128GB?

[-- Attachment #2: Type: text/html, Size: 2360 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: [dpdk-users] Memory allocation limits
@ 2022-04-01 21:42 Dave Sclarsky
  0 siblings, 0 replies; 8+ messages in thread
From: Dave Sclarsky @ 2022-04-01 21:42 UTC (permalink / raw)
  To: users

[-- Attachment #1: Type: text/plain, Size: 223 bytes --]

I apologize, I misread some numbers - I'm actually getting 128GB per numa!
I would still like to increase to get ~192GB per numa if possible!
BTW, I forgot to mention that I'm using DPDK 21.11...
Thanks for any advice!

[-- Attachment #2: Type: text/html, Size: 1796 bytes --]

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

end of thread, other threads:[~2022-04-01 21:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-26 15:52 [dpdk-users] Memory allocation limits Mohammad Masumi
2021-09-29  9:58 ` Thomas Monjalon
2021-09-29 10:14   ` Burakov, Anatoly
2021-09-29 11:12     ` Thomas Monjalon
2021-09-29 12:43       ` Burakov, Anatoly
2021-09-29 12:55         ` Thomas Monjalon
2022-04-01 20:43 Dave Sclarsky
2022-04-01 21:42 Dave Sclarsky

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	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

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


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