From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 91E8FA00C2; Wed, 22 Apr 2020 16:23:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 32B861D691; Wed, 22 Apr 2020 16:23:50 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 7CBE01D68D for ; Wed, 22 Apr 2020 16:23:48 +0200 (CEST) IronPort-SDR: 7ns9LiWBiCGqqYW8dlvkagfOI6g8Uz0jDiHYqUZFqWrXngwHuO57vzKX4McJucC39P9J78VMxZ lpwwVSHu2x4g== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2020 07:23:47 -0700 IronPort-SDR: jXPZLRd/KfIvX8YaEh6QLqkz4FKIXARWFiUBsHDb6ePqU24MI/MmRN5et0yd+3eUtzUFk5ABmb 1sZzm0wSDRGA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,414,1580803200"; d="scan'208";a="300932698" Received: from orsmsx105.amr.corp.intel.com ([10.22.225.132]) by FMSMGA003.fm.intel.com with ESMTP; 22 Apr 2020 07:23:47 -0700 Received: from orsmsx160.amr.corp.intel.com (10.22.226.43) by ORSMSX105.amr.corp.intel.com (10.22.225.132) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 Apr 2020 07:23:46 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by ORSMSX160.amr.corp.intel.com (10.22.226.43) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 Apr 2020 07:23:46 -0700 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (104.47.37.56) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 22 Apr 2020 07:23:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IwyQc47/Us569FkhAoSthsPqGle+oLr3+Y7JZYpjnXEhUNTA+iPvOE225yEiKDDaNQpw4dyxlHBKhniGF9Pu3iS02ylBd3c0LaU4hyWPrz6sUYO7TsT9TMiOREF6XLoKM6P5v+U4aY1Jzc9/tqI5aRyRunCAfX0ulAeb+jnbajXSGIj7Zau3nS4mMHd1cX6bHZCoiCNWdAKXT+VYMHoCgzkB6L1wyNEKp2kS9x0aOMLc/EFUcgtHbbJnStw+t3YFJKSltVr9KLq1psEiGgGPmz0+r8UBl5+QEwGgRJO6x7urjtY72rGqdg42xIdMyiJBpavsUeTsnXcQz5dY+1pgrw== 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-SenderADCheck; bh=OXG7HN12xJ8j+SDdro01L+RBvsSirJvf4+19BBcuLOs=; b=nRU6tQAwfYIJ3B7h1qtjjepH0wcymz4Ns+lI8mKVTd5mLmFRMQlEMNBPr9c6sfz18O9wQBCqu/pkqVKLXJYkihxPe4cDl1EqIhnZw4cxtvl/W6nknNM4o7ehrzRD31ZkrAy5W1xWwLJNlYtgVKGr9A8iX74HktWxMcse0TdMLvg3PjPd64M4W7qTDaGKTluF+571R4Itc6W/D+1q71W/jDbxG4mySK/cuNGoStlIkjVQG89sxw4pOpN8DzzQW8yvq9MlCTXQSxVKI1dnB8g4wreA3xR+cmB6jphAcB5YkXDf8d2E+bNwG/93y9Lq7aK3WVEui18DFdvNt//BP7so2g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OXG7HN12xJ8j+SDdro01L+RBvsSirJvf4+19BBcuLOs=; b=MjvodsMeBnLetecSukoaoXECjZgJ/R9KgkG3PSDdqmM5KCHX42ybr3S9qteJP1m5GocoFvBy5Ao1tzQM6wR0NaQ6v+eNyyPSqNizzUCMVy6sAeVsrbquYcFa7VuxeyvaY/MQbOG6XwkRfmYQfcJRcBH9VI4orK1xhd5Exh5IJtw= Received: from DM6PR11MB4593.namprd11.prod.outlook.com (2603:10b6:5:2a3::8) by DM6PR11MB3835.namprd11.prod.outlook.com (2603:10b6:5:139::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.13; Wed, 22 Apr 2020 14:23:44 +0000 Received: from DM6PR11MB4593.namprd11.prod.outlook.com ([fe80::acee:4fa2:2a9e:7cd6]) by DM6PR11MB4593.namprd11.prod.outlook.com ([fe80::acee:4fa2:2a9e:7cd6%3]) with mapi id 15.20.2921.030; Wed, 22 Apr 2020 14:23:44 +0000 From: "Wiles, Keith" To: Thomas Monjalon CC: "Ananyev, Konstantin" , Honnappa Nagarahalli , "olivier.matz@6wind.com" , "david.marchand@redhat.com" , "Richardson, Bruce" , "dev@dpdk.org" , nd Thread-Topic: [dpdk-dev] time for compiling test_ring.c Thread-Index: AQHWGD2007atCotiz0SX/Z6OhoCIgaiEmFoAgAAypQCAAGfFgA== Date: Wed, 22 Apr 2020 14:23:44 +0000 Message-ID: <11BCCDFC-CF9B-40F7-8FE9-A77CB907FEF1@intel.com> References: <6060324.K2JlShyGXD@thomas> <2000536.3Lj2Plt8kZ@thomas> In-Reply-To: <2000536.3Lj2Plt8kZ@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=keith.wiles@intel.com; x-originating-ip: [134.134.136.194] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 148519da-b6d6-466b-fa1d-08d7e6c8c36a x-ms-traffictypediagnostic: DM6PR11MB3835: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 03818C953D x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB4593.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(366004)(346002)(396003)(136003)(39860400002)(376002)(6916009)(6486002)(6512007)(186003)(5660300002)(66476007)(66556008)(966005)(66446008)(64756008)(36756003)(66946007)(478600001)(91956017)(76116006)(2906002)(4326008)(2616005)(8676002)(81156014)(33656002)(26005)(6506007)(53546011)(71200400001)(316002)(86362001)(54906003)(8936002); DIR:OUT; SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pdBgS/qb0czn1vFJMh1I7ufh2uDDHDHWQsrsx/QoOJn0Ezi1OEYiFrwb2UTnkJpwb2l9+vcnIRyobfRpZyG7OU+x8REwbPf4dMtZNNsHIkKj6raTp9YI8/FY7lFSQ6H0WqMLIsHVmGSf736WZ99MDHf3M3xF/pbp8l/F/J8wASNW+YesUOQnqFq9QOMlXKabGmv7JxJpBeJl/nicoSLBFbKPPmvkvS7HYFxEZd5ZzOuytX5L3DJBfa7Xfci+N1+57OhT8O8XO4Hc4KuCQB4G0bb7PstllJF8FuIUdGpdNep7OzUx7nVBc0dIYysdUPsCv7zZRAqJ1I1Nn4w6+d3VNnW2tFLqc1mf0f4o2xmKZK1SqIJys2K7/5P9p9/hcfv4zgQBA69fQk8sZ/dM9VlaIltG9Z4sBcw4RxDCkCsvBFGHCOM4UqNoSxdniRFTO9uDkI3F9mYd13miWrFWXJV6GIxaxleThBdCCixLkz7gNgfYToc295/BjeUPmdG9tZnAQDcxpsxNmlBsQgbD72GhpQ== x-ms-exchange-antispam-messagedata: +JJxijjW9OJ4ufIUKj5CjPhrT6FNehjqRpkD5GB3ApK3ITL2SNwJecTjzQPgK/BD6VLcYGSVqylsO16siIqHXpzZ/cZy5xPoBT87GVRdmowicfnaN1C5cBYWQ/yF7YHoF7yHKITFxXwEBIRRLxVXDw== Content-Type: text/plain; charset="us-ascii" Content-ID: <8617F99F9776A649B9C9329E5E9A2A16@namprd11.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 148519da-b6d6-466b-fa1d-08d7e6c8c36a X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Apr 2020 14:23:44.0708 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jvCmyT3ZxTinIodMmrvodKYop2FAaZA0OBbM0zb+EKXLtyb0TAbNoOKceRWCLcBXZU3QSgRVnI1sOZoeSrLFbw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3835 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] time for compiling test_ring.c X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > On Apr 22, 2020, at 3:12 AM, Thomas Monjalon wrote: >=20 > 22/04/2020 07:11, Honnappa Nagarahalli: >>>> 22/04/2020 02:05, Honnappa Nagarahalli: >>>>> 22/04/2020 02:00, Thomas Monjalon: >>>>>> I don't want know why and when, but it seems the file test_ring.c >>>>>> became very long to compile, especially with clang. >>>>>=20 >>>>> What is the compiler version? Is this on master? >>>>=20 >>>> clang 9.0.1 compiling DPDK master. >>> I think, it is the compiler. The issues were observed with clang-7 duri= ng the last >>> release. Clang-8 worked fine. Still, test_ring.c was re-worked to compi= le in >>> shorter time. Looks like things are back to broken in 9.0.1. >> I am able to reproduce, need sometime to come up with a fix. >=20 > OK thank you. > Note that I was not asking for a fix ;-) Is it possible to break the file into smaller parts, then you can use multi= ple threads to build all of the parts. I noticed in some of the other files= with large tables or macros it was easier to split the file up and have ni= nja use multiple threads to build it. $0.02 >=20 >=20 >>>>> Any info on test_ring_perf.c? >>>>=20 >>>> This one looks slow to compile as well. >>>>=20 >>>>>> I have no solution to shorten the compilation time, so I propose >>>>>> to rename test_ring.c to test_patien.ce. >>>>>> Disclosure: I am failing this test :-( >>>>=20 >>>> The object file takes 5 to 11MB. >>>> I don't know how much this test is magic, but I hope it does a lot >>>> more than this 256B program: >>>> https://www.youtube.com/watch?v=3DImquk_3oFf4 >=20 >=20 >=20