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 0EAC1A0540 for ; Wed, 6 Jul 2022 09:11:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 80FE140DF7; Wed, 6 Jul 2022 09:11:32 +0200 (CEST) Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01on2045.outbound.protection.outlook.com [40.107.117.45]) by mails.dpdk.org (Postfix) with ESMTP id B64FB40691 for ; Wed, 6 Jul 2022 09:11:30 +0200 (CEST) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=PW43y+g5mUQn2OQMLr0IM0dY6lrnfcAZxuLOzYLv5HTFvbu1aodTNVbJ6cz04/T+8PBfWnjJJCdvq4e3ZOumatQhcY9czFxfsam4fH6ejVJOUIUeqKdxaWXa3cNq6AhtbSjRhF0NgP8hZZEc4MMfq6zb65umbwYCakEr05BDLrnBJxlDAw/hzvae7z75soVd5AFCSPr69vVyRN7UHEgwr0AToAfvYU/CPN1Y3yNYwGQ0ZHqnc8plLBsqd8bjSShprlkTmgIZ05Yokb/8cYRtkpVkJesNtYKJZRlChWxmqhg77egchoFE/eEoMaocQCDeLnxs/jiz08H8iFJ8KVERRA== 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=zYhSuScpeZ6P2k6yRF15EdnC/1b/au402C1ib9w/Gkg=; b=mXf/Hpsxatpc5/5y0URosK3TgKqIZK2tVSNf1N21ZZkOyyHEdDBozOj9MJJKLAP1/eeHsj57Y578wESnGG3GjyikhX+AYM50U+zBgLn4iBJOWqGzk14zvWPd6WB7HgEm1hOGka9rqvQDCOJnCCYpDRxWIM3qBJOZa0o1w8bUrkMM5ToBoluElt2tK7+OXnt2XDYgmXwpfFqX8WPpqPCGHYopXWaH3UoiNrv6PZQvsurVKHM+j0oO528fjGdYOZ1sVsAviRehAld+mWfYHLbJhdmhqYFdgtA8cH5SDSUgyUpqEzTChtHaOhSL/RpRpSdO3P373EC7JVi4kFdg4Au17w== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 52.62.169.21) smtp.rcpttodomain=networkplumber.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=zYhSuScpeZ6P2k6yRF15EdnC/1b/au402C1ib9w/Gkg=; b=LYWgE819jgQSel/SEsPNl4iue3rsnyBC8cYKqgLPVtLiZtQ48bxiBJFYGcs0AQyxkhdLDxGCOYRVstumX9bRbrVIYG2UxdmreMtE1prdgkEaB0T6AySaFVBv46EjGHkx3tvnFmrgDy99jkaOAHfPBGPu6m7UaSLO+KLCeJRfaptbkbxVXcNCJZyDaRVoo1QLDWH3AHws+lU/Fh608+DZcfK18goT7CQ4Sg0IkkcBvjyCUk4N32zmaGHsQUk/mC1Cer3OmDarqSzWT6ZJnGNgWEFnH98QE0fqPTpnzgGQVJiyfC/yCzXoQCGoNJJGf9hAI3SI1EEkO+T5L9js1luU9w== Received: from TYAPR01CA0187.jpnprd01.prod.outlook.com (2603:1096:404:ba::31) by TYZPR04MB5177.apcprd04.prod.outlook.com (2603:1096:400:130::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Wed, 6 Jul 2022 07:11:27 +0000 Received: from TYZAPC01FT025.eop-APC01.prod.protection.outlook.com (2603:1096:404:ba:cafe::19) by TYAPR01CA0187.outlook.office365.com (2603:1096:404:ba::31) 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 07:11:27 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 52.62.169.21) 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 52.62.169.21 as permitted sender) receiver=protection.outlook.com; client-ip=52.62.169.21; helo=sydapipop-haraka-inline00.vpc-a3a96cc4.ase2.shn; pr=C Received: from sydapipop-haraka-inline00.vpc-a3a96cc4.ase2.shn (52.62.169.21) by TYZAPC01FT025.mail.protection.outlook.com (10.118.152.94) 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 07:11:26 +0000 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01lp2047.outbound.protection.outlook.com [104.47.110.47]) by sydapipop-haraka-inline00.vpc-a3a96cc4.ase2.shn (Haraka/2.8.24) with ESMTPS id AEE49776-ADFD-4339-A413-6ACC1875F1BB.1 envelope-from (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Wed, 06 Jul 2022 07:11:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Cf5cArth0ij5G7Fgqd+LDUcfwpeR9BCbz+Zs7zf79Bz5EhmDexYOHLQ1h/6Szgpr8nB7hjc0siYNg/J8JnU3Xz3Bp/qEKpZhkifkeVZP6W6oBtsB/r1Lx8IkUwM8mA3wCiOsiwrJdfr0pDi+MyVpcEJDBxTPOalsBCqpc+gCi0f6vs4U64Q/4vngHlEDiKboFX9arpWthgDFDfvimDY1LiY8IaKIur15Rwjxc5OhHooyRaDia5A30fmEB/a0ynGQIlKYLRCsF9RNnN8/KwdzaWGPe5hVuxeB0q9qwxVGnGckfYEkDYh/bNhU+nmOc2Cv4x2wjUkvzoyGE6YGsxVfGA== 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=zYhSuScpeZ6P2k6yRF15EdnC/1b/au402C1ib9w/Gkg=; b=PQ90l2OkpXxGJgCAc9Kb8+ofIPajRlgw4CA+CS80E5vxpB6jHD7+eqIoB+mmHRekxvmWZyrv3ysqJ49YDtnih3ZBvJmTLyH+UJuSdchv3YwsWNSCxPG9fPFF5LtwruXrv1jVV6H+PPLWIffBxGA34g1aEIRNN/5+EhE/T9XfuHsobRCqGs4i41HRQk22C9oCCE7zMDIuOw10vUWfJmTvbICpDBpovwETS2/NbPM2mScNkebiJHjDJ2M2w7FnWadbYah4wuvMBfKJNuzI1GLUQUGThpBOA8WXHVedaCExNg9hdvPkAv0JFg+vukE9fHyn32qmKWcLVAx5HvBDOM7+bg== 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=zYhSuScpeZ6P2k6yRF15EdnC/1b/au402C1ib9w/Gkg=; b=LYWgE819jgQSel/SEsPNl4iue3rsnyBC8cYKqgLPVtLiZtQ48bxiBJFYGcs0AQyxkhdLDxGCOYRVstumX9bRbrVIYG2UxdmreMtE1prdgkEaB0T6AySaFVBv46EjGHkx3tvnFmrgDy99jkaOAHfPBGPu6m7UaSLO+KLCeJRfaptbkbxVXcNCJZyDaRVoo1QLDWH3AHws+lU/Fh608+DZcfK18goT7CQ4Sg0IkkcBvjyCUk4N32zmaGHsQUk/mC1Cer3OmDarqSzWT6ZJnGNgWEFnH98QE0fqPTpnzgGQVJiyfC/yCzXoQCGoNJJGf9hAI3SI1EEkO+T5L9js1luU9w== Received: from PSAPR04MB5516.apcprd04.prod.outlook.com (2603:1096:301:5c::9) by TYZPR04MB4464.apcprd04.prod.outlook.com (2603:1096:400:26::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Wed, 6 Jul 2022 07:11:24 +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 07:11:24 +0000 From: Balakrishnan K To: Stephen Hemminger CC: "users@dpdk.org" Subject: RE: how to run dpdk app with valgrind Thread-Topic: how to run dpdk app with valgrind Thread-Index: AdiQXxK8jOayjVGqRWiASPHm8mOcWwAKcskAAB0aykAAAmwkcA== Date: Wed, 6 Jul 2022 07:11:24 +0000 Message-ID: References: <20220705090412.5385dae2@hermes.local> 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=0fc86714-8a97-4b30-bfe3-78538c4b26f1; 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-06T06:00:33Z; 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: 935417a9-8513-4784-ad2b-08da5f1ebe2a x-ms-traffictypediagnostic: TYZPR04MB4464:EE_|TYZAPC01FT025:EE_|TYZPR04MB5177:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: kMrdiLMfihzWSaldSMtYY+ZMeiCNJ52EVblwDNNw+DHKK2YRF03BZ+j0ohV9JO5E1LTX0ALsyPm5sg0esWfvO4RTVaX+DcDWT/Zs9Ew3Hs2mkVVXupqPFU5D4BFAUbEXBkOrzvcOUSTV1KgNKPWp5ZvWlMmmCN20BJMTP3R/KQ/Cdcaduu1bsy0HLVAw8zZKdgcKrh8ly4fqxSOOOh+1HLfmLlf02oHNxhW5+K/P1u5LJ2Yqb9gpNOeCQYm/x5kswNegNapD7VagU2BLgJcu7UM/Jioursa0im5pd46Y6ZKF1SqYzZR+C12JLyise14zi45IaUV//g9xu8GTajr7VM61qofJ8yQ3mIFvd9xlsgnWNZ7fjHzjmByT911eBjlcWnCHJhDOnMh9fGL7jVrQDaZFJXjddM72gG6uNDDi12+VEd9+DkilUvWn5XsmZopYemfJWMGf/H0JQa79OegFarL8ZCW/Btk70th6fvkPBT8PnhKsjNZkoe8wdQ/aQiDlpQxZw8RAKi31QbeXEcNfve2cg77WctH1TnhEHxSnVn+eVHiZLzPgu+zhVwOfdMaN9IBBmC1ldZrE3scXIcmcHs4fsiW4i7k4IFBNpNVbj/QVgwxz/Yuiv7UhPmHb64vW/s1b+qR+GUyuh1LLF9/0dOKYOPT4pBITnsIbEEXhGwV4/Z6jd2XdSyueQ3vmFxdc01SU4JetMaLeVWie/q4h9jhO/EJjK2bfeyECfBjpMNL9bqGn2gnS0FrBXMeSF3oYX91045PIYm0vx1i/7g+D8C3/gLoG4WZ6NS2kZwW42TrXcMByfGjqxJV7lQt3ImWl 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)(396003)(39860400002)(136003)(376002)(346002)(2940100002)(38070700005)(316002)(122000001)(41300700001)(38100700002)(64756008)(66476007)(66446008)(8676002)(6506007)(7696005)(66946007)(66556008)(6916009)(53546011)(4326008)(76116006)(71200400001)(5660300002)(86362001)(478600001)(2906002)(8936002)(52536014)(9686003)(186003)(26005)(33656002)(55016003)(83380400001); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB4464 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: TYZAPC01FT025.eop-APC01.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 766d34ed-c881-48e3-ccf5-08da5f1ebc6d X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LPXPhQnoJmGUNCdsYNnx6QT45GrdpvJEVSM9wNv1eFEb2CeDrNCMjjM7eDqyzwtNBlFam3hb/iQnHACHkwDCPjeV8KLK2hTAPiMV4Li8jpG/ikj2fdmf8JnEH9RA6lv8FpnfhTvXTkxh9G5+y5TiIdJti+IU+OLtMNhNuX6xA3UioC1NY3kMkReu0BvzxxFjhXYayn5qPDsh0V22EeEJY2+Duj3Db4EN7TvWG/rTgV9sSIp3UydhrQ5dbZ6+x3FC1hIWQorJRlETuZGs5sDIxA7p97OKedoZH7lZt33LdnRYkr7IlSe5LIDBHkLUeEZ1tUOsmwyZWxPp1UGcr4TLFQj7sQviyP3SyGoYi73/w0QJS/8d3eejiMWcW/V8fjdVZhJo3/ZyMTWKkxOKPKtFQRIG2+KtplEMHlcnVdakoFhzNRFQCeGtY3krWm3llHL0Kb2us+1+aLCiDGNhEvVnaK04plhQS4xQByvFCULIPk7bprHhvao//NfsYj5q6m3FtbQgQXZ8bYNHpi0V7XK9cc6RI0cV9c/+juXrkeS47qf8EGyr3XiGXEwuHZnBtoguNDg6phIC6wkzwPrQwEuUs5cElCYzTrm5k2a0cL16N7e1b7p7gLgQofYsdYNBsQ3tNfP6/nfjH3Rbyz61AzSpRvdpr0hkxi4YfM8089VW4WPelrpptAgUJBYYl4+iaCUlXcVc3qAzdphLcnUjEzUiCLirJzhx4B2i2D+MUu2pkDGfoee/sfJ2TUdnPSycaY083drxQYjqGcHnOQpeQd3wU/Vwijb7IcbaULfhCxKFEMNAMZbgJt92xyCeJsjDAXlK X-Forefront-Antispam-Report: CIP:52.62.169.21; CTRY:AU; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:sydapipop-haraka-inline00.vpc-a3a96cc4.ase2.shn; PTR:send2.mail-inline.syd-pop.i-shn.net; CAT:NONE; SFS:(13230016)(4636009)(39860400002)(136003)(376002)(346002)(396003)(40470700004)(46966006)(36840700001)(52536014)(5660300002)(478600001)(7696005)(53546011)(8936002)(2940100002)(9686003)(40460700003)(6506007)(2906002)(26005)(41300700001)(36860700001)(82740400003)(81166007)(86362001)(356005)(33656002)(47076005)(55016003)(336012)(186003)(40480700001)(70586007)(8676002)(4326008)(70206006)(36906005)(82310400005)(6916009)(316002)(83380400001); DIR:OUT; SFP:1101; X-OriginatorOrg: tatacommunications.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2022 07:11:26.5941 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 935417a9-8513-4784-ad2b-08da5f1ebe2a X-MS-Exchange-CrossTenant-Id: 20210462-2c5e-4ec8-b3e2-0be950f292ca X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=20210462-2c5e-4ec8-b3e2-0be950f292ca; Ip=[52.62.169.21]; Helo=[sydapipop-haraka-inline00.vpc-a3a96cc4.ase2.shn] X-MS-Exchange-CrossTenant-AuthSource: TYZAPC01FT025.eop-APC01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR04MB5177 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 Hi Stephen, Checked the valgrind log file during dpdk app start up. The below warning is seen in logs. Any tunning is need for large range all= ocation while using dpdk app with valgrind. Because without valgrind application is running smoothly. Any suggestion would be helpful . =3D=3D259414=3D=3D Warning: set address range perms: large range [0x1400000= 00, 0x980000000) (noaccess) =3D=3D259414=3D=3D Warning: set address range perms: large range [0x9400000= 00, 0x980000000) (noaccess) =3D=3D259414=3D=3D Warning: set address range perms: large range [0x100b41b= 000, 0x184b41b000) (noaccess) =3D=3D259414=3D=3D Warning: set address range perms: large range [0x100b41b= 000, 0x184b41b000) (noaccess) =3D=3D259414=3D=3D Warning: set address range perms: large range [0x100b41b= 000, 0x184b41b000) (noaccess) =3D=3D259414=3D=3D Warning: set address range perms: large range [0x100b41b= 000, 0x184b41b000) (noaccess) Regards, Bala=20 -----Original Message----- From: Balakrishnan K=20 Sent: 06 July 2022 11:31 To: Stephen Hemminger Cc: users@dpdk.org Subject: RE: how to run dpdk app with valgrind Hi Stephen, Please find the response below. What architecture (x86)? Architecture is x86. =20 What DPDK version? DPDK version 20.11 What version of valgrind? valgrind-3.19.0 Are you using VFIO, igb_uio or other method of hardware access? Igbuio Regards, Bala=20 -----Original Message----- From: Stephen Hemminger =20 Sent: 05 July 2022 21:34 To: Balakrishnan K Cc: 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. On Tue, 5 Jul 2022 11:10:37 +0000 Balakrishnan K wrote: > Hi All, > Is there any documents available to run the dpdk application with val= grind. > I am trying to run our application with dpdk getting warning and the proc= ess 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) n= ot respected! > EAL: This may cause issues with mapping memory into secondary processe= s > > Could you please help on this? > > Regards, > Bala What architecture (x86)? What DPDK version? What version of valgrind? Are you using VFIO, igb_uio or other method of hardware access? Valgrind works for us on Arm64 and VFIO.