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 3DEF8A0540 for ; Wed, 6 Jul 2022 14:04:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C63E440A7F; Wed, 6 Jul 2022 14:04:31 +0200 (CEST) Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2071.outbound.protection.outlook.com [40.107.117.71]) by mails.dpdk.org (Postfix) with ESMTP id 4631E40691 for ; Wed, 6 Jul 2022 14:04:29 +0200 (CEST) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=B8lmcfhPZAXtL1TD7r2fYfVyngXb1uz9DV8h2zFEkTCYkTLY37QWeup4Mg2y1IJUEiMxmE5SE3QlcemxMO1N/EDgayevhPuv47m//d8NKwI3NbS/bB1KrGmfz+PfUHe/E7eHAZlA0R0c+AfyMDOeG/wCzyXDKScNOVpmozb588kP9tNAQiDlsRYbPf2SUEUsTqiWLDwQS6tUtc0rVoecDavoi5/9CgAKNwckT16OlcoJvE+kjWkZqO06LQh2fLwN3HVB3edcvscNUVb+EOGmYYXCTmtottVzmudoifQv03UUBzh48HDcAyWT1ifqhCsBjS1RRcfrViH7n/c6fEJXKw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4qa8lMfiHXyWDsF+HwcZ1OaCK8UMHeLzxyP3zIsa54k=; b=J5U/UF5x95BAbC/aZCMp59iMbOd2FBOcENfsJLDlfmBYek7ois3P2zuazAdnr3HnZEpU/Kqgf2YqGgzXUwWK3CEEhGC/bpra1/TBtN7QRovz55k6pRXqcEohEqc4oTomHiJk4HmYPBVZl6yUTTebWfCjYFunRXkuB1UempK2T1NvM/7w2cWWNWyght+9WEI4hVdGJzlVAvcK+G8AjjNwqffplWpkK9Nps4LJ5zevHlLj2UCIlT/ESG9n49IOnJvGTsj++dxsdbhdcNQ8XzW9/4ZUuCdqWev0pycT3kCtjlV6J8qQ9/fVdp1yw2k+eJk/OxCKmCOTjMXe0FhG+vG9/w== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 54.79.123.149) smtp.rcpttodomain=dpdk.org smtp.mailfrom=tatacommunications.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=tatacommunications.com; dkim=pass (signature was verified) header.d=tatacommunications.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=tatacommunications.com] dkim=[1,1,header.d=tatacommunications.com] dmarc=[1,1,header.from=tatacommunications.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tatacommunications.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4qa8lMfiHXyWDsF+HwcZ1OaCK8UMHeLzxyP3zIsa54k=; b=GDN80d21VyODcmj2LvQAqOm5yQEbJRFpAE6ng7Vs6oJcvijZpMtVbSY9wWtgvehEWZ66DZ5sHP/TIOupbradZ4dpyB3MPH72ERcI1x8TW1HyKzKWZBNphYVydpXwZ9LdFCc1rMIJtnCAG37WCBuLriRm45KFF67CDeZ59jfBfzHq5cHjcK0EHx+VFZYPpquxzUEPIU+UlO9EKSIDAqlwIGwLLXEBtwaXt8hMyoiUVMDcF5OhZKQxq2RS7QTwoY5sdE362dSwg2yiq7NRbO0AJ2ebbcvAJQJknFefbqhsurw+Vs3AT8moPXBB5X19GEiFupdNEUir+BSCfg5EtbiJNA== Received: from SL2P216CA0079.KORP216.PROD.OUTLOOK.COM (2603:1096:101:2::12) by SEZPR04MB6140.apcprd04.prod.outlook.com (2603:1096:101:97::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15; Wed, 6 Jul 2022 12:04:26 +0000 Received: from PSAAPC01FT046.eop-APC01.prod.protection.outlook.com (2603:1096:101:2:cafe::35) by SL2P216CA0079.outlook.office365.com (2603:1096:101:2::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15 via Frontend Transport; Wed, 6 Jul 2022 12:04:26 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 54.79.123.149) smtp.mailfrom=tatacommunications.com; dkim=pass (signature was verified) header.d=tatacommunications.com;dmarc=pass action=none header.from=tatacommunications.com; Received-SPF: Pass (protection.outlook.com: domain of tatacommunications.com designates 54.79.123.149 as permitted sender) receiver=protection.outlook.com; client-ip=54.79.123.149; helo=sydapipop-haraka-inline01.vpc-a3a96cc4.ase2.shn; pr=C Received: from sydapipop-haraka-inline01.vpc-a3a96cc4.ase2.shn (54.79.123.149) by PSAAPC01FT046.mail.protection.outlook.com (10.13.38.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15 via Frontend Transport; Wed, 6 Jul 2022 12:04:25 +0000 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01lp2048.outbound.protection.outlook.com [104.47.110.48]) by sydapipop-haraka-inline01.vpc-a3a96cc4.ase2.shn (Haraka/2.8.24) with ESMTPS id 782D7B4C-63ED-4DE8-B07C-14148EFD79A3.1 envelope-from (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Wed, 06 Jul 2022 12:04:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=btrFBh4BxeIMQVWRJDnB1w5YRJl8vIz9YAsd7z29cIl0KiiwKbMzXn0aORO2CABjFf20E0/tIf4DLl541Cc9/2+fGbIeNHkHaGU7xckLDR3WuyYgX/n1nu26RpwWFvoe18sMk6c2ldqQBjw7rT2GYZTsfgPjlv1XgrTvZVYVbcX6JNURS2+Q1z49GndIAjPmh8Q7CL/5pIhvOwg6Va6Li1RTStxa1ql9LKaYg1mEHof79P/esp0x4rsuhZ1r5AKHSueaU4F5B3k8Q3mu92xesKAs/9eVo8TcWeuA8eTiQh/guJiiKHsDeeO5LM4N4MyhUKp694Kdwc9QyE2w+gVT/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4qa8lMfiHXyWDsF+HwcZ1OaCK8UMHeLzxyP3zIsa54k=; b=RrnSZo6EKo2xSJC8dnD9brSYe0Z97DReFsUBlu7IbFl2v/buA3tEJDigZO544X8EvCu9MCbR82TSq0l5EmnDvrKaEDvb+879wJkPQi+1KKG2VyGIl4bEcEqAnPotExrHY2rp5CzXvurw41te7M7rhRYWYkGCig5jo2ttf8/+YTEqOLuEclNt4yGua/cdnR5tMnb/ysp67ShzQj5aIlkj0oRE8B7i++0PwwsxGlJJb2Ci5neGPtaAl11Qw4tkZolaVk1RUtkWySY7Bn8V+SB3fBSYP4nP3PQk+L9boHEVTz6oGZabjTcmg/yhD8VsHMrfusyxRglwa6GyHkoHDmGaNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=tatacommunications.com; dmarc=pass action=none header.from=tatacommunications.com; dkim=pass header.d=tatacommunications.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tatacommunications.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4qa8lMfiHXyWDsF+HwcZ1OaCK8UMHeLzxyP3zIsa54k=; b=GDN80d21VyODcmj2LvQAqOm5yQEbJRFpAE6ng7Vs6oJcvijZpMtVbSY9wWtgvehEWZ66DZ5sHP/TIOupbradZ4dpyB3MPH72ERcI1x8TW1HyKzKWZBNphYVydpXwZ9LdFCc1rMIJtnCAG37WCBuLriRm45KFF67CDeZ59jfBfzHq5cHjcK0EHx+VFZYPpquxzUEPIU+UlO9EKSIDAqlwIGwLLXEBtwaXt8hMyoiUVMDcF5OhZKQxq2RS7QTwoY5sdE362dSwg2yiq7NRbO0AJ2ebbcvAJQJknFefbqhsurw+Vs3AT8moPXBB5X19GEiFupdNEUir+BSCfg5EtbiJNA== Received: from PSAPR04MB5516.apcprd04.prod.outlook.com (2603:1096:301:5c::9) by TY0PR04MB5911.apcprd04.prod.outlook.com (2603:1096:400:215::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15; Wed, 6 Jul 2022 12:04:21 +0000 Received: from PSAPR04MB5516.apcprd04.prod.outlook.com ([fe80::35fb:34da:9cee:9730]) by PSAPR04MB5516.apcprd04.prod.outlook.com ([fe80::35fb:34da:9cee:9730%6]) with mapi id 15.20.5395.015; Wed, 6 Jul 2022 12:04:21 +0000 From: Balakrishnan K To: "Pathak, Pravin" , "users@dpdk.org" Subject: RE: how to run dpdk app with valgrind Thread-Topic: how to run dpdk app with valgrind Thread-Index: AdiQXxK8jOayjVGqRWiASPHm8mOcWwAEzIIAACKYc+AADEZd0AAAiAmg Date: Wed, 6 Jul 2022 12:04:21 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_ActionId=4c11766c-6b01-40e6-9d8d-81af71c46189; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_ContentBits=0; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_Enabled=true; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_Method=Privileged; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_Name=General-Test; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_SetDate=2022-07-05T11:10:35Z; MSIP_Label_5cbf6393-50e2-4904-bc3e-1804619f2b03_SiteId=20210462-2c5e-4ec8-b3e2-0be950f292ca; Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=tatacommunications.com; X-MS-Office365-Filtering-Correlation-Id: 859d2331-dfaf-420b-1112-08da5f47ac4f x-ms-traffictypediagnostic: TY0PR04MB5911:EE_|PSAAPC01FT046:EE_|SEZPR04MB6140:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: d/vo3ckiFcJQFnNYAdmHAZm0TVdTvJ/V3pC2z97IflJthS+8Nt30Y0yK1cJbE5+WfzkpIwh/hi8lkw6PZngacjupbfaBtSNda5g8MEa6rSy5GKACr0VpQpa5+AbkSdOsZq0EM8vnXkBzkOcJ0z5GuPbH5GZtMW26CGPtlhdc3DVQV72IF/37AKr3ZplGYzX9P5iyjoBFWoHZnSaH9HfUb24LXVqNTtrQRyrjTU1HEF6ZbNQxuTpen1nC74In5PcAm6ZanCul7ILH/1Jd4KePO+qgqJHOGz/3QJGltRp53FijtHpHEDGkZPAH0KEtUagx2fLJ2EfYKNYy+EbTyF85DFpnTHUbZVO+KoD8WiOVgHiAG+V46z4Q5S79AWRFiv4bsl18mXWbNMSPk5/K4UV0+SIsvMdeCSuNFP+7NAx1I/cirPjD97xuxPcC5JDajsOf5Msgj8ODXBMNsxRga2b85G87vyG42DIMi5Go6POhrUMhlEcjwPqgjMohYFK7BA2KULQoqaSHm2DtzPnI+v1+qGuZWG/TMAmlwQNzNm7IstDNzG4bWUJ/v4CGatOP4PBff8iE+RQjPGmvIp5g4CEBP/eMQTtqxRqtf5SKekZ+sEuDmQv4CK7IhnLXzmGAfS3KbKQXJy/m/4Qm3dCWlNU59bwZgEHfSPFRFlIYr2jDEd6NLuq0HL9aa/GgLdEDvtSa9OwYL5SK6/xB2W4T/sSMAbo4cJcitj3n6uRzAb+pr6DmazUkYb+Ymv0bf/TCl0gn7htrzr7JJ3p/TybrRrhETvI6I8Ij9vCx0KF1TBcsIvpcbBonSBlSS1Vcvg7UpZj2bG9lH7NYSyDoT07onkiOAwBrjaUxQ3meAdJ7FReuMrk= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PSAPR04MB5516.apcprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(366004)(376002)(346002)(396003)(136003)(39860400002)(316002)(110136005)(83380400001)(26005)(33656002)(9686003)(186003)(6506007)(166002)(86362001)(55016003)(5660300002)(2906002)(7696005)(66556008)(66476007)(66446008)(64756008)(38100700002)(66946007)(8676002)(76116006)(478600001)(966005)(71200400001)(41300700001)(122000001)(53546011)(38070700005)(52536014)(9326002)(8936002); DIR:OUT; SFP:1101; Content-Type: multipart/alternative; boundary="_000_PSAPR04MB5516277E298C91AAFCF45FD6D6809PSAPR04MB5516apcp_" MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY0PR04MB5911 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=tatacommunications.com; X-SHN-DLP-SCAN: success X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: PSAAPC01FT046.eop-APC01.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 28111df9-ae07-42fd-a602-08da5f47a949 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: J1GqhjuoaiK9/SCyWQqN1TUFh/c5N2pRXschU6lIe8ivV7YAFrRUUOSp/AxB1Y8K4fer3dkYH6pO1DJkZ48kt2lJJCZ5zhy97ln4wT1RSCVKH2ZTCWLVCCgzg9du2JDVNo8Qf7ZjlV9q6JirkHjQomZ3ANg1Ap3VcMksr17HwxGVtIfl+vIj8yuV6V9mGeADIUWP7+ycEOqBwxFazJ6T5GMk8F7O92VcdEYd1ja4ph6tmuOu8zWS4BVeWPgLswPmYrvL8dCy6h33uMCOvYhKL0BQFzcx7VvVtCcu+qWGXrLvOgo7kWcukNN02kmQGR2v2h+W6mtxtmq1D+oFf0/kdDyDQIVT4ae7vx7aOkJWIhgjDRntKeaVIsaJBOTmIgfbn/ioan4eZXSo9DKaziot4hGRbSDGjFUWZmh7Sm9FIsXzvrVbDBtgi8cS7XgaWzC9o60OOiXS05zhjWktDQBtlM7sLt+C+BtEi4QaYuIM372QUYvur0dWYEgL8qiibJsijgM6nlCziSACIjUQ6as9dE1A61lUwseW8qXJAj4EacGocFdMMJYMxomYzhbo4T+5b1TsZkgbmBSUkVmHYoFIAJizRJ79Qeyyr/tTeUs7iP2eLmjs/nNra3QpnAkHBXkP5yDFrCjcAD4prS34tAKfy370M9Uls/M0fzFrIOLJUEwmsK2yo86JOmWhe74ITiRNAOugztLDfdnSGtF1UYrwqwB8Ud++2Cbn046eukQtgtf2MLWd/eFu8m7Ph0nG9+cWAWBCJTD3ICSILytmiQSVWLYPvFk6FUYv6lwmIaCrh0JwccrDBmHziWAzLHSapNf9KBySFa0hWWkVKqjRPSPzNdsjiDegRoWGQJg8dWQpayo= X-Forefront-Antispam-Report: CIP:54.79.123.149; CTRY:AU; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:sydapipop-haraka-inline01.vpc-a3a96cc4.ase2.shn; PTR:send1.mail-inline.syd-pop.i-shn.net; CAT:NONE; SFS:(13230016)(4636009)(39860400002)(396003)(346002)(136003)(376002)(46966006)(36840700001)(40470700004)(40460700003)(9326002)(8936002)(47076005)(336012)(5660300002)(36906005)(186003)(52536014)(86362001)(55016003)(83380400001)(26005)(110136005)(316002)(2906002)(40480700001)(478600001)(966005)(9686003)(41300700001)(166002)(8676002)(53546011)(70586007)(70206006)(81166007)(82740400003)(36860700001)(356005)(33656002)(6506007)(82310400005)(7696005); DIR:OUT; SFP:1101; X-OriginatorOrg: tatacommunications.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2022 12:04:25.8588 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 859d2331-dfaf-420b-1112-08da5f47ac4f X-MS-Exchange-CrossTenant-Id: 20210462-2c5e-4ec8-b3e2-0be950f292ca X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=20210462-2c5e-4ec8-b3e2-0be950f292ca; Ip=[54.79.123.149]; Helo=[sydapipop-haraka-inline01.vpc-a3a96cc4.ase2.shn] X-MS-Exchange-CrossTenant-AuthSource: PSAAPC01FT046.eop-APC01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SEZPR04MB6140 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --_000_PSAPR04MB5516277E298C91AAFCF45FD6D6809PSAPR04MB5516apcp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Pravin, Thanks for the response. I have changed the value to 0. cat /proc/sys/kernel/randomize_va_space 0 Tried running dpdk sample application (helloworld ) before running my appli= cation but still same warning is reported. The sample application is not starting up. When I tired with valgrind from https://github.com/bisdn/valgrind-hugepages= application getting crashed. Am I missing any other configuration? /root/valgrind-3.19.0/val_install/bin/valgrind --soname-synonyms=3Dsomalloc= =3Dlibrte_malloc.so* --leak-check=3Dfull --log-file=3Dvalgrind-out.txt ./d= pdk-helloworld -l 0-3 -n 4 EAL: Detected 80 lcore(s) EAL: Detected 2 NUMA nodes EAL: Detected static linkage of DPDK EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'PA' EAL: Probing VFIO support... EAL: WARNING! Base virtual address hint (0xa80001000 !=3D 0x1040000000) not= respected! EAL: This may cause issues with mapping memory into secondary processes From: Pathak, Pravin Sent: 06 July 2022 17:15 To: Balakrishnan K ; users@dpdk.org Subject: RE: how to run dpdk app with valgrind DPDK documentation says so for multi-process case. * The multi-process feature requires that the exact same hugepage memor= y mappings be present in all applications. The Linux security feature - Add= ress-Space Layout Randomization (ASLR) can interfere with this mapping, so = it may be necessary to disable this feature in order to reliably run multi-= process applications. Regards, Bala From: Balakrishnan K > Sent: Wednesday, July 6, 2022 1:54 AM To: Pathak, Pravin = >; users@dpdk.org Subject: RE: how to run dpdk app with valgrind Hi Pravin, Randomization is not turned off. cat /proc/sys/kernel/randomize_va_space 2 Do I need to turn off the randomization? Regards, Bala From: Pathak, Pravin > Sent: 05 July 2022 18:53 To: Balakrishnan K >; users@dpdk.org Subject: RE: how to run dpdk app with valgrind CAUTION: This email originated from outside of the organization. Do not cli= ck links or open attachments unless you recognize the sender and know the c= ontent is safe. Is randomization turned off ? echo 0 > /proc/sys/kernel/randomize_va_space Pravin From: Balakrishnan K > Sent: Tuesday, July 5, 2022 7:11 AM To: users@dpdk.org Subject: how to run dpdk app with valgrind Hi All, Is there any documents available to run the dpdk application with valgr= ind. I am trying to run our application with dpdk getting warning and the proces= s is not starting up. IPv4 IP : 1.1.1.1 IPv6 IP : 0::0 EAL: Detected 80 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'PA' EAL: Probing VFIO support... EAL: WARNING! Base virtual address hint (0xa80001000 !=3D 0x1040000000) not= respected! EAL: This may cause issues with mapping memory into secondary processes Could you please help on this? Regards, Bala --_000_PSAPR04MB5516277E298C91AAFCF45FD6D6809PSAPR04MB5516apcp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Pravin= ,

 &nb= sp;   Thanks for the response.

I have ch= anged the value to 0.

cat /proc/sys/kernel/randomize_va_space

0

&nbs= p;

Tried run= ning dpdk sample application (helloworld ) before running my application bu= t still same warning is reported.

The sampl= e application is not starting up.

When I ti= red with valgrind from https://github.com/= bisdn/valgrind-hugepages  application getting crashed.<= /span>

&nbs= p;

Am I miss= ing any other configuration?

&nbs= p;

/root/val= grind-3.19.0/val_install/bin/valgrind --soname-synonyms=3Dsomalloc=3Dlibrte= _malloc.so* --leak-check=3Dfull --log-file=3Dvalgrind-out.txt  ./dpdk-= helloworld -l 0-3 -n 4

EAL: Dete= cted 80 lcore(s)

EAL: Dete= cted 2 NUMA nodes

EAL: Dete= cted static linkage of DPDK

EAL: Mult= i-process socket /var/run/dpdk/rte/mp_socket

EAL: Sele= cted IOVA mode 'PA'

EAL: Prob= ing VFIO support...

EAL: WARN= ING! Base virtual address hint (0xa80001000 !=3D 0x1040000000) not respecte= d!

EAL: = ;   This may cause issues with mapping memory into secondary proc= esses

&nbs= p;

From: Pathak, Pravin <pravin.pathak@intel.com>
Sent: 06 July 2022 17:15
To: Balakrishnan K <Balakrishnan.K1@tatacommunications.com>; u= sers@dpdk.org
Subject: RE: how to run dpdk app with valgrind

 

DPDK documentation says so for = multi-process case.

 

  • The multi-process feature requires that the exact same hugepa= ge memory mappings be present in all applications. The Linux security featu= re - Address-Space Layout Randomization (ASLR) can interfere with this mapping, so it may be necessary to disable this fe= ature in order to reliably run multi-process applications.

 

 

Regards,

Bala

 

From: Balakrishnan K <Balakrishnan.K1@tatacommunications.com>
Sent: Wednesday, July 6, 2022 1:54 AM
To: Pathak, Pravin <pr= avin.pathak@intel.com>; users@dpdk.org
Subject: RE: how to run dpdk app with valgrind

 

Hi Pravin,

   Randomization is not turned off.

cat /proc/sys/kernel/randomize_va_space

2

 

Do I need to turn off the randomization?<= /p>

 

Regards,

Bala

 

From: Pathak, Pravin <p= ravin.pathak@intel.com>
Sent: 05 July 2022 18:53
To: Balakrishnan K <Balakrishnan.K1@tatacommunications.com>; users@dpdk.org
Subject: RE: how to run dpdk app with valgrind

 

CAUTION: This email originated from outside of the organization. = Do not click links or open attachments unless you recognize the sender and know the content is safe. <= /p>

Is randomization turned off ?

 

echo 0 > /proc/sys/= kernel/randomize_va_space

 

Pravin

 

From: Balakrishnan K <Balakrishnan.K1@tatacommunications.com>
Sent: Tuesday, July 5, 2022 7:11 AM
To: users@dpdk.org
Subject: how to run dpdk app with valgrind

 

Hi All,

    Is there any= documents available to run the dpdk application with valgrind.<= /span>

I am trying to run our applicat= ion with dpdk getting warning and the process is not starting up.

 

 

 

IPv4 IP : 1.1.1.1

IPv6 IP : 0::0

EAL: Detected 80 lcore(s)<= /o:p>

EAL: Detected 2 NUMA nodes=

EAL: Multi-process socket /var/= run/dpdk/rte/mp_socket

EAL: Selected IOVA mode 'PA'

EAL: Probing VFIO support...

EAL: WARNING! Base virtual address hint (0xa80001000 !=3D= 0x1040000000) not respected!

EAL:    This may cause issues with mapping= memory into secondary processes

 

Could you please help on this?<= o:p>

 

Regards,

Bala

--_000_PSAPR04MB5516277E298C91AAFCF45FD6D6809PSAPR04MB5516apcp_--