From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0717.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe45::717]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3A82082175 for ; Thu, 23 Feb 2017 10:53:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=HPEnterprise.onmicrosoft.com; s=selector1-hpe-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=dLJfDBPOq9fENmOmjaC7V2e0ggIy2cORBJ0k1zQRzGg=; b=Cb9LYK3za787bmRGVFdYURteh0wb2XNvFd/+o/eygpeV3XfvBZvC/YmNQyGL4LMqK9mgWRrcIUS9G3CvH+Kj+wOcNC4tPRgs562eh2uUHq1q/jaasM43p9SxrgbQRe/eD828m2MkOUsyoGxI17BWR53cMyZdDJ2wO9wUszo+RMI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=brian.johnson@hpe.com; Received: from [128.162.232.243] (192.48.192.5) by CS1PR84MB0309.NAMPRD84.PROD.OUTLOOK.COM (10.162.189.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.919.13; Thu, 23 Feb 2017 18:53:19 +0000 To: "Wei, David" , "Richardson, Brian" , Rebecca Cran , "Gao, Liming" , "edk2-devel@lists.01.org" References: <4A89E2EF3DFEDB4C8BFDE51014F606A14D6E27B3@shsmsx102.ccr.corp.intel.com> <95a8d930-6bb2-e666-1957-8d78a25efd10@bluestop.org> <80AC2BAA3152784F98F581129E5CF5AF6655EC20@ORSMSX114.amr.corp.intel.com> <2d7462e9-de6c-67b2-ffd7-a3fa194ce06b@bluestop.org> <80AC2BAA3152784F98F581129E5CF5AF6655F06F@ORSMSX114.amr.corp.intel.com> <89954A0B46707A448411A627AD4EEE3468EFDFFF@SHSMSX101.ccr.corp.intel.com> CC: "Lu, ShifeiX A" , "Zimmer, Vincent" , Andrew Fish From: "Brian J. Johnson" Message-ID: Date: Thu, 23 Feb 2017 12:53:17 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <89954A0B46707A448411A627AD4EEE3468EFDFFF@SHSMSX101.ccr.corp.intel.com> X-Originating-IP: [192.48.192.5] X-ClientProxiedBy: DM5PR13CA0012.namprd13.prod.outlook.com (10.168.112.22) To CS1PR84MB0309.NAMPRD84.PROD.OUTLOOK.COM (10.162.189.158) X-MS-Office365-Filtering-Correlation-Id: df6cbb79-e3c2-4950-a93a-08d45c1d3c22 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:CS1PR84MB0309; X-Microsoft-Exchange-Diagnostics: 1; CS1PR84MB0309; 3:LL6krTc9lkUd5lRnUuB0YC5XigaMhJlnBx+X73/nxkWHJj6SpkUOR6mCEOmVeStaPDG7w1V38AokVZPaKMIeQsE2HWqXh6yx3Y17YZMpuw2CQj6ln+w8A4Qc6nkCJ8v4tJfq31bTvFMXixHjcHGtRVke7vvuUtgAG1qpoEmVHuepdMzDyxY/nMld6jzz3qmTxGUI+oeWCx2q4SyYzgYtyaIeyRY62EmxYWBm3uhvIgZ/zwKJmVOtd6sw+Iw1RtXHsFOmwH883Hgw0lXxMgKPrESqi9EJoWCY18n7DIh6zWs=; 25:8vWFhH/DCRLqSSMir9grBQQiKnq33l6/DEbJ2VJ0xPbChelp21uUTQSFNMhBKI7ChPfWuCgl/W4N9T2Ilgre+hYhC7IjyGG2BmT/4vobnlCvI+ozCDnwdkrgiFYKCDodi5gZY5Qk2jfBH9iJQJ63Y02MBNXm/RqmfQ/NjJDUEdpbi6H7jLjJ3o++VZmLCD+Yjl5l8mmIoUpPmMBQTo5oT5l0OGb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j+ALz9O4n3H9v4 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(227479698468861)(108984395545644)(166708455590820)(111885846020525)(162533806227266)(211171220733660)(31960201722614)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6041248)(20161123564025)(20161123558025)(20161123555025)(20161123560025)(20161123562025)(6072148); SRVR:CS1PR84MB0309; BCL:0; PCL:0; RULEID:; SRVR:CS1PR84MB0309; X-Microsoft-Exchange-Diagnostics: 1; CS1PR84MB0309; 4:GxFDlI+f9FO6JZGJvvE26vxJVNNLob6ergA+5LYILK4oYXbkwOi74ha16oxdez91pmoDEO1rO/EwGdcmLughTUSMIcXInRYo75HANklV1lS5y1qI9eSsLTXxNAMT1gTuxz9SkMKdKBAV2r36C4mCMuDBq8fQLq0RKNKP8pDFlizasBUnhTgnBQxo49Shamy5wqq6ZSvjFwUzScxtXtQ30wewPTKn4FYi95u4TGGsB9JzymRJiRkrPQy4CLARkDwueerjSQfL8gPCb59stac3s8uMPjKwYBKIHmCMr1KmAFhyIBTZE3AFY+AKo/0+aa3IJLNNOpwo/924Hf8wxaSJtuhBOMa4sC5bC7hZNfZkzJkQLpEL7gFE32dCyXewWKNxdyPmZL7s6tde7XnAJb0uUWRIXr/9+R0AkbpTRkR8ivlHWQRVfOC4UT5q/U6X6rcgs5VJ/owulqNlkC8iaFTjOBS0mbu3LsTmVbTRQu7uh/x6+OoUGyvYougWhAltdeQYQUOyCDzJ0C2IOyOVsQTBgHuES0SJR7GyA7nWZI345GlYOW8bBpd2xbJwt+bPmLoUabLPhZ3hLmCRKbl7tncZ6b2OptqlupfRB74f1U2SP/mWcdjWIxT4IoYKxOlqyolRvjjxLjnm6isKbsrFM3W6AdqyOPlkvRuW00lohLjR/9XfqOokmN19RYuq28mmNpfVVUKbWCw09qc/ZKn+Aqu/S2HsSjwIvOFa7qbIs7EjM2F94v2T2AkFvzajN6x9Ay3vWxsmkD5uRpwySHiBrVlJADEViEosl1SX6QZN146ZAwTw2R+jtILLxRCgX5uLKL7TPDq2akS05TpZpEDQ978ScwDF9MDIeQ4BnRepL2xiKQ5DZjB263yEAwmwonV+OufiEOTN/BvU3p4ojzlZUchHnQ4TSncJ9t7fqnb/4E/lmgc= X-Forefront-PRVS: 02272225C5 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(6049001)(7916002)(39840400002)(39860400002)(39410400002)(39850400002)(39450400003)(189002)(199003)(24454002)(51914003)(13464003)(377454003)(38730400002)(92566002)(2906002)(54356999)(33646002)(230700001)(105586002)(76176999)(106356001)(50986999)(6246003)(4326007)(101416001)(23746002)(86362001)(53936002)(68736007)(93886004)(66066001)(31696002)(5660300001)(65826007)(8676002)(2950100002)(64126003)(83506001)(81166006)(8666007)(6486002)(65956001)(2501003)(65806001)(6306002)(54906002)(81156014)(189998001)(36756003)(229853002)(47776003)(305945005)(7736002)(31686004)(97736004)(6116002)(3846002)(53546006)(50466002)(4001350100001)(42186005)(460985005); DIR:OUT; SFP:1102; SCL:1; SRVR:CS1PR84MB0309; H:[128.162.232.243]; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; CS1PR84MB0309; 23:JvmFwcZJExEnJC/650+a922YEreZ9XFGEtOje?= =?Windows-1252?Q?9vyC/H2JW2AnxvOIVBQ95nKW/WxwGtt/rTMCpKixgEY9gXCiZOtsHgO7?= =?Windows-1252?Q?aQbAwTbnrK2U2nXN4SjYh8834cEhbYoJHmpxvea8cGB9LOHEHl+aXyRY?= =?Windows-1252?Q?VDQ3qW2A9s81rbn8aKlFd7tf3WoqIlOZXtdZ/+Vb5T8IndRlaKiDGFx/?= =?Windows-1252?Q?zZE7R+QFFnV6tyKRwodIFrKDDHPjERPzd2A/37YMUBqRBg/IR6II5OXX?= =?Windows-1252?Q?VWnwozriSayfASkbakahH14uQVoOw/Uxn82ZlEvPTrPYHWEHN6sKfmhm?= =?Windows-1252?Q?jy389oDq6uVuPrYWy5FC7pc4dzHjuucBFZKbIYRRaBagLwd+rAgguO9a?= =?Windows-1252?Q?sqKb9tG+fcd2odnlicwSCzO4uHm/Ua+RRL8SuL5MpnH5s8u0wLKZ0fPT?= =?Windows-1252?Q?jVgi/JqsGEZFvft0UpNNfZWw5dlGhqLaUPL8bcy5W3J3LKLqO7BtEu8C?= =?Windows-1252?Q?Wk8tFWcvhH3l3Rh3oTIrvq1TZT2L86feuPUsXRDCjXgWRfrNEPZfY8pX?= =?Windows-1252?Q?b0rE7X+T7Seih2GIAGGTWlEyK3cA+czWfn5TQx+tavCzdhNJlYHEKv2A?= =?Windows-1252?Q?tpbEgSbNfATm8TJhOmQ19Vump1kUdJXhjKNiC805Y+ZKYdhBZpVkISUh?= =?Windows-1252?Q?M8Yfy+p6t1GHUZhkt08QvKyCInSr+DSCzSkrVI9uY9T/KnLFVoHnw9SS?= =?Windows-1252?Q?zzSpfvI8c8UO/6E20e5oEO8HFPij1xZiZTIALntMlPysNtVZRvFysiet?= =?Windows-1252?Q?O1L5fm2cqVtq1L9ABISlUEPyhPEzdtPf2I4T7VmUlpAyUOYprVWkeUDu?= =?Windows-1252?Q?bwcC11lh8dibb4CUQWS3RjZ85QKaSpkqQImknFVf/8ZmSjVQPqqQIM3r?= =?Windows-1252?Q?wuuHMFNsUcSXLo+2yk11ngoD0G8jw4KqBNMRxfAD9/0uzoOQvsSb02O0?= =?Windows-1252?Q?GZGlIdtId2VkbBkW4h0fqUgg1rCjmSOPeXHepW2KIAIPg0OJcAObjwTH?= =?Windows-1252?Q?E1Mdlglz+Jo/4r1xBXk5egrf54MoKBTlg/XFm5slHH0rCS1tygxOk2Y1?= =?Windows-1252?Q?4lAiy0+z3paZW8odw/eYpJ6tOIOzLBGJ2E+VeuJiK6CDNrvtmKNKfocJ?= =?Windows-1252?Q?s69HxbeGNKLdenBW7AbZeSIufMF+BGLe0Sw+6KHGgfTSC0lgsd69NQit?= =?Windows-1252?Q?YiRmdx7FkgqFE1DUYE6vUIlSDI97i/77hpC7cEedDUmF+36qyjX07FiQ?= =?Windows-1252?Q?T7cNFjQS/SSv0MFtAIxB4wjmNwPWOgjp3BUthT2AGdc128guYdoBOX0Z?= =?Windows-1252?Q?aSJk67/Q64T8TaI3DAA2MMCZh6TVuRC+cZw126DfNX3ajf3RaUdwUxlv?= =?Windows-1252?Q?P2mpKIPNffnI/C5GbDnC1yx0Y0m2HOBW0V/cHneqVaFlWGkQBKrDQpjT?= =?Windows-1252?Q?Bw9hFl059wRoXKP3Vci5P6pHDj8+nX8Ckcp0AZgyzoJGjh+h+gttHHZy?= =?Windows-1252?Q?70CWFfHWrgn6R7QhcS1vUZKfrBYc3Ri5NGRQw5/pnC8MUdM2oiIIN6yG?= =?Windows-1252?Q?ttbXADdhc0u2+a6MHqGMJ1iMJ06NbayqrDaIpHDBfykTJTMzovzoHFi/?= =?Windows-1252?Q?16BbVS7QA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; CS1PR84MB0309; 6:hVtmS1V6p5qUGdgwV7c15U6IQ4zwEjSHfmC36Ytv17+Wzaq4PYYhixLvIkc8nzGiJGpu+urx27Fpiwbzd6fNhBUvjU0xyovTABek0PGYsaleQ1y4yjLNNqtR9pD8Kgy9mkyZcBkzW3R1kJOTFe6FIhR+IH0YKuzc/NeFuJeh/1qeoKFVA2ji0PLnT8B8hpu8x+4Icaae27NI21SdAfr/R+FPANibYqkd70E1ZYEa8zy55ONd0rfhemzc8sihyU8bq35aQVTKrSslUsZUHi7ILv6sucoizjjHXF9o9/E1AUwbMRMrgwDcJQ5eSYybi2NaD97OWUBADZ+VC8XqlLKs7OW//OPVlGMyslw+zsoGKqYqxo7TyIhsnYZPAz1YxxOq7CYDZzFAi8IkTfvEcAxytVU16SDBFNtrHd3QlKFjmdU=; 5:VI+8E8/obrSP/3UdWS2NRvAh2STka1+plLrZ0PgXfBi7hmziOqx9/z7SgGGRsynPX17H8JrYoieMEFx0yWAjEQomL8dXj8s7hbuMhqI+txExu1JNFxwV4AZOdTc5By5zdfUOSQEvGtySv3Wjm+KPBA==; 24:RjJrz5Kwb/AHW8ZWV16jMGp6gBtqANAD2MFc5xoaQB92aP5h8HO0oU24ot2nalXU43Rul9NRvtCGMBVoHJoopOXa72D6TdvEjRHYVv9aNt4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CS1PR84MB0309; 7:OQUqlXzDUxenV1hoRo0wvElSrjZ8u+cizYK1okoGSuDgsGX5ox6lzQy35+iG26qoySG5R/tAArH7gN+WBymk8VxN0GRJwLe++azbHkpr4Uo+GTAY0QBDcrJWaF4Reuc/iU8wnhSsocggWmJvzfstrijJAtEOyiZnPHcF4eys9CPm3PKUZs4iBjt2hsGr7+hsKpjro8eQOuwYpfI7BGLErI1elI5uEcY2f1iv8+mxwOTrM6AunlVRnHu4i1/JIzT6xgHzZKG0P/ZlfIvVAPQPNMmVakaMGacn8MenPNRyurTbLFDxM/KNbxLCQlP1Lasq6NVAvZKjUa1Kx09nffn76g== X-OriginatorOrg: hpe.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Feb 2017 18:53:19.3479 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR84MB0309 Subject: Re: Improvements to build system etc. for edk2-platforms devel-MinnowBoard3? X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2017 18:53:24 -0000 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Sorry if I'm bikeshedding... NUMBER_OF_PROCESSORS isn't a good default for those of us who build on servers with hundreds of threads available. The OS, disks, and build.exe/build.py become bottlenecks. Maybe we could put a cap (say, 20) on the default thread limit, so it uses NUMBER_OF_PROCESSORS or 20 threads, whichever is less. Or just set a small, fixed number of threads by default and document better how to change it, as others suggested. Brian On 02/22/2017 08:49 PM, Wei, David wrote: > Yes, as Brian said, at this stage, patches are welcomed, including the python script. You can also file bugs on https://bugzilla.tianocore.org/ for issue track and discussion. Please remember to CC stakeholders. > > Specifically for the multi-thread building , I think maybe NUMBER_OF_PROCESSORS Windows environment variable could be used as the proper thread number. > > Thanks, > David Wei > > > -----Original Message----- > From: Richardson, Brian > Sent: Thursday, February 23, 2017 3:10 AM > To: Rebecca Cran ; Gao, Liming ; edk2-devel@lists.01.org > Cc: Lu, ShifeiX A ; Zimmer, Vincent ; Andrew Fish ; Wei, David > Subject: RE: [edk2] Improvements to build system etc. for edk2-platforms devel-MinnowBoard3? > > We're ok with help fixing issues (yay open source), so thanks for the help. Patches are welcome at this time. But we do track them in Bugzilla, so opening an issue there is the first step to a solution. > > For the processor thread setting, note that we have historically disabled processor threading by default because we don't know the build system configuration. While we at Intel prefer everyone own an Intel(R) Core(TM) i7 or Intel(R) Xeon processor, we know that's not the case ... so keeping it disabled has been seen as a safe option. We should definitely do a better job of documenting that setting change, but I think we need to consider generically changing that setting by default in target.txt (which requires a Bugzilla entry). > > The .bat/.sh files are required to trigger post-build tools, which are OS dependent. Even if the build was triggered by a Python script, we still need to do some verification to make sure there are no functional differences when we build in a Windows environment versus Linux (work in progress). > > Thanks ... br > --- > Brian Richardson, Senior Technical Marketing Engineer, Intel Software > brian.richardson@intel.com -- @intel_Brian (Twitter & WeChat) > https://software.intel.com/en-us/meet-the-developers/evangelists/team/brian-richardson > > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Rebecca Cran > Sent: Wednesday, February 22, 2017 11:53 AM > To: Richardson, Brian ; Gao, Liming ; edk2-devel@lists.01.org > Cc: Lu, ShifeiX A ; Zimmer, Vincent ; Andrew Fish ; Wei, David > Subject: Re: [edk2] Improvements to build system etc. for edk2-platforms devel-MinnowBoard3? > > On 2/22/2017 9:34 AM, Richardson, Brian wrote: >> Thanks for the input. For future reference, you can use the TianoCore >> Bugzilla to report issues on any EDK II feature/platform. >> https://github.com/tianocore/tianocore.github.io/wiki/Reporting-Issues >> >> I agree the readme.md should be present, and use markup instead of plain text to work better in github. You can open an issue on this in Bugzilla. >> >> Normally, we ask folks to change the number of processor threads based on their system configuration. We don't add a larger thread number by default, but it might be good to set it '5' by default (assuming a dual core processor with hyperthreading) instead of '1' (assuming a single core system w/o threading). I don't know if this will cause any compatibility issues on older systems, but it's worth a check. >> >> At this time, MinnowBoard 3 build is only validated in Windows. That's why there is no equivalent .sh file for BuildBIOS yet, but it will be added once Linux build is verified and checked in. > > I'm more about _fixing_ issues I find rather than reporting them! Are you saying that patches wouldn't be welcome just now? Is there a reason why you don't want to make full use of the CPU while building? And I understand that MinnowBoard 3 only builds under Windows at the moment, but if more of it built using python (and python is already listed as a prerequisite in the ReadMe file) the porting might be simpler. > > -- > Rebecca > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel > -- Brian J. Johnson Enterprise X86 Lab Hewlett Packard Enterprise brian.johnson@hpe.com +1 651 683 7521 Office Eagan, MN hpe.com