From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 13FFF46534; Tue, 8 Apr 2025 15:06:06 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D5467410DF; Tue, 8 Apr 2025 15:06:01 +0200 (CEST) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by mails.dpdk.org (Postfix) with ESMTP id 0DFF040A89 for ; Tue, 8 Apr 2025 15:05:59 +0200 (CEST) Received: from mail.maildlp.com (unknown [172.19.88.194]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4ZX5nb0y7BzvX1k for ; Tue, 8 Apr 2025 21:01:55 +0800 (CST) Received: from kwepemo500011.china.huawei.com (unknown [7.202.195.194]) by mail.maildlp.com (Postfix) with ESMTPS id B0B6A1402CD for ; Tue, 8 Apr 2025 21:05:57 +0800 (CST) Received: from localhost.huawei.com (10.50.165.33) by kwepemo500011.china.huawei.com (7.202.195.194) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Tue, 8 Apr 2025 21:05:57 +0800 From: Dengdui Huang To: CC: , , , Subject: [RFC 0/1] support ThreadSanitizer Date: Tue, 8 Apr 2025 21:05:55 +0800 Message-ID: <20250408130556.1054041-1-huangdengdui@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.50.165.33] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To kwepemo500011.china.huawei.com (7.202.195.194) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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