DPDK patches and discussions
 help / color / mirror / Atom feed
From: Dengdui Huang <huangdengdui@huawei.com>
To: <dev@dpdk.org>
Cc: <lihuisong@huawei.com>, <fengchengwen@huawei.com>,
	<haijie1@huawei.com>, <liuyonglong@huawei.com>
Subject: [RFC 0/1] support ThreadSanitizer
Date: Tue, 8 Apr 2025 21:05:55 +0800	[thread overview]
Message-ID: <20250408130556.1054041-1-huangdengdui@huawei.com> (raw)

When I tried to enable TSan on DPDK using this patch, DPDK cannot be initialized.

When the DPDK initializes the memseg, a large number of address space is reserved.
However, The introduction of ThreadSanitizer brings a large amount of memory overhead.
As a result, the address space is insufficient and the DPDK cannot be initialized.

I fixed it by changing the value of the macro RTE_MAX_MEM_MB,
but I know that's not a good idea. Suggestions are welcome.

Dengdui Huang (1):
  build: support ThreadSanitizer

 config/meson.build | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

-- 
2.33.0


             reply	other threads:[~2025-04-08 13:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-08 13:05 Dengdui Huang [this message]
2025-04-08 13:05 ` [RFC 1/1] build: " Dengdui Huang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250408130556.1054041-1-huangdengdui@huawei.com \
    --to=huangdengdui@huawei.com \
    --cc=dev@dpdk.org \
    --cc=fengchengwen@huawei.com \
    --cc=haijie1@huawei.com \
    --cc=lihuisong@huawei.com \
    --cc=liuyonglong@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).