From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id C8BE47803D9 for ; Mon, 25 Nov 2024 17:15:28 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=5t4WiXVpllTxmyPlyV3w0b/qYGeOqMubQtJiBcSBPPA=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:msip_labels:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type; s=20240830; t=1732554928; v=1; x=1732814127; b=kUvLjEteGHdXmw5aDuOCcPhj2VZF1/W3xsi3YENRL4r8PVyQ0DJjWn1WwIXBTyag4IiMedsy XN6ZH3P3vLaZVOT/8VFC/eHFH8ddbBiJ8UWVW2zEy7M8Wcg9Aoae0LmW3sFqGUZ+7EndfQ1Ys7M XPweSG491pZnrVCr6VIG/365kektEVuFXBW65P5V4OvWzvW7bwpMjIlvT0E4meR03ckTC9HTw3u GYL3aKPoIGhWS8l42ldHfcGyYz6Lk8UMclSqrGUJv4wWBQ3SZD+b9cQOAaHGbp5y9GqQHMBGH5p OY+38Ca59gBCQ6PTfSt8HaA1aK8jpyTSVQEsZeayltUog== X-Received: by 127.0.0.2 with SMTP id 8q2SYY7687511xzplmfccstl; Mon, 25 Nov 2024 09:15:27 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) by mx.groups.io with SMTP id smtpd.web10.23868.1732554926520717952 for ; Mon, 25 Nov 2024 09:15:26 -0800 X-CSE-ConnectionGUID: xXG54HlES6iWRlo1X5qaaA== X-CSE-MsgGUID: mjfc614USgCV608GNtYBqA== X-IronPort-AV: E=McAfee;i="6700,10204,11267"; a="32827300" X-IronPort-AV: E=Sophos;i="6.12,183,1728975600"; d="scan'208,217";a="32827300" X-Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Nov 2024 09:15:25 -0800 X-CSE-ConnectionGUID: 0VVPjMBnQ2uAfcoE46P/PA== X-CSE-MsgGUID: yE1P4TZXQeuAtMzZyLlwvw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,183,1728975600"; d="scan'208,217";a="91289572" X-Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orviesa009.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 25 Nov 2024 09:15:25 -0800 X-Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 25 Nov 2024 09:15:24 -0800 X-Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Mon, 25 Nov 2024 09:15:24 -0800 X-Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.168) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Mon, 25 Nov 2024 09:15:24 -0800 X-Received: from CO1PR11MB4929.namprd11.prod.outlook.com (2603:10b6:303:6d::19) by CH0PR11MB5251.namprd11.prod.outlook.com (2603:10b6:610:e2::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8182.20; Mon, 25 Nov 2024 17:15:21 +0000 X-Received: from CO1PR11MB4929.namprd11.prod.outlook.com ([fe80::a886:6510:729d:f9d0]) by CO1PR11MB4929.namprd11.prod.outlook.com ([fe80::a886:6510:729d:f9d0%5]) with mapi id 15.20.8182.019; Mon, 25 Nov 2024 17:15:21 +0000 From: "Michael D Kinney via groups.io" To: Santhosh Kumar V , "Kasbekar, Saloni" , "Li, Yi1" , "devel@edk2.groups.io" CC: "Otcheretianski, Andrei" , "Clark-williams, Zachary" , "Luo, Heng" , "Kinney, Michael D" Subject: Re: [edk2-devel] [PATCH] NetworkPkg: Increase HTTP buffer size and enable TCP window scaling Thread-Topic: [EXTERNAL] Re: [edk2-devel] [PATCH] NetworkPkg: Increase HTTP buffer size and enable TCP window scaling Thread-Index: AQHZvq71BwVdg6ecwE6F78oDaqWinbANwVmAgADnw4CAAsdnAIAAP5aAgrkTnDiAAHivMA== Date: Mon, 25 Nov 2024 17:15:21 +0000 Message-ID: References: <20230721051759.7021-1-yi1.li@intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO1PR11MB4929:EE_|CH0PR11MB5251:EE_ x-ms-office365-filtering-correlation-id: b395fb16-5ab3-43ae-6409-08dd0d74bdf0 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?us-ascii?Q?TDmocn6iNOtLd0YDJ7cSZR5o8jotiVPLyDB1md64T+8eqRFsjgVOQ6EObIgo?= =?us-ascii?Q?m7szsOIF6cncnZr0sax/S+Kk915WuSwhS0km2x+8Jc1Bs0ySvv8vNeC7qCp5?= =?us-ascii?Q?PhSSFQR6QojOfCXHiSROm4kgoQ55QR8/6u1pNq6lDrI3PI6hneAWJP7SpPH7?= =?us-ascii?Q?fFfOygXpCF3c5XR9UsdJNiKl2uXuehbMXVooobRAZsgQF1pBw68Mrp5l7lIs?= =?us-ascii?Q?3NMUk97CI36GgMqBhnSbiQsf+ms0+qKjAezb638Wsk8lw3PjMoaNICVQNWwh?= =?us-ascii?Q?0EnUV+aJdpGv/bkAVuvd6/RgN80QFaA5GJVc2IitQHwqoQs4M5CjXVDzc/X+?= =?us-ascii?Q?x4W0w2o8ML8LmEk9rRF5HtnDKVzDP9u6pSb9Pcsp2dQ+0TxgwkjxYSSI5ZV+?= =?us-ascii?Q?pHoV7gVLRxKAcTi4S5VO3kpg3S9nfFJS8mJi9xGiXtazWWBEYl+73ZG/vae6?= =?us-ascii?Q?I9NVMzuAJzq0rl3IiyXRM9jhBgEUpgKXlugLWTMOQpI2sC5MEHlIG49HN5r1?= =?us-ascii?Q?QQnCJ0nqdrW0QHKsidoj1Tam57zpomc0TrVBkGkCN5of7vj/1r4giUcbl/5m?= =?us-ascii?Q?CDIlA33WCx2i1bcdVWho71RG3AreLQd53BlOwzrubRcR2mBG/9zIRTjtZEUH?= =?us-ascii?Q?8fudAuvDCbcT2SxfQKzk4qWmUOqYXehw5w0mEDy8f8gH7KkfMw06wBshbdzb?= =?us-ascii?Q?navqz72aEthaKgnYgpR0J9BBxsmD5kiSXnz9+lsknVMAwXreCKcXH7NauhDQ?= =?us-ascii?Q?nsFWheNIOT1ESMeRPAZxgowS+gC7yP405v/1IqtNqnlw76CCCQuXKKwXb/Eq?= =?us-ascii?Q?cWAnJO12QyGKI6sNpQGETjl1FEvjI2FBpKTzvUFOLrQ2rqNY1/FLR0gzXB9u?= =?us-ascii?Q?VKsc0gcZ+lfLxuwx68devCRHjvcW9ROH4WGtSDjyVpS00lgO6A+EbWzy/axU?= =?us-ascii?Q?xk7Xbv4u7RmkSanhNOqETnRmM59GGHpUsbcRclQOZDzdPUyRM4rfzaaAvOcd?= =?us-ascii?Q?z3wmdq4Yh0yhB+LxmTySFy55Q29TIo2veBduwAX5FhUSCoO+xnwXwfeqkHni?= =?us-ascii?Q?1HhvL0TYH4BbW5tRB2AYk7hwrjkS3dvO+QyVB6ZlF2NZ4tx46u0eQV055DyY?= =?us-ascii?Q?FF0ui5OM6cL6okxRdEgVw7qW7zHGhyZ4G9EGXV3a6GQ/W3mdT1qP3Qu8+m94?= =?us-ascii?Q?pJmMkOCbi/OfaxuvDVAB1upV427LT4Yt16KfGgXUdnRUy9srsci+bD099vD7?= =?us-ascii?Q?bN3pAITVUTKd8jVbxFG4OxF07V7aMrguoHdEboOgP06Qnn/acrfwM84xuEGN?= =?us-ascii?Q?t8gNVV8Qc1spABdpINujKbMOSrvQWgjxnfQ5zFACa5ETEVTxgIeyoPBbj1ju?= =?us-ascii?Q?R5WkrBs=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?aDGwdqAkXBSIrycJd4VRoylrsigFAxT3XB387z6dNFsfxk/KhbkvdoEsDJrY?= =?us-ascii?Q?pP8oLGVUOhutkvBcL0E0AAnipIbRWCud7dV6Y0CWivQstL/NjqrZEv12+3gz?= =?us-ascii?Q?mL/ufI9M3sVXHJTwNbO83mbhV5dTTB98Tt67encg+5pmhzAS+dZ3lfmsrwMG?= =?us-ascii?Q?t9CBxC3uxnpQnqWmegEsFPlfCjg/n1txt3sYCSeSmZHMA+WGozat1SMAy7FR?= =?us-ascii?Q?16vHAjKCloKYlH8dbOWXmdb/QCc3sw7S6zXtEVioCj/KP7WxYDyCWsw7s7Le?= =?us-ascii?Q?WZ3L62UxHiIItJOI/7opA3SjVxno97Rwg2bCWWRHgVBgD4lJO/jUBfH8zGSE?= =?us-ascii?Q?daKQBA/h/gGpbvOOg0r0YgCUeLfqWaps6Rhy99sUXTalkVt73iZTP6BDDNwV?= =?us-ascii?Q?qsmVWqDnN5fJYvMD0bEe1PG7AVPzwL0zdd4gUstQXFcS6TTu6gFtJnDH5KLO?= =?us-ascii?Q?GhOrmfN9SYcfpLW/duSrf6HjLEJsyKl0hYbrWpKN7g/UYPC6tbtEy1vhrUqf?= =?us-ascii?Q?Q+jOC4ieAtInDr2jZ01enKDrcrqV0cCk/ymwuYNc1oYJ5AvEGqllOPm4yugx?= =?us-ascii?Q?CRe72JM7ayqD7fGkA33lbA84rYAP4TZzgjjWemOk7HlU87PoPuP5aaVYYjWr?= =?us-ascii?Q?Suhw61naY/KtG6rxWugTJZ7IzhDUzNIzuEbXKvwtUE3bf/wors8zWWHCVKup?= =?us-ascii?Q?IaqmIorTQmXMZZOkEGkdl7CF6UkrRbpfVgwS/a8SW0owj+YUzYYCPjv7ej89?= =?us-ascii?Q?BLYAxH4ZZprpdnrXd85urA5L1+sxhyzrd703Su0pe6R9tIzUaFUjkuWJ/lK6?= =?us-ascii?Q?oFzFwReBxJMP8j9t2BbCkTfQ5ft8Ugy3r6pz3Ya/KuwUGSuL8jk/7XQxXCVQ?= =?us-ascii?Q?LtubVkLgVsCpoOoidu45jszPdtSNaDM1pujrLEjPGL+8QfPUozeWpxNtVGj1?= =?us-ascii?Q?ayMDUg1UCLHSSOLTdBTE5Rtxgin+jxgprz22gY9AyIkhBQs8YzAoy0BaRsU8?= =?us-ascii?Q?mgr7hKz7oxDZQRsgTUnURYtVjWnkicF9z1NOuklW+edbVSkYHkl9uSA4kq/z?= =?us-ascii?Q?E3mq/dO0UZSa8JCqEFKDK1rnQhw8++j4G8Vimh0/Bz6Df3WRg0MT7Js4SSpf?= =?us-ascii?Q?rq62pFa7sXMi7iblBtjnqIamE+0zhDkjLOm1/bp7SCGqC+T6Op/kzfEqzp/4?= =?us-ascii?Q?Jzxv8btlRzgI2/cVWqNy8wPkYTX/SsZLwmVpMFTZq3wKZjEqDdUS8kreBzqI?= =?us-ascii?Q?wj6Wzq90WyYnrWqy9tYbwhEN9OFxLWNWaupeajy/RR8W/8CwW9GDMBgREdRA?= =?us-ascii?Q?t86h+5uYcIwQXWQfJBRgxbivvn0ShxdZJ0a0KYXfU+4PCSMqiIvB955mt3Nt?= =?us-ascii?Q?rcXVdluLNFWW7OC3/u3ggVtMcz0CSMcyQIaELRBGr6oyAXY3LzTBzxmbNfdZ?= =?us-ascii?Q?sQDy8ap/DozhvZsDXCXP4cc582xmvw0zGoK3HS0GEFHYL/oAvR09FEOnt9Me?= =?us-ascii?Q?gGtzs43hoRoN+Pc6Ysa/kqhGFGerOuOTvz5FWMsFmc0So5Sj71yfbhRjZ4up?= =?us-ascii?Q?Rd3+U2JZC8gEDjhLY/14UoaWksUtKw6fZnHfmP71ovOZzegoJv+UOsVF0Va6?= =?us-ascii?Q?gw=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4929.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b395fb16-5ab3-43ae-6409-08dd0d74bdf0 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Nov 2024 17:15:21.0273 (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: QO0ucsd2GJ9XpO1x/9ew3Zsnd8KiIwBy8zh9fGttmAiyh4040GURlvQ6esTX0IBg0fBgbAiIf3O1Pa24CJ8EiUp+wCwANA3dMyBF12qrG5s= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB5251 X-OriginatorOrg: intel.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Mon, 25 Nov 2024 09:15:26 -0800 Resent-From: michael.d.kinney@intel.com Reply-To: devel@edk2.groups.io,michael.d.kinney@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 9bvc9bd4XngAa0oCing7bDJxx7686176AA= Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_CO1PR11MB49293A51411EC741D6C38FDFD22E2CO1PR11MB4929namp_" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=kUvLjEte; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io --_000_CO1PR11MB49293A51411EC741D6C38FDFD22E2CO1PR11MB4929namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable This is an interesting observation. Optimizing the performance of various protocols and block sizes and windows= can be complex. You might try using tools like WireShark to compare the behavior of differe= nt configurations which values make the performance better and worse and if= events like timeout or retries are being introduced. If there are settings that need to be tuned for different network environme= nts, then moving some of these from #defines to PCDs or setup options may b= e valuable. Mike From: Santhosh Kumar V Sent: Monday, November 25, 2024 2:04 AM To: Kasbekar, Saloni ; Li, Yi1 ; devel@edk2.groups.io; Kinney, Michael D Cc: Otcheretianski, Andrei ; Clark-william= s, Zachary ; Luo, Heng Subject: Re: [EXTERNAL] Re: [edk2-devel] [PATCH] NetworkPkg: Increase HTTP = buffer size and enable TCP window scaling HI All, We are facing issue of httpboot takes more time during large iso file down= loading. The issue is reported on the customer side. The HTTP/HTTPs takes long time = to download the RHEL ISO image from HTTP/HTTPs servers. Tried with different cards - Intel x810/x710/MLOM, Mellanox and Broad com a= dapters. But this issue is always reproducible with all the adapters. The issue is caused due to the changes made in HttpProto.h, HttpProto.c , H= ttpBootClient.c file. The changes are given below, HttpBootClient.h -#define HTTP_BOOT_BLOCK_SIZE 1500 +#define HTTP_BOOT_BLOCK_SIZE 32000 HttpProto.c + Tcp4Option->EnableWindowScaling =3D TRUE; + Tcp6Option->EnableWindowScaling =3D TRUE; HttpProto.h -#define HTTP_BUFFER_SIZE_DEAULT 65535 +#define HTTP_BUFFER_SIZE_DEAULT 0x200000 After reverting the changes, the issue is not reproduced. Note: Above changes are from EDK2 TianoCore Bugzilla - Bug 4505 Link: 4505 - NetworkPkg: HTTP protocol throughput too small >From our side we tried to reproduce the issue. With change HTTP_BOOT_BLOCK_= SIZE as 32000 and HTTP_BUFFER_SIZE_DEAULT as 0x200000. It took 23minutes 40= seconds to download the RHEL ISO (11.5 GB) through private network from loc= al HTTP server. With reverted changes HTTP_BOOT_BLOCK_SIZE as1500 and HTTP_= BUFFER_SIZE_DEAULT as 65535. It took 17 minutes 15 seconds to download the = RHEL ISO (11.5 GB) through private network from local HTTP server. Can you please provide your suggestions on this behaviour? Thanks, santhosh ________________________________ From: devel@edk2.groups.io > on behalf of Michael D Kinney via groups.i= o > Sent: Saturday, September 9, 2023 02:25 To: Kasbekar, Saloni >; Li, Yi1 >; devel@edk2.gr= oups.io > Cc: Otcheretianski, Andrei >; Clark-williams, Zachary >; Luo, Heng >; Kinney, Michael D > Subject: [EXTERNAL] Re: [edk2-devel] [PATCH] NetworkPkg: Increase HTTP buff= er size and enable TCP window scaling **CAUTION: The e-mail below is from an external source. Please exercise cau= tion before opening attachments, clicking links, or following guidance.** Merged: https://nam12.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2= Fgithub.com%2Ftianocore%2Fedk2%2Fcommit%2Fb240eab03530f063ef5438497d70a731b= 19a201e&data=3D05%7C01%7Csanthoshkumarv%40ami.com%7Cc6667944c43c41e3132b08d= bb0ade19d%7C27e97857e15f486cb58e86c2b3040f93%7C1%7C0%7C638298033105005252%7= CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi= LCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3DbMifbtnsYEA6xpgZVDenmtSoa7%2F5%2BC4w= ETTwnGvxJFk%3D&reserved=3D0 > -----Original Message----- > From: Kinney, Michael D > > Sent: Friday, September 8, 2023 10:07 AM > To: Kasbekar, Saloni >; Li, Yi1 > >; devel@edk2.groups.io > Cc: Otcheretianski, Andrei >; Clark- > williams, Zachary >; Luo, Heng > >; Kinney, Michael D > > Subject: RE: [PATCH] NetworkPkg: Increase HTTP buffer size and enable TCP > window scaling > > Acked-by: Michael D Kinney > > > > -----Original Message----- > > From: Kasbekar, Saloni > > > Sent: Wednesday, September 6, 2023 3:41 PM > > To: Li, Yi1 >; devel@edk2.gro= ups.io; Kinney, Michael D > > > > > Cc: Otcheretianski, Andrei >; Clark- > williams, > > Zachary >; Luo, Heng > > > > Subject: RE: [PATCH] NetworkPkg: Increase HTTP buffer size and enable T= CP > > window scaling > > > > Mike, > > > > Could you help us merge the patch? > > > > Thanks, > > Saloni > > > > -----Original Message----- > > From: Li, Yi1 > > > Sent: Wednesday, September 6, 2023 1:52 AM > > To: Kasbekar, Saloni >; devel@edk2.groups.io > > Cc: Otcheretianski, Andrei >; Clark- > williams, > > Zachary >; Luo, Heng > > > > Subject: RE: [PATCH] NetworkPkg: Increase HTTP buffer size and enable T= CP > > window scaling > > > > Hi Saloni and Zachary, can you help to merge this patch? It got > reviewed-by > > but not check-in, Thanks! > > > > -----Original Message----- > > From: Kasbekar, Saloni > > > Sent: Tuesday, July 25, 2023 12:18 PM > > To: Li, Yi1 >; devel@edk2.gro= ups.io > > Cc: Otcheretianski, Andrei >; Clark- > williams, > > Zachary > > > Subject: RE: [PATCH] NetworkPkg: Increase HTTP buffer size and enable T= CP > > window scaling > > > > Reviewed-by: Saloni Kasbekar > > > > > -----Original Message----- > > From: Li, Yi1 > > > Sent: Thursday, July 20, 2023 10:18 PM > > To: devel@edk2.groups.io > > Cc: Li, Yi1 >; Otcheretianski= , Andrei > > >; Kasbekar, Saloni > > >; Clark-wi= lliams, Zachary > williams@intel.com> > > Subject: [PATCH] NetworkPkg: Increase HTTP buffer size and enable TCP > window > > scaling > > > > REF: https://nam12.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%= 2Fbugzilla.tianocore.org%2Fshow_bug.cgi%3Fid%3D4505&data=3D05%7C01%7Csantho= shkumarv%40ami.com%7Cc6667944c43c41e3132b08dbb0ade19d%7C27e97857e15f486cb58= e86c2b3040f93%7C1%7C0%7C638298033105005252%7CUnknown%7CTWFpbGZsb3d8eyJWIjoi= MC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&= sdata=3DxMzBMuvcaWmfXYMR3YrTDvGo6x1aCC%2F9WMDUHbeGvW4%3D&reserved=3D0 > > This gives something like ~3 fold throughput boost. > > > > Signed-off-by: Andrei Otcheretianski > > > Cc: Saloni Kasbekar > > > Cc: Zachary Clark-williams > > > --- > > NetworkPkg/HttpBootDxe/HttpBootClient.h | 2 +- > > NetworkPkg/HttpDxe/HttpProto.c | 48 +++++++++++++------------ > > NetworkPkg/HttpDxe/HttpProto.h | 2 +- > > 3 files changed, 27 insertions(+), 25 deletions(-) > > > > diff --git a/NetworkPkg/HttpBootDxe/HttpBootClient.h > > b/NetworkPkg/HttpBootDxe/HttpBootClient.h > > index 2fba713679..86a28bc91a 100644 > > --- a/NetworkPkg/HttpBootDxe/HttpBootClient.h > > +++ b/NetworkPkg/HttpBootDxe/HttpBootClient.h > > @@ -10,7 +10,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #ifndef > > __EFI_HTTP_BOOT_HTTP_H__ #define __EFI_HTTP_BOOT_HTTP_H__ > > > > -#define HTTP_BOOT_BLOCK_SIZE 1500 > > +#define HTTP_BOOT_BLOCK_SIZE 32000 > > #define HTTP_USER_AGENT_EFI_HTTP_BOOT "UefiHttpBoot/1.0" > > #define HTTP_BOOT_AUTHENTICATION_INFO_MAX_LEN 255 > > > > diff --git a/NetworkPkg/HttpDxe/HttpProto.c > b/NetworkPkg/HttpDxe/HttpProto.c > > index 33ae622c3f..7dfb82dd2e 100644 > > --- a/NetworkPkg/HttpDxe/HttpProto.c > > +++ b/NetworkPkg/HttpDxe/HttpProto.c > > @@ -1073,18 +1073,19 @@ HttpConfigureTcp4 ( > > Tcp4AP->ActiveFlag =3D TRUE; > > IP4_COPY_ADDRESS (&Tcp4AP->RemoteAddress, &HttpInstance->RemoteAddr)= ; > > > > - Tcp4Option =3D Tcp4CfgData->ControlOption; > > - Tcp4Option->ReceiveBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; > > - Tcp4Option->SendBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; > > - Tcp4Option->MaxSynBackLog =3D HTTP_MAX_SYN_BACK_LOG; > > - Tcp4Option->ConnectionTimeout =3D HTTP_CONNECTION_TIMEOUT; > > - Tcp4Option->DataRetries =3D HTTP_DATA_RETRIES; > > - Tcp4Option->FinTimeout =3D HTTP_FIN_TIMEOUT; > > - Tcp4Option->KeepAliveProbes =3D HTTP_KEEP_ALIVE_PROBES; > > - Tcp4Option->KeepAliveTime =3D HTTP_KEEP_ALIVE_TIME; > > - Tcp4Option->KeepAliveInterval =3D HTTP_KEEP_ALIVE_INTERVAL; > > - Tcp4Option->EnableNagle =3D TRUE; > > - Tcp4CfgData->ControlOption =3D Tcp4Option; > > + Tcp4Option =3D Tcp4CfgData->ControlOption; > > + Tcp4Option->ReceiveBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; > > + Tcp4Option->SendBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; > > + Tcp4Option->MaxSynBackLog =3D HTTP_MAX_SYN_BACK_LOG; > > + Tcp4Option->ConnectionTimeout =3D HTTP_CONNECTION_TIMEOUT; > > + Tcp4Option->DataRetries =3D HTTP_DATA_RETRIES; > > + Tcp4Option->FinTimeout =3D HTTP_FIN_TIMEOUT; > > + Tcp4Option->KeepAliveProbes =3D HTTP_KEEP_ALIVE_PROBES; > > + Tcp4Option->KeepAliveTime =3D HTTP_KEEP_ALIVE_TIME; > > + Tcp4Option->KeepAliveInterval =3D HTTP_KEEP_ALIVE_INTERVAL; > > + Tcp4Option->EnableNagle =3D TRUE; > > + Tcp4Option->EnableWindowScaling =3D TRUE; > > + Tcp4CfgData->ControlOption =3D Tcp4Option; > > > > if ((HttpInstance->State =3D=3D HTTP_STATE_TCP_CONNECTED) || > > (HttpInstance->State =3D=3D HTTP_STATE_TCP_CLOSED)) @@ -1156,17 > +1157,18 > > @@ HttpConfigureTcp6 ( > > IP6_COPY_ADDRESS (&Tcp6Ap->StationAddress, &HttpInstance- > > >Ipv6Node.LocalAddress); > > IP6_COPY_ADDRESS (&Tcp6Ap->RemoteAddress, &HttpInstance- > >RemoteIpv6Addr); > > > > - Tcp6Option =3D Tcp6CfgData->ControlOption; > > - Tcp6Option->ReceiveBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; > > - Tcp6Option->SendBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; > > - Tcp6Option->MaxSynBackLog =3D HTTP_MAX_SYN_BACK_LOG; > > - Tcp6Option->ConnectionTimeout =3D HTTP_CONNECTION_TIMEOUT; > > - Tcp6Option->DataRetries =3D HTTP_DATA_RETRIES; > > - Tcp6Option->FinTimeout =3D HTTP_FIN_TIMEOUT; > > - Tcp6Option->KeepAliveProbes =3D HTTP_KEEP_ALIVE_PROBES; > > - Tcp6Option->KeepAliveTime =3D HTTP_KEEP_ALIVE_TIME; > > - Tcp6Option->KeepAliveInterval =3D HTTP_KEEP_ALIVE_INTERVAL; > > - Tcp6Option->EnableNagle =3D TRUE; > > + Tcp6Option =3D Tcp6CfgData->ControlOption; > > + Tcp6Option->ReceiveBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; > > + Tcp6Option->SendBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; > > + Tcp6Option->MaxSynBackLog =3D HTTP_MAX_SYN_BACK_LOG; > > + Tcp6Option->ConnectionTimeout =3D HTTP_CONNECTION_TIMEOUT; > > + Tcp6Option->DataRetries =3D HTTP_DATA_RETRIES; > > + Tcp6Option->FinTimeout =3D HTTP_FIN_TIMEOUT; > > + Tcp6Option->KeepAliveProbes =3D HTTP_KEEP_ALIVE_PROBES; > > + Tcp6Option->KeepAliveTime =3D HTTP_KEEP_ALIVE_TIME; > > + Tcp6Option->KeepAliveInterval =3D HTTP_KEEP_ALIVE_INTERVAL; > > + Tcp6Option->EnableNagle =3D TRUE; > > + Tcp6Option->EnableWindowScaling =3D TRUE; > > > > if ((HttpInstance->State =3D=3D HTTP_STATE_TCP_CONNECTED) || > > (HttpInstance->State =3D=3D HTTP_STATE_TCP_CLOSED)) diff --git > > a/NetworkPkg/HttpDxe/HttpProto.h b/NetworkPkg/HttpDxe/HttpProto.h index > > 620eb39158..012f1f4b46 100644 > > --- a/NetworkPkg/HttpDxe/HttpProto.h > > +++ b/NetworkPkg/HttpDxe/HttpProto.h > > @@ -37,7 +37,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent // > > #define HTTP_TOS_DEAULT 8 > > #define HTTP_TTL_DEAULT 255 > > -#define HTTP_BUFFER_SIZE_DEAULT 65535 > > +#define HTTP_BUFFER_SIZE_DEAULT 0x200000 > > #define HTTP_MAX_SYN_BACK_LOG 5 > > #define HTTP_CONNECTION_TIMEOUT 60 > > #define HTTP_DATA_RETRIES 12 > > -- > > 2.31.1.windows.1 -The information contained in this message may be confidential and propriet= ary to American Megatrends (AMI). This communication is intended to be read= only by the individual or entity to whom it is addressed or by their desig= nee. If the reader of this message is not the intended recipient, you are o= n notice that any distribution of this message, in any form, is strictly pr= ohibited. Please promptly notify the sender by reply e-mail or by telephone= at 770-246-8600, and then delete or destroy all copies of the transmission= . -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120836): https://edk2.groups.io/g/devel/message/120836 Mute This Topic: https://groups.io/mt/100271527/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --_000_CO1PR11MB49293A51411EC741D6C38FDFD22E2CO1PR11MB4929namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

This is an interest= ing observation.

 

Optimizing the perf= ormance of various protocols and block sizes and windows can be complex.

 

You might try using= tools like WireShark to compare the behavior of different configurations w= hich values make the performance better and worse and if events like timeou= t or retries are being introduced.

 

If there are settin= gs that need to be tuned for different network environments, then moving so= me of these from #defines to PCDs or setup options may be valuable.

 

Mike

 

From: Santhosh Kumar V <santhoshk= umarv@ami.com>
Sent: Monday, November 25, 2024 2:04 AM
To: Kasbekar, Saloni <saloni.kasbekar@intel.com>; Li, Yi1 <= yi1.li@intel.com>; devel@edk2.groups.io; Kinney, Michael D <michael.d= .kinney@intel.com>
Cc: Otcheretianski, Andrei <andrei.otcheretianski@intel.com>; = Clark-williams, Zachary <zachary.clark-williams@intel.com>; Luo, Heng= <heng.luo@intel.com>
Subject: Re: [EXTERNAL] Re: [edk2-devel] [PATCH] NetworkPkg: Increas= e HTTP buffer size and enable TCP window scaling

 

HI All,=

&n= bsp;

We are&= nbsp; facing issue of httpboot takes more time during large iso file downlo= ading.

&n= bsp;

&n= bsp;

&n= bsp;

The iss= ue is reported on the customer side. The HTTP/HTTPs takes long time to down= load the RHEL ISO image from HTTP/HTTPs servers.

Tried w= ith different cards – Intel x810/x710/MLOM, Mellanox and Broad com ad= apters. But this issue is always reproducible with all the adapters.

The iss= ue is caused due to the changes made in HttpProto.h, HttpProto.c , HttpBoot= Client.c file.  The changes are given below,

&n= bsp;

HttpBoo= tClient.h

&n= bsp;

  =            -#define HTTP_BOOT_BLOCK_SIZE &nbs= p;                 1500<= /span>

  =            +#define HTTP_BOOT_BLOCK_SIZE &nbs= p;                 32000=

&n= bsp;

HttpPro= to.c

&n= bsp;

  =         +  Tcp4Option->EnableWindowScaling =3D = TRUE;

  =         + Tcp6Option->EnableWindowScaling =3D TRUE;<= o:p>

&n= bsp;

HttpPro= to.h

&n= bsp;

  =          -#define HTTP_BUFFER_SIZE_DEAULT   6= 5535

  =          +#define HTTP_BUFFER_SIZE_DEAULT   0= x200000

&n= bsp;

After r= everting the changes, the issue is not reproduced.

&n= bsp;

Note: A= bove changes are from EDK2 TianoCore Bugzilla – Bug 4505    = ;    

Link: &= nbsp;4505 – NetworkPkg: HTTP protocol throughput too small=

&n= bsp;

From ou= r side we tried to reproduce the issue. With change HTTP_BOOT_BLOCK_SIZE as= 32000 and HTTP_BUFFER_SIZE_DEAULT as 0x200000. It took 23minutes 40seconds= to download the RHEL ISO (11.5 GB) through private network from local HTTP server. With reverted changes HTTP= _BOOT_BLOCK_SIZE as1500 and HTTP_BUFFER_SIZE_DEAULT as 65535. It took 17 mi= nutes 15 seconds to download the RHEL ISO (11.5 GB) through private network= from local HTTP server.

&n= bsp;

Can you= please provide your suggestions on this behaviour?

&n= bsp;

Thanks,=

santhos= h

&n= bsp;


From: <= a href=3D"mailto:devel@edk2.groups.io">devel@edk2.groups.io <devel@edk2.groups.io> on behalf of Michael D Kinney via groups.io <michael.d.kinney=3Dintel.com@groups.io&= gt;
Sent: Saturday, September 9, 2023 02:25
To: Kasbekar, Saloni <saloni.kasbekar@intel.com>; Li, Yi1 <yi1.li@intel.com>; devel@edk2.groups.io <devel@edk2.groups.io>
Cc: Otcheretianski, Andrei <andrei.otcheretianski@intel.com>; Clark-williams,= Zachary <zachary.cl= ark-williams@intel.com>; Luo, Heng <heng.luo@intel.com>; Kinney, Michael D <michae= l.d.kinney@intel.com>
Subject: [EXTERNAL] Re: [edk2-devel] [PATCH] NetworkPkg: Increa= se HTTP buffer size and enable TCP window scaling

 


**CAUTION: The e-mail below is from an external source. Please exercise cau= tion before opening attachments, clicking links, or following guidance.**
Merged: https://nam12.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fgithub.= com%2Ftianocore%2Fedk2%2Fcommit%2Fb240eab03530f063ef5438497d70a731b19a201e&= amp;data=3D05%7C01%7Csanthoshkumarv%40ami.com%7Cc6667944c43c41e3132b08dbb0a= de19d%7C27e97857e15f486cb58e86c2b3040f93%7C1%7C0%7C638298033105005252%7CUnk= nown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX= VCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3DbMifbtnsYEA6xpgZVDenmtSoa7%2F5%2BC4w= ETTwnGvxJFk%3D&reserved=3D0


> -----Original Message-----
> From: Kinney, Michael D <michael.d.kinney@intel.com>
> Sent: Friday, September 8, 2023 10:07 AM
> To: Kasbekar, Saloni <= saloni.kasbekar@intel.com>; Li, Yi1
> <yi1.li@intel.com>; devel@edk2.groups.io
> Cc: Otcheretianski, Andrei <andrei.otcheretianski@intel.com>; Clark-
> williams, Zachary <zachary.clark-williams@intel.com>; Luo, Heng
> <heng.luo@intel.com>; = Kinney, Michael D <michael= .d.kinney@intel.com>
> Subject: RE: [PATCH] NetworkPkg: Increase HTTP buffer size and enable = TCP
> window scaling
>
> Acked-by: Michael D Kinney <michael.d.kinney@intel.com>
>
> > -----Original Message-----
> > From: Kasbekar, Saloni <saloni.kasbekar@intel.com>
> > Sent: Wednesday, September 6, 2023 3:41 PM
> > To: Li, Yi1 <yi1.li@intel.= com>; devel@edk2.groups.io; Kinney, Michael D
> > <michael.d.kinne= y@intel.com>
> > Cc: Otcheretianski, Andrei <andrei.otcheretianski@intel.com>; Clark-
> williams,
> > Zachary <z= achary.clark-williams@intel.com>; Luo, Heng
> <heng.luo@intel.com> > > Subject: RE: [PATCH] NetworkPkg: Increase HTTP buffer size and en= able TCP
> > window scaling
> >
> > Mike,
> >
> > Could you help us merge the patch?
> >
> > Thanks,
> > Saloni
> >
> > -----Original Message-----
> > From: Li, Yi1 <yi1.li@inte= l.com>
> > Sent: Wednesday, September 6, 2023 1:52 AM
> > To: Kasbekar, Saloni <saloni.kasbekar@intel.com>; devel@edk2.groups.io
> > Cc: Otcheretianski, Andrei <andrei.otcheretianski@intel.com>; Clark-
> williams,
> > Zachary <z= achary.clark-williams@intel.com>; Luo, Heng
> <heng.luo@intel.com> > > Subject: RE: [PATCH] NetworkPkg: Increase HTTP buffer size and en= able TCP
> > window scaling
> >
> > Hi Saloni and Zachary, can you help to merge this patch?  It= got
> reviewed-by
> > but not check-in, Thanks!
> >
> > -----Original Message-----
> > From: Kasbekar, Saloni <saloni.kasbekar@intel.com>
> > Sent: Tuesday, July 25, 2023 12:18 PM
> > To: Li, Yi1 <yi1.li@intel.= com>; devel@edk2.groups.io
> > Cc: Otcheretianski, Andrei <andrei.otcheretianski@intel.com>; Clark-
> williams,
> > Zachary <z= achary.clark-williams@intel.com>
> > Subject: RE: [PATCH] NetworkPkg: Increase HTTP buffer size and en= able TCP
> > window scaling
> >
> > Reviewed-by: Saloni Kasbekar <saloni.kasbekar@intel.com>
> >
> > -----Original Message-----
> > From: Li, Yi1 <yi1.li@inte= l.com>
> > Sent: Thursday, July 20, 2023 10:18 PM
> > To: devel@edk2.groups.io<= /a>
> > Cc: Li, Yi1 <
yi1.li@intel.= com>; Otcheretianski, Andrei
> > <andrei.otc= heretianski@intel.com>; Kasbekar, Saloni
> > <saloni.kasbekar@= intel.com>; Clark-williams, Zachary <zachary.clark-
> > williams@intel.com><= br> > > Subject: [PATCH] NetworkPkg: Increase HTTP buffer size and enable= TCP
> window
> > scaling
> >
> > REF: https://nam12.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fb= ugzilla.tianocore.org%2Fshow_bug.cgi%3Fid%3D4505&data=3D05%7C01%7Csanth= oshkumarv%40ami.com%7Cc6667944c43c41e3132b08dbb0ade19d%7C27e97857e15f486cb5= 8e86c2b3040f93%7C1%7C0%7C638298033105005252%7CUnknown%7CTWFpbGZsb3d8eyJWIjo= iMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C= &sdata=3DxMzBMuvcaWmfXYMR3YrTDvGo6x1aCC%2F9WMDUHbeGvW4%3D&reserved= =3D0
> > This gives something like ~3 fold throughput boost.
> >
> > Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
> > Cc: Saloni Kasbekar <saloni.kasbekar@intel.com>
> > Cc: Zachary Clark-williams <zachary.clark-williams@intel.com>
> > ---
> >  NetworkPkg/HttpBootDxe/HttpBootClient.h |  2 +-
> >  NetworkPkg/HttpDxe/HttpProto.c     = ;     | 48 +++++++++++++------------
> >  NetworkPkg/HttpDxe/HttpProto.h     = ;     |  2 +-
> >  3 files changed, 27 insertions(+), 25 deletions(-)
> >
> > diff --git a/NetworkPkg/HttpBootDxe/HttpBootClient.h
> > b/NetworkPkg/HttpBootDxe/HttpBootClient.h
> > index 2fba713679..86a28bc91a 100644
> > --- a/NetworkPkg/HttpBootDxe/HttpBootClient.h
> > +++ b/NetworkPkg/HttpBootDxe/HttpBootClient.h
> > @@ -10,7 +10,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent&nb= sp; #ifndef
> > __EFI_HTTP_BOOT_HTTP_H__  #define __EFI_HTTP_BOOT_HTTP_H__ > >
> > -#define HTTP_BOOT_BLOCK_SIZE      =              15= 00
> > +#define HTTP_BOOT_BLOCK_SIZE      =              32= 000
> >  #define HTTP_USER_AGENT_EFI_HTTP_BOOT   &nbs= p;      "UefiHttpBoot/1.0"
> >  #define HTTP_BOOT_AUTHENTICATION_INFO_MAX_LEN  255
> >
> > diff --git a/NetworkPkg/HttpDxe/HttpProto.c
> b/NetworkPkg/HttpDxe/HttpProto.c
> > index 33ae622c3f..7dfb82dd2e 100644
> > --- a/NetworkPkg/HttpDxe/HttpProto.c
> > +++ b/NetworkPkg/HttpDxe/HttpProto.c
> > @@ -1073,18 +1073,19 @@ HttpConfigureTcp4 (
> >    Tcp4AP->ActiveFlag  =3D TRUE;
> >    IP4_COPY_ADDRESS (&Tcp4AP->RemoteAddress= , &HttpInstance->RemoteAddr);
> >
> > -  Tcp4Option        = ;            =3D Tcp= 4CfgData->ControlOption;
> > -  Tcp4Option->ReceiveBufferSize =3D HTTP_BUFFER_SIZE_DEA= ULT;
> > -  Tcp4Option->SendBufferSize    =3D HTTP_= BUFFER_SIZE_DEAULT;
> > -  Tcp4Option->MaxSynBackLog     =3D = HTTP_MAX_SYN_BACK_LOG;
> > -  Tcp4Option->ConnectionTimeout =3D HTTP_CONNECTION_TIME= OUT;
> > -  Tcp4Option->DataRetries     &= nbsp; =3D HTTP_DATA_RETRIES;
> > -  Tcp4Option->FinTimeout     &n= bsp;  =3D HTTP_FIN_TIMEOUT;
> > -  Tcp4Option->KeepAliveProbes   =3D HTTP_KEEP_= ALIVE_PROBES;
> > -  Tcp4Option->KeepAliveTime     =3D = HTTP_KEEP_ALIVE_TIME;
> > -  Tcp4Option->KeepAliveInterval =3D HTTP_KEEP_ALIVE_INTE= RVAL;
> > -  Tcp4Option->EnableNagle     &= nbsp; =3D TRUE;
> > -  Tcp4CfgData->ControlOption    =3D Tcp4O= ption;
> > +  Tcp4Option        = ;            &n= bsp; =3D Tcp4CfgData->ControlOption;
> > +  Tcp4Option->ReceiveBufferSize   =3D HTTP_BUF= FER_SIZE_DEAULT;
> > +  Tcp4Option->SendBufferSize    &nbs= p; =3D HTTP_BUFFER_SIZE_DEAULT;
> > +  Tcp4Option->MaxSynBackLog     = ;  =3D HTTP_MAX_SYN_BACK_LOG;
> > +  Tcp4Option->ConnectionTimeout   =3D HTTP_CON= NECTION_TIMEOUT;
> > +  Tcp4Option->DataRetries     &= nbsp;   =3D HTTP_DATA_RETRIES;
> > +  Tcp4Option->FinTimeout     &n= bsp;    =3D HTTP_FIN_TIMEOUT;
> > +  Tcp4Option->KeepAliveProbes     = =3D HTTP_KEEP_ALIVE_PROBES;
> > +  Tcp4Option->KeepAliveTime     = ;  =3D HTTP_KEEP_ALIVE_TIME;
> > +  Tcp4Option->KeepAliveInterval   =3D HTTP_KEE= P_ALIVE_INTERVAL;
> > +  Tcp4Option->EnableNagle     &= nbsp;   =3D TRUE;
> > +  Tcp4Option->EnableWindowScaling =3D TRUE;
> > +  Tcp4CfgData->ControlOption    &nbs= p; =3D Tcp4Option;
> >
> >    if ((HttpInstance->State =3D=3D HTTP_STATE_T= CP_CONNECTED) ||
> >        (HttpInstance->State= =3D=3D HTTP_STATE_TCP_CLOSED)) @@ -1156,17
> +1157,18
> > @@ HttpConfigureTcp6 (
> >    IP6_COPY_ADDRESS (&Tcp6Ap->StationAddres= s, &HttpInstance-
> > >Ipv6Node.LocalAddress);
> >    IP6_COPY_ADDRESS (&Tcp6Ap->RemoteAddress= , &HttpInstance-
> >RemoteIpv6Addr);
> >
> > -  Tcp6Option        = ;            =3D Tcp= 6CfgData->ControlOption;
> > -  Tcp6Option->ReceiveBufferSize =3D HTTP_BUFFER_SIZE_DEA= ULT;
> > -  Tcp6Option->SendBufferSize    =3D HTTP_= BUFFER_SIZE_DEAULT;
> > -  Tcp6Option->MaxSynBackLog     =3D = HTTP_MAX_SYN_BACK_LOG;
> > -  Tcp6Option->ConnectionTimeout =3D HTTP_CONNECTION_TIME= OUT;
> > -  Tcp6Option->DataRetries     &= nbsp; =3D HTTP_DATA_RETRIES;
> > -  Tcp6Option->FinTimeout     &n= bsp;  =3D HTTP_FIN_TIMEOUT;
> > -  Tcp6Option->KeepAliveProbes   =3D HTTP_KEEP_= ALIVE_PROBES;
> > -  Tcp6Option->KeepAliveTime     =3D = HTTP_KEEP_ALIVE_TIME;
> > -  Tcp6Option->KeepAliveInterval =3D HTTP_KEEP_ALIVE_INTE= RVAL;
> > -  Tcp6Option->EnableNagle     &= nbsp; =3D TRUE;
> > +  Tcp6Option        = ;            &n= bsp; =3D Tcp6CfgData->ControlOption;
> > +  Tcp6Option->ReceiveBufferSize   =3D HTTP_BUF= FER_SIZE_DEAULT;
> > +  Tcp6Option->SendBufferSize    &nbs= p; =3D HTTP_BUFFER_SIZE_DEAULT;
> > +  Tcp6Option->MaxSynBackLog     = ;  =3D HTTP_MAX_SYN_BACK_LOG;
> > +  Tcp6Option->ConnectionTimeout   =3D HTTP_CON= NECTION_TIMEOUT;
> > +  Tcp6Option->DataRetries     &= nbsp;   =3D HTTP_DATA_RETRIES;
> > +  Tcp6Option->FinTimeout     &n= bsp;    =3D HTTP_FIN_TIMEOUT;
> > +  Tcp6Option->KeepAliveProbes     = =3D HTTP_KEEP_ALIVE_PROBES;
> > +  Tcp6Option->KeepAliveTime     = ;  =3D HTTP_KEEP_ALIVE_TIME;
> > +  Tcp6Option->KeepAliveInterval   =3D HTTP_KEE= P_ALIVE_INTERVAL;
> > +  Tcp6Option->EnableNagle     &= nbsp;   =3D TRUE;
> > +  Tcp6Option->EnableWindowScaling =3D TRUE;
> >
> >    if ((HttpInstance->State =3D=3D HTTP_STATE_T= CP_CONNECTED) ||
> >        (HttpInstance->State= =3D=3D HTTP_STATE_TCP_CLOSED)) diff --git
> > a/NetworkPkg/HttpDxe/HttpProto.h b/NetworkPkg/HttpDxe/HttpProto.h= index
> > 620eb39158..012f1f4b46 100644
> > --- a/NetworkPkg/HttpDxe/HttpProto.h
> > +++ b/NetworkPkg/HttpDxe/HttpProto.h
> > @@ -37,7 +37,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent&nb= sp; //
> >  #define HTTP_TOS_DEAULT      =      8
> >  #define HTTP_TTL_DEAULT      =      255
> > -#define HTTP_BUFFER_SIZE_DEAULT   65535
> > +#define HTTP_BUFFER_SIZE_DEAULT   0x200000
> >  #define HTTP_MAX_SYN_BACK_LOG     5
> >  #define HTTP_CONNECTION_TIMEOUT   60
> >  #define HTTP_DATA_RETRIES     &nbs= p;   12
> > --
> > 2.31.1.windows.1





-The information contained in this message may be co= nfidential and proprietary to American Megatrends (AMI). This communication= is intended to be read only by the individual or entity to whom it is addr= essed or by their designee. If the reader of this message is not the intended recipient, you are on notice th= at any distribution of this message, in any form, is strictly prohibited. P= lease promptly notify the sender by reply e-mail or by telephone at 770-246= -8600, and then delete or destroy all copies of the transmission.

_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#120836) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--_000_CO1PR11MB49293A51411EC741D6C38FDFD22E2CO1PR11MB4929namp_--